0% found this document useful (0 votes)
4 views7 pages

CS XI SEE 2020-21

The document is a question paper for the Common Session Ending Examination 2021 for Class XI in Computer Science, consisting of two compulsory parts: Part A with short answer and case study questions, and Part B with descriptive questions. It includes a variety of programming and theoretical questions primarily focused on Python and computer science concepts. The exam is structured to assess students' understanding of programming, data types, cyber laws, and practical coding skills.

Uploaded by

Adith Ek
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)
4 views7 pages

CS XI SEE 2020-21

The document is a question paper for the Common Session Ending Examination 2021 for Class XI in Computer Science, consisting of two compulsory parts: Part A with short answer and case study questions, and Part B with descriptive questions. It includes a variety of programming and theoretical questions primarily focused on Python and computer science concepts. The exam is structured to assess students' understanding of programming, data types, cyber laws, and practical coding skills.

Uploaded by

Adith Ek
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/ 7

Common Session Ending Examination 2021, Chandigarh Region

Class:- XI Maximum Marks: 70

Sub:-Computer Science (083) Duration: 3 hours

General Instructions to the Examinee:


1. This question paper contains two parts A and B. Each part is compulsory.
2. Both Part A and Part B have choices.
3. Part-A has 2 sections:
a. Section – I have short answer questions, to be answered in one word or one line (Attempt 15
out of 21 questions).
b. Section – II has two case studies questions. Each case study has 4 case-based subparts. An
examinee is to attempt any 4 out of the 5 subparts.
4. Part - B is Descriptive Paper.
5. Part- B has three sections
a. Section-I is short answer questions of 2 marks each in which two questions have internal options.
b. Section-II is long answer questions of 3 marks each in which two questions have internal options.
c. Section-III is very long answer questions of 5 marks each in which one question has internal option.
6. All programming questions are to be answered using Python Language only.

Q.No Part-A Marks


Section-I
(Attempt any 15 questions from question no 1 to 21.)
1 2 GB = ___ Bytes. 1
2 Which one is valid relational operator in Python 1
i. /
ii. =
iii. ==
iv. And

1 to 7
3 Which of the following can be used as valid variable identifiers in Python? 1
i) 4th Sum
ii) Total
iii) Number#
iv) -Data
4 Identify the mutable data types? 1
(i) List
(ii) Tuple
(iii) String
(iv) All of the above

5 ____________ is the read only memory that stores some pre-written instructions. 1
6 Name any 2 secondary storage devices? 1
7 The ________ operator in Boolean algebra performs OR operation. 1
8 Which of the following fall under utilities software? 1
(i)Text editor (ii) backup (iii) Disk defragmenter (iv) All of the above
9 A ________ is a program that appears harmless but actually performs malicious 1
functions.
10 What will be the output of the following? 1
print(17//4)
print(len(str(17//4)))
11 What is the output of the below program? 1
x,y=7,2
x,y,x=x+1,y+3,x+10
print(x,y)
12 Name the python library need to be imported to invoke following function 1
i. sqrt()
ii. randint()

13 Which cyber law in India deals with cyber-crimes? 1


14 Write logical expression for the following: 1
“Age between 18 to 35”

2 to 7
15 t1=(2,3,4,5,6) 1
print(t1.index(4))
output is
i. 4
ii. 5
iii. 6
iv. 2

16 Define cyber bullying. 1

17 Copying programs written by other programmers and claiming them as your own 1
could be an act of __________________.

18 Full form of ASCII. 1

19 Find the error in the following code: 1


x,y=10

20 Consider the string str=”Green Revolution”. Write statement in Python to implement 1


the following:
-to check whether the string contains ‘vol’ or not?
21 Name of any two open source soft wares. 1

Section-II
Both the case study based questions are compulsory. Attempt any 4 subparts
from each question. Each question carries 1 mark.
22 Kids Elementary Technologies help nursery children to improve their handwriting and 4
writing skills such as word formation, recognition of lower and uppercase letters and
small sentences formation.
A program has been written by the programmer that should prompt the child to type
some sentence(s) followed by “enter”. It should then print the original sentence(s) and
the following statistics relating to the sentence(s):

3 to 7
->number of words
->number of characters (including white space & punctuation)
->percentage of characters that are alphanumeric.
Help the programmer to complete the program, by filling correct statements in the
blanks.
s=input("Enter a sentence : ")
number_of_words =1
number_of_characters = _____________ statement1
p=_______________________ statement2
al_num=0
for i in s:
if _____________________ : statement3
al_num+=1
if i==' ':
number_of_words+=___________ statement4
p= __________________ statement5
print("number of words are : ",number_of_words)
print("number of characters are : ",number_of_characters)
print("percentage of characters that are alphanumeric is : ",p,"%")

Write statements for the following:


1. statement1 – to find the length of the string/sentence input by the user
2. statement2 – to initialize percentage with a suitable value
3. statement3 – to check the alphanumeric value
4. statement4 – to increase the count by a valid value
5. statement5 – to calculate the percentage of characters that are alphanumeric.

23 Mr Shyam is trying to develop a program based on list manipulations. He is supposed 4


to add/remove elements in the list, Help him to write the most appropriate list method
to perform the following tasks in the list (attempt any 4 out of the following): Name
of list is Marks=[10,20,30,40,50,60]
a)delete an element value 20 from the list.
b)get the position of an element 40 in the list

4 to 7
c)delete the 3rd element from the list
d)add single element 70 at the end of the list
e) add another list [80,90,100] at the end of the list.

Part-B
Section-I
24 Write any two differences between an interpreter and a compiler. 2
25 Perform the following conversions: 2
1. (122)10  ( ? )2
2. (13B)16 ( ? ) 10

26 Verify the following using truth table: 2


X+Y.Z=(X+Y).(X+Z)
OR
Draw logic circuit for following expression:
(A+B)’. (B’+C)
27 Convert the following for loop into while loop: 2
for k in range(10,20,5):
print (k)
28 Rewrite the following code after removing syntax error and underline the correction: 2
x=int(“Enter value for x:”)
for y in range[0,11]:
if x=y
print(x+y)
Else:
Print x-y
29 What is meant by the terms Cyber Crime & Cyber Forensics? 2

30 Ms Smitha has many electronic gadgets which are not usable due to outdated hardware 2
and software. Help her to find 2 best ways to dispose the used electronic gadgets.

5 to 7
31 Differentiate between a list & a tuple with example. 2
OR
Differentiate between pop() & remove() functions of a list with examples.

32 Predict the output of the following code: 2


x=1
if x>3:
if x>4:
print(‘a’)
else:
print(‘b’)
elif x<2:
if (x!=0):
print(‘c’)
print(‘d’)
33 Write a program to check whether a given integer is even or odd. 2

Section II
34 Write a program in python to generate the terms of the Fibonacci series up to nth term. 3
Program should ask the user to enter the value of ‘n’.
OR
Write a program to input a number and generate the mathematical table of that number
only if that number is divisible by 2.
35 Write a program in python to read a string and count the number of vowels and 3
consonants in the string separately.

36 Write a program in python to display the square of an element if it is an integer and 3


change the case if the element is a string. List contains both integers and strings.
If the List L is : [10, “FUN”, 40, “FEW”, 50, “FULL”]
The final list should be: [100, “fun”, 1600, “few”, 2500, “full”]

6 to 7
37 3
Write any 3 methods to prevent Identity theft?
OR

Define the following terms:


(i) Malware
(ii) WORM
(iii) Spyware

Section-III
38 Write a program to exchange the first half elements of the list with the second half 5
elements of list assuming the list is having even number of elements.
If List L is : [10,20,30,40,50,60],
then final list must be : [40,50,60,10,20,30]
OR
(i) Write a program to find factorial of a positive integer input by user. (3)
(ii) Write a program To check string is palindrome or not. (2)

39 Write a program in python to input five state names and their capital in a Dictionary as 5
a Key Value pair, then ask the user to enter state and print its capital if found in a
dictionary, otherwise print message “State not found in dictionary”.
40 a) Explain gender and disability issues briefly while teaching and using computers. 2+3=5
b) What should I do, if I have already responded to a phishing email and fear I may be
victim of identity theft ?

7 to 7

You might also like