0% found this document useful (0 votes)
459 views

SAMPLE PAPER-IX Class XII (Computer Science) SEE PDF

This document provides a blue print for the Class XII Computer Science examination. It outlines the exam structure including question types (VSA, SA, LA), number of questions, marks per question and total marks. It then provides the topic-wise distribution of questions and marks across the topics of Programming and Computational Thinking, Computer Networks, Data Management and Society, Law and Ethics. The difficulty level of questions is also stated.

Uploaded by

Deepanshu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
459 views

SAMPLE PAPER-IX Class XII (Computer Science) SEE PDF

This document provides a blue print for the Class XII Computer Science examination. It outlines the exam structure including question types (VSA, SA, LA), number of questions, marks per question and total marks. It then provides the topic-wise distribution of questions and marks across the topics of Programming and Computational Thinking, Computer Networks, Data Management and Society, Law and Ethics. The difficulty level of questions is also stated.

Uploaded by

Deepanshu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

SAMPLE PAPER-IX Class XII (Computer Science) SEE

COMPUTER SCIENCE WITH PYTHON (083)


BLUE PRINT

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: Very Short Answer Type

• SA : Short Answer Type

• LA : Long Answer Type

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

1a Which of the following can be used as valid variable identifier(s) in Python? 2


(i) 4thSum (ii) Total (iii) Number# (iv) Data
b Name the Python Library modules which need to be imported to invoke the following 1
functions
(i) floor() (ii) random()
OR

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.

STRING=""HAPPY NEW YEAR"


for S in range[0,8]:
print(STRING(S))
print( S+STRING)
OR

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.

eg. If L = [10, 22, 24, 36, 37, 43, 51]


odd_L = [ 37, 43,51] and even_L = [ 10, 22, 24, 26 ]
d Find and write the output of the following python code: 2

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

Find the output of the following program:

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

c Find the output of the following Python program: 3

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")

d Discuss the strategies employed by python for memory allocation? 1

3a Write a user defined function findname(name) where name is an argument in Python to 3


delete phone number from a dictionary phonebook on the basis of the name, where
name is the key.

b Write the specific purpose of functions used in plotting: i) plot() ii) Legend() 2

c Write a python program to plot the algebraic equation: 10x + 14. 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"]

The following should get displayed MP MH MZ

e Differentiate between file modes r+ and w+ with respect to Python 2

4a Write about types of network depending upon geographical location 1

b Write down difference between private cloud and public cloud. 2

c Write one restriction of wired and one wireless networks. 2


d How IP address differ from MAC address? 2
e Expand the following terms: 3
1. MAC 2. DNS 3. URL

5a Write difference between IP v-4 and IPv-6. 2


b Write the purpose of following commands 3
1. whois 2. ipconfig 3. nslookup
c Write SQL queries for (i) to (iv) and find outputs for SQL queries (v) to (vii), which are
based on the table.
Table: Transact
TRNO ANO AMOUNT TYPE DOT
T001 101 2500 Withdraw 2017-12-21
T002 103 3000 Deposit 2017-06-01
T003 102 2000 Withdraw 2017-05-12
T004 103 1000 Deposit 2017-10-22
T005 101 12000 Deposit 2017-11-06

(i) To display minimum amount transaction from the table. 1

(ii) To display total amount withdrawn from table. 1

(iii) To display number of deposited transaction. 1

(iv) To display ANO,DOT, AMOUNT for maximum amount transaction. 1

(v) SELECT ANO, COUNT(*), MIN(AMOUNT) FROM TRANSACT GROUP BY ANO ½


HAVING COUNT(*)> 1

(vi) SELECT COUNT(*), SUM(AMOUNT) FROM TRANSACT ½


WHERE DOT <= '2017-06-01';

6a Is the Django installation as same as other packages? 2

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.

You might also like