11 CS QP in English
11 CS QP in English
----------------------------------------------------------------------------------------------------------------
General Instructions:
SECTION A
Each Question contains 1 Mark
Q. Marks
No
State True or False 1
1 A cache memory is a type of RAM
2 The binary equivalent of the octal number 13.54 is……………… 1
(a) 1011.1011 (b)1001.1110 (c ) 1101.1110 (d) None of these
3 Mr.Gopal found that the following program snippet is not working due to some error. 1
Page 1 of 6
Help him to identify the type of error.
x=10
y=0.
y=x/2
x='day'
y=x/2
Identify the type of error
(a) Name error (b) key error (c ) type error (d) No error
4 Predict the output: 1
print(2* (’NO’ + 3* ‘!’))
(a) NONO!!! (b) NO!!!NO (c) NO!!!NO!!! (d) None of these
5 You don’t have to pay for python and you can view its source code too. It means Python 1
is ………..
(a) Free and Open source software (b) OSS
( c) Freeware (d) Shareware
Page 2 of 6
13 What will be the output of the following python code?
t1=(5,)
t2=t1*2
print(len(t1))
(a) 0 (b) 2 ( c) 1 (d) Error 1
14 Which of the following function will return the key, value pairs of the dictionary?
(a) Keys (b) items() (c) ..values() (d) All of these
1
15 Components that provide internal storage to the CPU is: 1
(a) Registers (b) Program Counters (c) Controller (d) Internal Chips
16 Which of the following is not a cyber crime? 1
(a) Scam (b) Phishing (c) Child pornography (d) Downvote a social media post
Q17 and 18 are ASSERTION AND REASONING based questions. Mark the correct
choice as
(a) Both A and R are true and R is the correct explanation for A
(b) Both A and R are true and R is not the correct explanation for A
(c) A is True but R is False
(d) A is false but R is True
17 Assertion (A) : Digital footprint is refers to the trail of data you leave when using the 1
internet.
Reason (R) : While online, all of us need to be aware of how to conduct ourselves, how
best to relate with others and what ethics, morals and values to maintain.
Page 3 of 6
23 Write the corresponding python expression for the following mathematical expression 2
(a) √(a2+b2+c2)
(b) 2-ye2y +4y
24 Explain how e-waste creates environmental and health problems. What are the different 2
methods for e-waste disposal?
OR
What is Intellectual Property? How Intellectual Property Right can be legally Protected?
25 (i) Predict the output:
x,y=2,6
x,y=y,x+2 1
print(x,y)
(ii) Mr. Hrithwik is trying to create a python code using for loop. But the snippet
having some errors and unable to execute it. Rewrite the code by underlining the
correction/s. 1
val=30
for val in range(0,10) :
if val%4=0 :
print (val*4)
Elseif val%5==0:
print (val+3)
else :
print(val+10)
SECTION C
26 Write a program in python to calculate the amount payable if money has been lent on 3
Simple Interest (SI).
Simple Interest can be calculated by SI = (P x T x R)/100 Where, P is the principal
amount T is the time and R is the rate.
P,R and T are to be given as input to the program.
OR
Draw a flow chart to find the sum of first 50 natural numbers
27 (i) Identify the types of errors (if any) after execution of the following code:
X=’welcome’
print(X[8]) 3
(ii) D1={'10':"aa", '20':"bb", '30':"cc"}
print(D1['3'])
(iii) l1=[10,20]
Page 4 of 6
l2=[30,40]
print(l1*l2)
28 Write a Program in python to calculate factorial of a given number using while loop 3
29 Mrs. Jayashree has recently shifted to a new city and school. She does not know many 3
people in her new city and school. But all of a sudden, someone is posting negative,
demeaning comments on her social networking profile etc. She is also getting repeated
mails from unknown people. Every time she goes online, she finds someone chasing her
online.
i. What is this happening to Mrs. jayashree?
ii. What immediate action should she take to handle it?
iii. Is there any law in India to handle such issues? Discuss briefly.
30 Draw a logic circuit diagram for the Boolean Expression: 3
A=UV’ .(W’ +Z)
OR
State De-Morgan’s Law and verify one of the laws using Truth Table
SECTION D
31 Write a program in python to produce the following output using for loop
*
**
*** 5
****
*****
OR
Write a Program in python that print Fibonacci series ‘ first 20 numbers.
Some initial elements are: 0112358
32 Write a program to calculate BMI of a person after inputting its weight in kgs and height
in meters and then print the Natural status as per the following table:
Page 5 of 6
print(a)
a=a-2
(ii) Snigdha wrote the Program code in python that accept three integers and print the
largest of the three using if statement only. But she is unable to complete the code.
Help her to complete the following program in python.
x=y=z=0
x=float(input(‘enter the first number’)) 2
y=float(input(’enter the second number’))
z=float(input(‘enter the third number’))
max=x
if( y > ……………………):
max = ………………
if( …………….. > max):
max= z
print(‘Largest number is’, ………………..)
OR
(ii) Arun wrote the Program code in python to print sum of natural numbers between 1
to 7 progressively. But he is unable to complete the code. Help him to complete
the following program in python
sum=0
for i in range(……….):
sum=…………………
print(“sum of natural numbers <=” ,…………. ,”is”,…………………..)
SECTION E
34 (a) Explain digital Property? ( 2 marks) 4
(b) What are the threats to digital properties? (2 Marks)
OR (Option for part (b) only)
(b) What are the different ways of protecting digital properties? (2 Marks)
35 (a) What is break statement? Illustrate its use with suitable example? 2 +2
(b) What is Continue statement? Illustrate its use with suitable example?
Page 6 of 6