XI_HY_PAPER
XI_HY_PAPER
Q4 Consider the statements given below and then choose the correct output from the given options: 1
pride="#G20 Presidency"
print(pride[-2:2:-2])
a. ndsr b. ceieP0 c. ceieP d. yndsr
Q5 Which of the following statement(s) would give an error during execution of the following 1
code?
tup = (20,30,40,50,80,79)
print(tup) #Statement 1
print(tup[3]+50) #Statement 2
print(max(tup)) #Statement 3
tup[4]=80 #Statement 4
Options:
a. Statement 1 b. Statement 2 c. Statement 3 d. Statement 4
Q6 What possible outputs(s) will be obtained when the following code is executed? 1
Options
(a)RED * (b)WHITE* (c)WHITE*WHITE* (d)YELLOW*
WHITE* BLACK* BLACK*BLACK* WHITE*WHITE*
BLACK* BLACK*BLACK*BLACK*
Q7 Predict the Output of following Python Code. 1
for P in range(2,9,7):
print(P * " #")
(A) Error (B) P*# # (C) 2 # # (D) # #
Q8 Which of following is not a valid variable name in Python? 1
(A) Dream11 (B) Dream_11 (C) 11Dream (D)
_Dream11
Q9 Select the Correct output of the following code 1
S=”Amrit Mahotsav @ 75”
A=S.partition(“ “)
print(A)
(a)(“Amrit Mahotsav”,”@”,”75”) (b)[“Amrit”,”Mahotsav”,”@”,”75”]
(c)(“Amrit”, “Mahotsav @ 75”) (d (“Amrit” ,” “, “Mahotsav@75”)
Q10 Consider the statements given below and then choose the correct output from the given options: 1
G=”Vasudhaiva Kutumbakam"
print(G[-4::-2])
amtKaihu b. amtK ihua c. amtKaihua d. amtkaihua
Q11 Which of the following statement(s) would give an error during execution of the following 1
code?
Str1 = “Kendriya Vidyalaya Sangathan”
print(Str1.upper()) #Statement 1
Str1[7]=’e’ #Statement 2
Str1.index(‘Kend’) #Statement 3
Str1.find(‘Sung’) #Statement 4
Options:
a. Statement 1 b. Statement 2 c. Statement 3 d. Statement 4
Q12 Consider the following statements and choose the correct output from the given options : 1
EXAM="COMPUTER SCIENCE"
print(EXAM[:12:-2])
a) EN b) CI c)SCIENCE d) ENCE
Q13 Select appropriate operator to calculate reminder (modulus)from the following: 1
a) / b)// c)% d)Both a) & b)
Q14 11Jatin wants to terminates the while loop at the end of program. Suggest him a suitable 1
keyword from the following:
a) terminate b)continue c)break d)stop
Q15 The physical components of computer system are known as 1
b) Software b)Humanware c)Hardware d)Operating System
Q16 Bhojo is designing a digital circuit he is using a gate which is producing output 0 when all the 1
inputs are HIGH. Which gate Bhojo is using??
(a)NAND (b)NOT (c)AND (d) OR
Q17 Which of the following expression will result in an error 1
a) ‘3’ * 3 (b) (3) * 3 (c) [3] * 3 (d) {3:3} * 3
Q18 In the combination of following gates the output Y can be written in the terms of Input A and B 1
as
(a)A’.B’ (b)A.B’ + A’.B (c) A’ + B’ (d) none of the above
Q19 Npandiyan Class XI student he is designing a logic circuit , his logic circuit design which is 1
given below is giving output similar to a logic gate ,please help him, his logic circuit design
output is similar to which gate output.