SAMPLE PAPER-IX Class XII (Computer Science) SEE PDF
SAMPLE PAPER-IX Class XII (Computer Science) SEE PDF
Total
Marks Per Number of Total
Type of Question Question Questions Marks
VSA 1 15 15
SA I 2 17 34
SA II 3 3 9
LA 4 3 12
Total 10 38 70
VSA (1 SAI (2 SA II (3 LA (4
Topic / Unit mark) marks) marks) marks) Total
Programming and
Computational Thinking 2(2) 9(18) 2(6) 1(4) 14(30)
Computer Networks 4(4) 2(4) 1(3) 1(4) 8(15)
Data Management 7(7) 2(4) - 1(4) 10(15)
Society, Law and Ethics 2(2) 4(8) - - 6(10)
Total 38(70)
Difficulty Level :
Easy : 15%
Average : 70%
Difficult : 15%
HOTS-based Questions : 20%
CLASS XII
COMPUTER SCIENCE (083)
TIME: 3 hrs M.M: 70
Write the modules that will be required to be imported to execute the following code in
Python.
def main( ):
for i in range (len(string)) ):
if string [i] = = ‘’:
print( )
elif:
c=string[i].upper()
print (“string is:”c)
print (“String length=”,len(sring.floor()))
c Rewrite the following code in python after removing all syntax error(s).Underline each 3
correction done in the code.
Write a function mul ( ) which accepts list L, odd_L, even_L as its parameters. Transfer
all even values of list L to even_L and all odd values of L to odd_L.
TXT = ["20","50","30","40"]
CNT = 3
TOTAL = 0
for C in [7,5,4,6]:
T = TXT[CNT]
TOTAL = float(T) + C
print(TOTAL)
CNT -= 1
OR
def main ( ) :
Moves=[11, 22, 33, 44]
Queen=Moves
Moves[2]+=22
L=Len(Moves)
For i in range (L):
print “Now@”, Queen[L-i-1], “#”, Moves [i]
e What output will be generated when the following Python code is executed 2
f What are the possible outcome(s) executed from the following code? Also specify the 2
maximum and minimum values that can be assigned to variable N.
import random
NAV = ["LEFT","FRONT","RIGHT","BACK"]
NUM = random.randint(1,3)
NAVG = ""
for C in range(NUM,1,-1):
NAVG = NAVG + NAV[C]
print(NAVG)
2a List one similarity and one difference between List and Dictionary datatype. 2
b Rewrite the following Python program after removing all the syntactical errors (if any), 2
underlining each correction.:
def checkval:
x = input(“Enter a number”)
if x % 2 = 0:
print x,”is even”
else if x<0:
print x,”should be positive”
else;
print x,”is odd
def makenew(mystr):
newstr = " "
count = 0
for x in mystr:
if count%2 != 0:
newstr = newstr + str(count)
else:
if x.islower():
newstr = newstr + x.upper()
else:
newstr = newstr + x
count += 1
newstr = newstr + mystr[:1]
print("The new string is:", newstr)
makenew("sTUdeNT")
b Write the specific purpose of functions used in plotting: i) plot() ii) Legend() 2
d Write definition of a Method MSEARCH(STATES) to display all the state names from a 3
list of STATES, which are starting with alphabet M. For example: If the list STATES
contains ["MP","UP","WB","TN","MH","MZ","DL","BH","RJ","HR"]
b Start project command creates four basic Django project in Directory. Write any two 2
file Names.
c What is Django? 2
d Write difference between GET and POST method. 2
7a What are the environmental issues of e-waste? 2
b What do you understand by the term Plagiarism? Write 2 software’s used as Plagiarism 3
checker.
c What is Identity Theft? How to prevent this? 3
D List down some points about Societal changes introduced by technology. Technology 2
and Social Change.