0% found this document useful (0 votes)
0 views5 pages

CS Xi

The document outlines the structure and content of the Annual Examination for Computer Science (083) for Class XI, with a maximum score of 70 marks and a duration of 3 hours. It consists of five sections (A to E) with varying question types, including true/false, short answer, and programming tasks. Each section has specific instructions regarding the number of questions and marks allocated.

Uploaded by

mohdadeeb262
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)
0 views5 pages

CS Xi

The document outlines the structure and content of the Annual Examination for Computer Science (083) for Class XI, with a maximum score of 70 marks and a duration of 3 hours. It consists of five sections (A to E) with varying question types, including true/false, short answer, and programming tasks. Each section has specific instructions regarding the number of questions and marks allocated.

Uploaded by

mohdadeeb262
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

ANNUAL EXAMINATION 2023-24

Computer Science (083)


Class – XI Max. Marks:70
Time Allowed: 3 hours
General Instructions:
1. This question paper contains five sections, Section A to E.
2. All questions are compulsory.
3. Section A have 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 03 Long Answer type questions carrying 05 marks each.
7. Section E has 02 questions carrying 04 marks each.
SECTION A
1 State True or False 1
‘The keys of a dictionary must be a unique’
2 Which of the following is a valid identifier in Python? 1
a)Total-mark b)import c) my_num d) from
3 Which of the following is a volatile memory type? 1
a) ROM
b) RAM
c) Flash memory
d) Hard disk
4 In computing, what does OMR stand for? 1
a)Optical Mark Recognition
b) Output Mark Reader
c) Optical Mark Reader
d) Output Message Reader
5 1KB=_____ bytes 1
a) 1024 b)1000 c)8 d) 1028
6 Given a string text='python-string', write the output of 1
print(text[-10:-1:2])
7 Which of the following is a strong password? 1
a) Puppy123
b) Password
c) 12345678
d) Depn@3256
8 If the value of N is10 , the expression N=5 1
a)returns False
b)checks whether N is 5 or 10
c) sets the value of N to 5
d) raise an error
9 What happens if a break statement is encountered inside a nested loop? 1
a) Exits only the innermost loop
b) Exits all the loops
c) Skips the current iteration of the innermost loop
d) Terminates the program

1
10 Which output lines of the following program will print the same results? 1
T=(10, 20, 30, 40, 50)
print(T[1]) # 1
print(T[0]) # 2
print(T[-4]) # 3
print(T[-3) # 4
a) (1) and (2)
b) (1) and (3)
c) (2) and (3)
d) (2) and (4)
11 In which situation is it acceptable to use all caps in a social media post? 1
a) To emphasize a point
b) Always for better visibility
c) Never, it's considered shouting
d) Only in private messages
12 The following symbol is used to represent _____ in flow charts 1

a) Decision
b) Process
c) Input/output
d) stop
13 These are some small text files for storing a small piece of information related to 1
someone’s online habits
a) spam b)cookies c) spam d) virus
14 ___________refer to the traces and records of an individual's online activities and 1
interactions
a) Digital footprints
b) Identity theft
c) Plagiarism
d) Copyright infringement
15 Which of the following is a correct statement? 1
a) Int and list are immutable data types
b) string and list are mutable data types
c) dictionary and list are mutable data types
d) list and tuple are mutable data types
16 How many times will the for loop be executed? 1
for n in range(1,9,2):
print(n)
a) 9 b) 5 c)8 d) 4
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 Rare true and R is not the correct explanation forA
(c) A is True but R is False
(d) A is false but R is True

2
17 Assertion (A):-A while loop in Python can have an ‘else’ block. 1
Reason (R):-The ‘else’ block of a while loop is executed when the loop condition
becomes False.
Assertion (A):-The’ in’ operator can be used to check if a substring is present in a 1
18 string.
Reason (R):-The operators ‘in’ and ‘==’ are same in python
SECTION B
19 See the following program snippet which is designed to store and print the names of 2
some students. But the program shows some error while executing. You have to
Correct the errors to make it possible and underline each correction
NAMES = [ABHAY,NEHA,ROHAN]
TOTAL=Len(NAMES)
i=0
while i<= TOTAL:
print(NAMES[i])
i=+ 1
20 Write a program to print the pattern . 2
*
**
***
**** OR
Writea program to print the series 10-15-20-25-…….n- . the value for n is inputted by
the user
21 Which of the following options will not be the output of the following python code: 2
import random
STRING="PLUSONE"
for i in range(2):
N=random.randint(1,5)
print(STRING[N],end='#')
a) S#L#
b) P#U#
c) L#L#
d) L#E
22 Write any two methods to protect your computer from virus attacks 2
23 Obtain Boolean expression for the following logic circuit 2

24 State and prove De Morgan’s Laws 2

25 Write the most appropriate method/function to perform the following tasks. 2


a) To get the index of an item in a tuple
b) To add a single element at the end of the list

3
c) To remove the last element of a list
d) To remove the last element of a dictionary .
SECTION C
26 Write a program to input a string and display all the words which starts with a vowel. 3

27 a)write python expression for the following: 1+2


i) y = a5+b5
ii) s=ut+ ½ at2
b)Evaluate the following
i) 10//2*3+(5%2)**2
ii) not 3<5 or 6!=5 and not 5<=7
28 Write a program to print the count of uppercase letters, lowercase letters and digits 3
in a string inputted by the user.
29 What is meant by e-waste? Write any 2 eco-friendly e-waste disposal technique. 3

30 Write output for the following code 3


s="PlusOne@12"
text=""
for i in range(0,len(s)):
if s[i].isdigit():
text = text + s[i]*2
elif s[i].islower():
text = text +s[i].upper()
else:
text = text +'*'
print(text)
SECTION D
31 a)write example for any 2 mutable and immutable data types in python 2+3
b) write a program to display the names of students whose age is greater than 10
from a dictionary AGE of format {name:age}
32 Given a list ,L= [10,'suraj',(90,89,70)] .Find the output for the following. 5
a) print(L[1][-1])
b) print(L[-1][2])
c) print(L[:2])
d) print(L[1]*2)
e) print(L[0]+L[-1][-1])
33 a) Identify the error and correct the code 2+3
from math import sqrt
print(math.sqrt(16))
b) Write a program to find the area of a triangle , if the measurement of 3 sides are
given.
OR
a) import random as ran
x=random.randint(10,20)
print(x)
b)Write a program to create a list of 10 numbers using user inputted values and find
the mean, median and mode of the list of numbers.

4
SECTION E
34 Convert the following 4
a) (82)10=(_____)2b) (11011010)2= (______)10

c) (101010110)2=(_____)8d)(26)10=(_____)8
35 Choose the specific cyber crime for each of the following situations from the bracket. 4
(Plagiarism , Bank fraud, Identity theft ,cyber bullying)
a) Using someone else's credit card information to make unauthorized purchases.
b) Copying and pasting text from a website or book without proper citation.
c) Harassing or threatening someone online through social media platforms
d) Impersonating someone online to access their accounts or commit illegal
activities

You might also like