CLASS-12   SUBJECT- COMPUTER SCIENCE                                   CBT- APRIL 2026                  
Attempt all questions. 1 mark for each correct answer. Programming language is Python.
Sign in to Google to save your progress. Learn more

1.Select the correct output of the code:

s="GOOD MORNing"

print(s.capitalize(),s.title(),s.swapcase(),end="!")

1 point
Clear selection

2. What will the output of the following expression in Python?

print(2**3**2//8)

1 point
Clear selection
3.What will be the output for the following Python statement?

D1={'Rahul':295, 'Rithu':15, 'Mishel':64, 'Nihan':120}

print('Mishel' in D1, 15 in D1, sep="#") 

1 point
Clear selection
4.Select the correct output of the code:

Str="I will Succeed"

lis=Str.split(" ")

print(lis[-1]) 
1 point
Clear selection
5.Select the correct output of the code:

Str= "INCREDIBLE INDIA @ 75"

S=Str.partition(" ")

print(S)

1 point
Clear selection
6.Which one of the following is the function to get list of keys from a dictionary dict in python?
1 point
Clear selection
7.What is the correct way to add an element to the end of a list in Python?
1 point
Clear selection
8.What will be the output of the following code?

L=["Sunday" , "Monday", "Tuesday", "Wednesday"]

print(len(L)/2*len(L[2]))

1 point
Clear selection
9.What will be the output of the following code?

L=[1,2,3,4,5]

Lst=[]

for i in range(len(L)):

    if i%2==1:

        t=(L[i],L[i]**2)

        Lst.append(t)

print(Lst)

1 point
Clear selection
10. Which of the following statements create a dictionary?
1 point
Clear selection
Submit
Clear form
This form was created inside of KENDRIYA VIDYALAYA SANGATHAN.

Does this form look suspicious? Report