IGNITE CLASSES OF LEARNING CLASS : -- 11th
9287/6 FIRST FLOOR GALI NO.6, SUBJECT : -- C.S.
MULTANI DHANDA, PAHARGANJ, NEW DELHI 110055 TEACHER : -- ANIKET SIR
CONTACT - 8882225482, 8447590717
Chapter – Full syllabus TEST M.M.=70
1. “Python is an interpreted language‟. What does it mean to you? (1 )
2. Predict the output of the following: (1)
x,y = 7,2
x,y,x = x+4,y+3,y+2
print(x,y)
3. name “destructive write” memories (1)
4. which of the following is not a Python legal string operation? (1)
(a)‟abc‟+‟abc‟ (b) “abc‟*3 (c)‟abc‟ + 3 (d)‟abc‟.lower()
5. Predict the output – (1)
L1 = [2,4,5,6,7]
print(L1==[Link]())
print(L1)
6. Can you modify the keys and values in a dictionary ? (1)
7. Convert 111110111101012 to octal. (1)
8. Convert the following: (1)
4468 to ( )16
9. What is cyber safety? (1)
10. Suggest appropriate functions for the following tasks – (1)
(a) To check whether the string contains digits
(b) To find the occurrence a string within another string
11. What is the difference between a keyword and an identifier? (1)
12. What is Phishing? (1)
13. Write a Program to obtain temperature in Celsius and convert it into Fahrenheit
using formula – C * 9/5 + 32 = F (2)
[Link] are error and excpetion in python and differentiate. (2)
15. WAP to search for an element in a given list of numbers (2)
16. WAP to calculate the average of the numbers of the tuple. (2)
17. How is clear() function different from del Statement?(with example). (2)
18. Distinguish between internal and external memory. (2)
19. What is tautology? (2)
20. State and verify Involution (using truth tables) (2)
21. explain XNOR gate using truth table. (2)
IGNITE CLASSES OF LEARNING (CONTACT - 8882225482, 8447590717)
Page |2
22. WAP to calculate simple interest.(formuala is (s*r*t)/100)) (2)
23. what is math library in python. Wap to find area of triangle and area of circle using
it. (3)
[Link] to take value of x,y,z from the user and calculate the equation-4x +3x3+2x+ π
4
(3)
25. WAP that searches for prime numbers from 15 through 25. (3)
26. WAP to print the following pattern: (3)
@
@@
@@@
@@@@
27. WAP that: Prompt the user for a string Extract all the digits from the string. If
there are digit Sum the collected digits together Printout: The original string The
digits The sum of the digits If there are no digits Print the original string A message
“Has no Digit”
Or (both 3 marks )
27. wap to take input a line from user and print each words reversed in it then the line
itself reversed
28. wap to check whether a number is Armstrong or not . (3)
29. WAP that repeatedly asks the user to enter product names and prices. Store all of
them in a dictionary whose keys are product names and values are prices. And also
write a code to search an item from the dictionary. (3)
30. Draw logic circuit diagram for the following expression – (3)
(a) Y=AB+B’C+C’A’ (b) R=XYZ’ + Y.(X+Z’)
31. State DeMorgan‟s law of Boolean Algebra and verify them using truth table. (3)
32. wap to check which words in the given line contains special character and print
them (3)
32. Wap to sort a list in ascending order without using sort() method. (4)
33. a) what is a firewall and what safety measures we can take for cyber crimes (2)
b) wap to print mercenary number of a given number . (2)
IGNITE CLASSES OF LEARNING (CONTACT - 8882225482, 8447590717)