# CBSE Class 12th Computer Science/Python Sample Paper 2020

By | January 9, 2020

Hello Students!! We know that since board exams are approaching, you must be preparing well for upcoming exams. Sample Papers are good ways to prepare for Board examinations.

CBSE Class 12 Computer Science/Python Sample Papers 2020 is available here for download in PDF format along with Marking Schemes. CBSE has released two Sample Papers for Class 12 Computer Science.

### CBSE Class 12th Computer Science/Python Sample Paper 2020

These CBSE Sample Papers for Class 12 Computer Science has been recently released by the Central Board of Secondary Education. Preparing with Class 12th Python Sample Paper gives you an idea of the Question Paper and Marking Scheme. Below Information are very important for the preparation of CBSE Class 12 Computer Science

## CBSE Class 12th Python Sample Paper

• Board Exam 2020.
• Board Name: Central Board of Secondary Education
• Class: 12th
• Category: CBSE Python Sample Paper

Here going to share with students CBSE 12th Python Objective Type Questions with Answer. In the Exam also Python objective Questions will be asked for answer multiple-choice Questions Answer.

Q1.a) Which of the following is a valid arithmetic operator in python?

i) //

ii) ?

iii) <

iv) and (Anwer)

b) Write the type of tokens from the following:

i) if

ii) roll_no

c) Name the Python Library modules which need to be imported to invoke the following functions:

(i) sin( )

(ii) randint ( )

d) Rewrite the following code in python after removing all syntax error(s). Underline each correction done in the code.

30=To

for K in range(0,To)

IF k%4==0:

print (K*4)

Else: print (K+3)

for K in range(0,To) :

if k%4==0:

print (K*4)

else: print (K+3)

e) Find and write the output of the following python code:

def fun(s):

k=len(s)

m=” ” for i in range(0,k):

if(s[i].isupper()):

m=m+s[i].lower()

elif s[i].isalpha():

m=m+s[i].upper()

else: m=m+’bb’

print(m) fun(‘school2@com’)

f) Find and write the output of the following python code:

def Change(P ,Q=30):

P=P+Q

Q=P-Q

print( P,”#”,Q)

return (P)

R=150 S=100

R=Change(R,S)

print(R,”#”,S)

S=Change(S)

250 # 150

250 # 100

130 # 100

g) What possible outputs(s) are expected to be displayed on screen at the time of execution of the program from the following code? Also specify the maximum values that can be assigned to each of the variables FROM and TO.

import random

AR=[20,30,40,50,60,70];

FROM=random.randint(1,3) TO=random.randint(2,4)

for K in range(FROM,TO+1):

print (AR[K],end=”# “)

(i) 10#40#70#

(ii) 30#40#50#

(iii) 50#60#70#

(iv) 40#50#70#

Answer: (ii) 30#40#50# Maximum value FROM,TO is 3,4)

You can practice more class 12th python sample paper questions. If you want more important questions then comment below to get it.

Author: Anil Kumar

About Me: My life is interesting, not less than a super movie story. I love to write updated and genuine information. Working as a Computer Data Operator In BSEB affiliated College and write for www.resultfor.in.

## 2 thoughts on “CBSE Class 12th Computer Science/Python Sample Paper 2020”

1. santosh mishra