CSS record work_merged
CSS record work_merged
083
PRACTICAL RECORD WORK
2023-2024
Submitted By:
Aaron Sudhir
CBSE
PRACTICAL RECORD
2023 - 2024
Grade……………11 A…………………………………..
Dubai
1. …………………………………….
…………/………./20………. 2. …………………………………….
External Examiners
INDEX
Page Sign. Of
Sl.no. Date Name of the experiments
no. teacher
29/05/2023
4 To find simple interest
19/06/2023
5 To convert distance of kilometer to
meter
26/06/2023
6 To convert Celsius to Fahrenheit
04/09/2023
7 To find the smallest of two numbers
07/09/2023 To check whether the number is even
8
or not
12/09/2023
9 To check whether the year is a leap
year or not
15/09/2023
10 To find he biggest of three numbers
19/09/2023
11 To check whether the number is a
multiple of 5
19/09/2023
12 To check whether the angle is obtuse
or right angle
22/09/2023
13 To print the 12 months of the year
22/09/2023 To check whether a character is a
14
vowel or not
26/09/2023
15 To print the details of student
26/09/2023
16 To write a menu driven program
29/09/2023 Write a program to determine the
17 nature and root of the quadratic
equation
29/09/2023
18 To print the fisrt N narutal numbers
03/10/2023 To print the first N even numbers In
19
reverse order
03/10/2023 To print the sum of N natural
20
numbers
06/10/2023 To check whether the number is
21
Armstrong or not
06/10/2023 To check whether the number is
22
palindrome or not
INDEX
Page Sign. Of
Sl.no. Date Name of the experiments
no. teacher
23 10/10/2023 To print first N prime number
24 10/10/2023 To print N Fibonacci sequence
13/10/2023 To print the multiplication table of a
25
given number
13/10/2023
26 To convert binary into decimal
17/10/2023 To find the factorial of a given
27
number
17/10/2023 To find the factorial of a given
28
number
20/10/2023
29 To find the HCF of two numbers
20/10/2023
30 To print the following pattern(a)
To print the following pattern(b)
To print the following pattern(c)
To print the following pattern(d)
Output :
Python Program-2
Output :
Python Program-3
Output :
Python Program-4
Output :
Python Program-5
Output :
Python Program-6
Output :
Python Program-7
Output :
Python Program-8
Output:
Python Program-9
Output:
Python Program-10
Output:
Python Program-11
Output:
Python Program-12
Output:
Python Program-13
Output:
Python Program-14
Output:
Python Program-15
Output:
Program – 16
Aim: Write a program to determine the nature and the root of quadratic equation
Source Code:
print("~~~~To write a program to determine the nature
and he root of the quadratic equation~~~~")
from math import sqrt
print("The basic form of a quadratic equation is
ax^2+bx+c=0")
a=int(input("Enter the value for the first variable:"))
b=int(input("Enter the value for the second
variable:"))
c=int(input("Enter the value for the third variable:"))
d=(b**2)-(4*a*c)
if d>0:
print("The nature of the roots is real and
unequal")
num_roots=2
x1=(((-b)+sqrt(d)/2*a))
x2=(((-b)-sqrt(d)/2*a))
print("There are two roots :%f and %f" % (x1,x2))
elif d==0:
print("The roots are real and equal")
num_roots=1
x=(-b)/2*a
print("There is only one root:",x)
else:
num_roots=0
print("No roots and the discriminant is >0")
Output:
Program – 18
for i in bn:
i=int(i)
dn=dn+(i*m)
m=m*2
print ("The deciaml value for the follwing is =",dn)
Output:
Program – 27:
while i <= n:
j=1
while j <= n-i+1:
print(j,end =' ')
j=j+1
print()
i=i+1
Output:
Program-30(f)
for i in range(1,n+1):
for j in range(1, i+1):
print(j%2, end="")
print()
Output:
Program -30(g)