Professional Documents
Culture Documents
Cs Project File
Cs Project File
COMPUTER SCIENCE
PROJECT FILE
XII-A
Index
No. Name Of Practical Date Pg no. Sign
Write a python to take input for two numbers and print their
4. the result?
Write a python script to take input for name and age of a person
Write a python script to take input for a number and print its
6. table.
Write a python script to take take input for a number and print
7. its factorial.
9. Recursion?
11. list.
14. not.
qube.
CODE:
OUTPUT:
PRACTICAL -1
PRACTICAL -2
Q- Write a python script to take input for 2 numbers calculate and print their sum,
product and difference?
CODE:
OUTPUT:
PRACTICAL -3
Q- Write a python script to take input for three numbers, check and print the largest
number.
CODE:
OUTPUT:
PRACTICAL -4
Q- Write a python script to take input for 2 numbers and an operator (+ , – , * , / ).
CODE:
OUTPUT:
PRACTICAL -5
Q- Write a python script to take input for name and age of a person check and print
CODE:
OUTPUT:
.
PRACTICAL -6
Q- Write a python script to take input for a number and print its table.
CODE:
OUTPUT:
PRACTICAL -7
Q- Write a python script to take take input for a number and print its factorial.
CODE:
OUTPUT:
PRACTICAL -8
Q- Write a python script to take input for a number check if the entered number is
Armstrong or not.
CODE:
OUTPUT:
PRACTICAL -9
CODE:
OUTPUT:
PRACTICAL -10
Q- Write a python program to maintain book details like book code, book title and
price using stacks data structures? (implement push(), pop() and traverse() functions).
CODE:
OUTPUT:
PRACTICAL -11
Q-Write a python program to find the sum of all the elements in the list.
CODE:
OUTPUT:
PRACTICAL -12
CODE:
OUTPUT:
PRACTICAL -13
CODE:
OUTPUT:
PRACTICAL -14
CODE:
OUTPUT:
PRACTICAL -15
Q-Write a code in python which divide all those list elements by 7 which are divisible
CODE:
OUTPUT:
PRACTICAL -16
CODE:
OUTPUT:
PRACTICAL -17
**
***
****
CODE:
OUTPUT:
PRACTICAL -18
Q-Program to add the odd numbers up to(and including) a given value N and print the
result.
CODE:
OUTPUT:
PRACTICAL -19
Q- Compute the greatest common divisor and the least common multiple of two
integers.
CODE:
OUTPUT:
PRACTICAL -20
CODE:
OUTPUT:
PRACTICAL -21
Q- Test if a number is equal to the sum of cubes of it’s digits . find the smallest and
CODE:
OUTPUT: