0% found this document useful (0 votes)
40 views24 pages

Computer Practical File (CLASS 11)

PRACTICAL FILE OF CLASS 11 SCI

Uploaded by

bamalvansh727
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
40 views24 pages

Computer Practical File (CLASS 11)

PRACTICAL FILE OF CLASS 11 SCI

Uploaded by

bamalvansh727
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 24

Qwertyuiopasdfghjklzxcvbnmqw

ertyuiopasdfghjMONITORzxcvbn
mqwertyuiopasdfghjklzxcvbnmq
wertyuiopasdfghjklzxcvbnmqwe
COMPUTER
rtyuiopasdfghjklzxcvbnmqwerty
PRACTICAL FILE
uiopasdfghjklzxcvbnmqwertyuio
PYTHON
2024-2025
pasdfghjklzxcvbnmqwertyuiopas
dfghjklzxcvbnmwertyuiopasdfgh
jklzxcvbnmqwertyuioANACONDA
hjklzxcvbnmqwertyuiopasdfghjk
lzxcvbnmOPERATORqwertyuiopa
sdfghjklzxcvbnmqwertyuiopasdf
ghjklzxcvbnmqwertyuiopasdfghj
klzxcvbWINDOWSnmqwertyuiop
asdfghjklzxcvbnmqwertyuiopasd
fghjklzxcvbnmqwertyuiopasdfgh
INTRODUCTION

 NAME – VANSH BAMAL

 CLASS – XI-SCIENCE-B

 ROLL NO. – 38

 SUBJECT – COMPUTER -SCI

 SESSION – 2024-25
PYTHON PROGRAMS

Q1. Write a program that inputs a student’s


marks in three subjects (out of 100) and prints
the percentage marks.
ANS.
INPUT –

OUTPUT-
Q2. Write a program that accepts weight in Kg
and height in metres and calculate the BMI.
ANS.
INPUT-

OUTPUT-
Q3. Write a program that reads the number n
and print the value of n 2 , n 3 , n 4 .
ANS.
INPUT-

OUTPUT-
Q4. Write a program to obtain x, y, z and
calculate 4x4 + 3y3 + 9z + 6.
ANS.
INPUT-

OUTPUT-
Q5. Write a Program to enter a number and
check if it is a prime number or not.
ANS.
INPUT-

OUTPUT-
Q6. Write a program to accept radius and
height from the user and calculate Volume of a
cone.
ANS.
INPUT-

OUTPUT-
Q7. Write a program to print sum of n natural
numbers.
ANS.
INPUT-

OUTPUT-
Q8. Write a python program to print factorial
of a number.
ANS.
INPUT-

OUTPUT-
Q9. Write a python program to print Fibonacci
series of first 20 elements.
ANS.
INPUT-

OUTPUT-
Q10. Write a program to print the sum of
series : S = 1 + x + x2 + x3 + x4 +----------------------+
xn .
ANS.
INPUT-

OUTPUT-
Q11. Write a program that reads a line and
print its number of characters.
ANS.
INPUT-

OUTPUT-
Q12. Write a program that reads a string and
checks whether it is a palindrome or not.
ANS.
INPUT-

OUTPUT-
Q13. Write a program that input three
numbers from user and display the largest
number.
ANS.
INPUT-

OUTPUT-
Q14. Write a Python Program to count number
of times a character occurs in the given string.
ANS.
INPUT-

OUTPUT-
Q15. Write a program that asks the user for a
string s and character c and then it prints the
location of the character c in the string s.
ANS.
INPUT-

OUTPUT-
Q16. Write a program to input a list and an
element, and remove all occurrences of the
given element from the list.
ANS.
INPUT-

OUTPUT-
Q17. Write a program to input two lists and
display the maximum element from the
elements of both the list combined, along with
the index in its list.
ANS.
INPUT-

OUTPUT-
Q18. Write a program to input names of n
students and store them in a tuple. Also input a
name from the user and find if this student is
present in the tuple or not.
ANS.
INPUT-

OUTPUT-
Q19. Write a program to check if a tuple
contains any duplicate elements.
ANS.
INPUT-

OUTPUT-
Q20. Write a program that takes a value and
checks whether the given value is part of given
dictionary or not. If it is, it should print the
corresponding key otherwise print an error
message.
ANS.
INPUT-
OUTPUT-

THIS THE END OF OUR


PRACTICAL FILE

You might also like