0% found this document useful (0 votes)
36 views6 pages

QP Xi CS See 2023-24 Set 1

The document is an examination paper for Class XI in Computer Science, with a total of 70 marks and a duration of 3 hours. It consists of five sections (A to E) with various types of questions including multiple choice, short answer, and programming tasks, all to be answered using Python. The paper includes specific instructions on the structure and marking scheme for each section.
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)
36 views6 pages

QP Xi CS See 2023-24 Set 1

The document is an examination paper for Class XI in Computer Science, with a total of 70 marks and a duration of 3 hours. It consists of five sections (A to E) with various types of questions including multiple choice, short answer, and programming tasks, all to be answered using Python. The paper includes specific instructions on the structure and marking scheme for each section.
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/ 6

क ीय िव ालय संगठन, जयपुर संभाग

Kendriya Vidyalaya Sangathan, Jaipur Region


स ांत परी ा 2023-2024
Session Ending Examination 2023-24
क ा :XI िवषय : संगणक िव ान िवषय कोड : 083 सेट नं: 1
Class : XI Subject : Computer Science Subject Code: 083 Set No : 1
अिधकतम अंक :70 अविध : 3 घंटे
Max. marks: 70 Duration : 3 hrs
िनदश/Directions–
1. This question paper contains five sections, Section A to E.
2. All questions are compulsory.
3. Section A has 18 questions carrying 01 mark each.
4. Section B has 07 Very Short Answer type questions carrying 02 marks each.
5. Section C has 05 Short Answer type questions carrying 03 marks each.
6. Section D has 02 questions carrying 04 marks each.
7. Section E has 03 Long Answer type questions carrying 05 marks each.
8. All programming questions are to be answered using Python Language only.

SECTION - A
Q. No Question Marks
1 Which symbol is used to represent processing in flowcharts 1
a) circle b) rectangle c) diamond d) parallelogram
2 Which of the following is not a token 1
a) keyword b) identifier c) expression d) operator
3 What will be the output of the following statement: 1
print(4+2**3**2-55//11%3)
a) 66 b) 46 c) 514 d) 494
4 What is the output of the following code 1
s=str([1,2,3])
a) ‘123’ b) ‘1,2,3’
c) ‘[1,2,3]’ d) error
5 State True or False: 1
“In a Python program if break statement is executed in a loop then loop’s else
block will be executed”
6 Which of the following is not a valid operator in python 1
a) ** b) // c) == d) ++
7 What is the output of the following code: 1
x=1
while x<=5:
x+=1
print(x)
a) 6 b) 5
c) infinite loop d) error
8 Which of the following expression will result in an error 1
a) ‘3’ * 3 b) (3) * 3 c) [3] * 3 d) {3:3} * 3
9 Which of the following statement(s) would give an error during execution of the 1
following code?
s = ‘Python supremacy’
print(s) #Statement 1
print(s[0]+ ‘O’ ) #Statement 2
s[0] = ‘p’ #Statement 3
print(max(s)) #Statement 4
a) Statement 1 b) Statement 2 c) Statement 3 d) Statement 4
10 Which one of the following in correct ascending order of size for nibble, byte, kb, 1
bit, mb
a) bit<byte<nibble<mb<kb b) nibble<byte<bit<kb<mb
c) bit<byte<nibble<kb<mb d) bit<nibble<byte<kb<mb
11 Which of the following is used by a visually impaired person 1
a) gesture based software b) narrator software
c) scanner software d) virtual reality
12 Which encoding scheme has code points for all the known languages 1
a) ASCII b) Unicode
c) ISCII d) none of these
13 (3984.75)10= ()16 1
a) F90.C b) 9F.4B
c) F90.4B d) 9F.C
14 Unlawfully gaining sensitive information of someone by posing as genuine entity 1
a) Spamming b) Hacking
c) Cracking d) Phishing
15 Gaining an unauthorized access is called ______ 1
a) Spamming b) Hacking
c) Cracking d) Phishing
16 A program which appears safe and genuine but actually is not 1
a) Spyware b) Worm
c) Trojan d) Adware
Q 17 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 if 7: 1
print(“True”)
else:
print(“False”)
Assertion (A): Output of the above code is False
Reasoning (R): Non-empty and Non-Zero object is treated as True.
18 d={1:11, 2:22, 3:33} 1
print(11 in d)
Assertion (A): Output of above code is False.
Reasoning (R): Membership operator does not check for values in a dictionary
but only for keys.
SECTION B
19 What is system software. Write its any two types. 2
OR
Write any two differences between Interpreter and Compiler.
20 Draw logic circuit for following Boolean expressions: 2
(i) AB’ + B(A+C)
(ii) (AB+BC)(AC)
21 Correct and rewrite the following code underlining all the corrections. 2
x=int(input(“Enter speed”)
if x>120
print(“Vehicle impounded”)
else x=>80:
print(“Fine 2000 Rs.”)
else:
print(“Good to go”)
OR
Write output of the following code:
x=1531
s=0
while x>0:
a=x%10
s=s+a
x=x//10
print(s)
22 What is output of the following code: 2
x=5
y=(5)
print(type(x))
print(type(y))
23 In the following code check where is the error and when will that error occur during 1+1=2
compile time or run time
a=int(input(“Enter first number”) #statement 1
b=0 #statement 2
c=a/b #statement 3
print(c) #statement 4
24 What is Plagiarism? Write two ways to avoid it. 2
OR
Write two net etiquettes.
25 Write at least two ways of e-waste management. 2
SECTION C
26 Predict the output of the Python code given below: 3
text = “Alm19hty!”
new = ‘’
count = 0
for i in text:
if text[count]>=‘0’ and text[count]<=‘9’:
new+=str(int(text[count])+1)
elif text[count]>=‘A’ and text[count]>=‘Z’:
new+=text[count].lower()
elif text[count]>=‘a’ and text[count]>=‘z’:
new+=str(count)
else:
new+=‘*’
count+=1
print(new)
27 What is OS? Write its any two functions. 3
28 Write output of the following Python code: 3
P=[1,6,9,3,8,3,1,7,3,9,1]
Q=[2,3,7,9,5,3,5,9]
R=[]
for i in P:
if i in Q and i not in R:
R.append(i)
print(R)
OR
Write output of the following Python code:
P=[1,6,9,3,8,3,1,7,3,9,1]
Q=[2,3,7,9,5,3,5,9]
R=[]
for i in P:
if i not in Q and i not in R:
R.append(i)
print(R)
29 Write a Python program to get a number from user and print ‘Prime’ if number is 3
prime otherwise print ‘Not Prime’
30 A person was surfing the web and a particular website showed him his OS and 3
browser name. After which he submitted his name and phone number for a
lottery on that website.What is this type of data called which was collected by the
website? This is type of data is classified into two types. Out of these two the
following data falls under which:
(i) Name of OS and browser
(ii) Name and phone number of the person
SECTION D
31 Dharamveer a Python programmer is working on a mathematical project and tried 1*4=4
creating a code for it. Suggest him a module and function from that module which
can be used for the following tasks
(i) To calculate absolute value of a number
(ii) To calculate mean from a list of marks
(iii) To generate a random number between 1 to 6 (both values included)
(iv) To generate a random number between 0(included) and 1(excluded)
32 Amit made a friend online whom he doesn’t know in real life and has never met. 4
After some time he started posting demeaning statements about him.
(i) What is happening to Amit?
(ii) What action should he take?
(iii) Which law in India addresses this activity?
(iv) What steps should be followed to avoid this kind of activity?
SECTION E
33 a) Write output for the following 2+3=5
s = “Incredible India”
(i) print( s[:5:] )
(ii) print( s[9:-9:-1] )
(iii) print( s[5:-2:1] )
(iv) print( s[::-1] )
b) Write a Python program to get an year from user and print whether it is a leap
year or not. (Leap year is a non century year divisible by 4 eg. 1984, a century
year divisible by 400 eg 1600)
34 Mihir took part in a Code Challenge and was presented with following incomplete 3+2=5
codes with problem statement each. Help Mihir to win the Code Challenge
(i) Write code for Fibonacci Series where every next term is sum of previous two
terms
f=0
s=1
print(f)
print(_____) #Statement-1
for i in range(10):
t=_____ #Statement-2
print(t)
f=s
s=_____ #Statement-3
(ii) Complete the code to calculate sum of digits of a number
n=input(“Enter a number :”)
s=_____ #Statement-1
for i in n:
s= _____ #Statement-2
35 (i) Complete the following code for calculating factorial of a number 2+3=5
n = int(input(“Enter a number :”))
f=_______ #Statement-1
for i in range(1,_____,1): #Statement-2
f=f*i
print(‘factorial is’, f)
(ii) What will be the output of the following code
d1={1:10,2:20,3:30,4:40}
d2={5:50,6:60,7:70}
d1.update(d2)
print(d1)
print(d2.get(3))
print(d2.popitem())

OR
(i)Complete the following code to compute the sum of first n natural numbers
n = int(input(“Enter a number :”))
s=_______ #Statement-1
for i in range(n):
s=_____ #Statement-2
print(‘Sum is’, s)
(ii) Perform following operations on a dictionary using dictionary methods only:
d = {1: ‘one’, 2: ‘two’, 3 : ‘three’ }
(a) Add a key 5 with value ‘five’
(b) Remove the key value pair for key 2
(c) Print value at key 3

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy