Professional Documents
Culture Documents
Jaipur Region XI CS HY QP 2022-23
Jaipur Region XI CS HY QP 2022-23
SECTIONA
1. MS-Office is a- 1
(a) Operating Software (b) Utility program
(c) Programming language (d) Application Software
2. What is the ASCII equivalent decimal no. for ‘Y’ ? 1
(a) 87 (b)88 (c) 89 (d)90
3. A gate gives the output as 1 only if the input signal is 0. 1
(a) NOR (b) OR
(c) NOT (d) XOR
4. Given A=“[22,4.88,”India”, “T”]” the datatype of A is:- 1
(a) List (b) String (c) Collection (d) Set
5. What shape represents a decision in a flow chart? 1
(a) Oval (b) Diamond (c) Rectangle (d) Arrow
1
11. What will be the output of the following Python Code? 1
tp=[5]
tp1=tp * 2
print(len[tp1])
(a) 0 (b) 2
(c) 1 (d) error
12. day_name= ['Mon', 'Tues', 'Wednes', 'Thursday', 'Friday', 'Saturday','Sunday'] 1
print(day_name[7])
What will be the result?
(a) Sunday (b)Saturday
SECTIONB
19. State the difference in keyword and identifier? 2
2
20. What is token ? Name various types of token. 2
OR
3
29. Find the output of the following code: 3
>>> L=["These", "are", "a", ["few", "words"], "that", "we", "will", "use"]
>>> print (L[3:4])
>>> print (L[1:4:-1])
>>> print ("few" in L)
>>> print (L[0::2])
>>> print (L[4:])
>>> print (L)
OR
Write a program to check number of ‘H’ present in a string:
“HEALPS HEALS WITHOUT HURTING”
the output will be displayed as:
Total number of ‘H’ is: 4
30. Write a program to input names of 5 employees and store them in a List. Now 3
enter nameof an employee and find if this employee is present in the List or
not.
SECTION D
31. Write a python program to calculate factorial of a number. 4
32. What will be the output of the following code 4
i. Type[34]
ii. a, b=10,20
a, b= b, a+b
print[a, b]
SECTION E
33. Draw the circuit diagram for the following: 5
(i) (A’B+AB’)’. (A’B’)’ (3+2)
(ii) ((X’Y’Z)+(X’YZ’))’
34. (i) Write one example of mutable and immutable data type each? 5
(ii) Write a program in python to take input from user and check whether it is (2+3)
palindrome number or not?
35. Which string method is used to implement the following: 5
******************************