0% found this document useful (0 votes)
34 views9 pages

CS Class 11 Set1

The document contains a question paper for Class 11 Computer Science exam with 34 questions across 4 sections - A, B, C and D. The questions are both theoretical and programming based covering topics like operating systems, Python programming, databases, cyber security etc.
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)
34 views9 pages

CS Class 11 Set1

The document contains a question paper for Class 11 Computer Science exam with 34 questions across 4 sections - A, B, C and D. The questions are both theoretical and programming based covering topics like operating systems, Python programming, databases, cyber security etc.
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/ 9

Class: XI Session: 2022-23

Computer Science (083)


Question Paper- (Theory)

Maximum Marks: 70 Time Allowed: 3 hours

General Instructions:

S.No. SECTION-A Marks

1 Language processor is an example of : 1


a) Application software b) System software
c) Packages d) None of these

2 Fill in the blanks : 1


(i) _________TB = 3072 GB
(ii) 1 PB = ______MB

3 (i) Convert (8AC)16 to Binary. 1

(ii) Convert (785)10 to Octal

Which of the following memory will store data /information


4 permanently: 1
a) RAM c) Registers b) Cache d) Flash Memory

5 A nibble is a group of ______ bits. 1


a) 8 c) 4
b) 3 d) None of these

6 State True/False 1
(i) OR gate produces 1 as output only when all the inputs are 1.
(ii) XOR gate produces 0 as output when all inputs are 1
7 Email account, social media account or handles, online shopping 1
accounts, trademarks, patents, registered domain etc of an individual or
organization are collectively known as
a) Online identity c) Online estate b) Digital identity d) Digital
property

8 Discarded electrical or electronic devices are known 1


as_______________

9 Sarah’s classmate sent her a message on Facebook “You are a Loser”. 1


Sarah is a victim of:
a) Phishing b) Eavesdropping c) Cyberbullying d) Trolling

10 Assertion (A) : The information which was posted by you in online can 1
be seen by everyone who is online because internet is the world’s biggest
information exchange tool.

Reason (R) : Don’t give or post any personal information like your
name, address of the school/office / home, phone numbers, age, sex,
credit card details etc.

Choose the correct answer:

a) Both A and R are true and R is correct explanation of A

b) Both A and R are true and R is not correct explanation of A

c) A is true but R is false.

d) A is false but R is True

11 Identify the valid relational operator(s) in 1


Python:
a) >> b) <=
c) ** d) !=

12 Consider the given expression: 1


print(not True and False or True)
Write the output.
13 State True or False 1
“All sequences are mutable in Python.”

14 Given the following dictionaries 1


dict_exam={"Exam":"CBSE", "Session":2023}
dict_result={"Total":500, "Pass_Marks":165}

Write the statement that will merge the contents of both dictionaries?

Give the correct Output of following code:


15 S=’Mind @ Work’ 1
print(S[:-4])
a. Work
b. Mind @ W
c. Mind @
d. Mind@

16 Select the appropriate data types of following variables: Section = 1


‘B’

Price = 455.75

A. int and str


B. str and int
C. str and float
D. String and number

Q17 and 18 are ASSERTION AND REASONING based questions.


Write 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 A.The elements of a tuple cannot be changed after it has been 1
created.
R. Tuple is an immutable data type.

18 A.Python has its own rules that determine its syntax. The interpreter 1
interprets the statements if it is correct as per the rules of Python.
R. This is called Runtime Error

SECTION-B

19 Consider the given expression 1+1


%true, _None, 5_digit, True=10,20,30,40

Identify the correct/incorrect identifiers given in the above expression


& give reason why incorrect:
a) %true b)_None c) 5_digit d) True

20 What is an Operating System? Write any 2 functions of an Operating 2


System.

Or

Give a difference between Application software and System software


with examples.

21 (a) Identify the following as Fixed length and Variable length 2


Encoding Scheme:
UTF 32 , UTF 8
(b) Expand the following terms :
ISCII
GUI

22 After practicals, Atharv left the computer laboratory but forgot to sign 2
off from his email account. Later, his classmate Revaan started using
the same computer. He is now logged in as Atharv. He sends offending
email messages to a few of his classmates using Atharv’s email
account.
a) Atharv is a victim of______________
b) What steps should he take to avoid the above mentioned
problem.
23 What do you mean by 1+1
(a) IPR
(b) OSS

24 What are digital footprints? Site an example from real life 2

Or

Explain any two disability issues while teaching and using computers.

25 Write a program to calculate mode and mean of list of following 2


values:
list_val = [11, 22,22,23,22]

Or

Write a program to calculate mode and mean of values given in a


tuple:
score_tuple = (30, 45, 80, 66, 70)

SECTION-C

26 (a) Write a single line statement to swap the values of two variables 1+2
first and second.

(b) Mitali has written a code to reverse a number. Her code is having
errors. Rewrite the correct code and underline the corrections
made.
p='N'
while True:
no=int(input('Enter number:\t')
rev=0
while True
d=no%10
rev=rev*10+d
no=no//10
if no=0:
Break
print(‘Reverse Number is ‘,rev)
27 The formula E = mc2 states that the energy (E) can be calculated as the 1+1+
mass (m) multiplied by the speed of light (c = 1
3×108 m/s) squared. Write a program to
i. Input the mass of an object in kg.
ii c(speed of light) as constant.
iii find the energy.

Or
The formula F = ma states that the force(F) can be calculated
as the mass (m) multiplied by the
acceleration(a). Write a program to:
i. Input the mass of an object in kg.
ii a(acceleration of object.
iii find the force.

28 Change the following code without using the range function. str = 3
”Passive Matrix OLED”
for i in range(0, len(str)+1, 2):
print(str[i])

29 (a)Write the statement to perform following operations using a list 3


:
L= [100, 150, 10, 30, 200]
Modify element 200 to 2000.

(b) Write the statements to Insert an element at second index value


of the list “L” and sort the list in descending order.

30 Give output of the following: 3


(a) print(math.ceil(240.7))
(b) print(math.floor(-12.3))
(c) print(pow(3,4))

SECTION-D

31 (i)…………………….. is a set of moral principles that governs the 1*5=5


behavior of a group or individual and regulates the use of computers.
(ii) What is Malware?
(iii)What is Cyber stalking ?
(iv)____________is stealing someone’s intellectual work and citing
it as your own work.
(v) A trojan is a utility program which turns dangerous only after its
expiry date(True/False)
32 (a)Construct logical expression to represent the following condition: 2+3
Weight is greater than or equal to 115 but less than 125

(b)Write the Python code to check if a given number is prime or not.

Or

(a)Identify the types of Literals:


(i) 45.67 (ii)None (iii) (1,2,3) (iv) “False”

(b) Write a Python Program to find the factorial of a given number.

33 Write the output of following Python statements written in Shell window: 5


>>> str1 = 'Hello my Students Hello friends’
>>> str1.find('Hello',10,20) _______________________ #Output 1
>>> str1.find('Hello')_______________________ #Output 2
>>> str1.find('Hee') _______________________

34 #Output 3 1+1+
>>> str1.index('Hello') _______________________ #Output 4 2
>>> str1.index('Hee') _______________________ #Output 5
Or

Find the output of the following string operations : mySubject =


"Electronics and Communication"

(a)print(mySubject[0:len(mySubject)])
(b) print(mySubject[-7:-1])
(c) print(mySubject[::2])
(d) print(mySubject.endswith('ion’))
(e) print(mySubject.replace('o','*'))
SECTION - E

(i) The following source taken from NCERT Book Computer Science Page
245. Based on the source answer the question below:

get(k, x )
There are two arguments (k, x) passed in ‘get( )’ method. The first argument
is the key , while the second argument is the corresponding value. If a
dictionary has a given key (k), which is equal to given value (x), it returns
the corresponding value (x) of given key (k). However, if the dictionary has
no key-value pair for a given key (k), this method returns the default values
the same as the given key value. The second argument is optional. If omitted
and the dictionary has no key equal to the given key value, then it returns
None.
Syntax:
D.get (k, x) #D dictionary, k key and x value

>>>D={'sun':'Sunday','mon':'Monday','tue':'Tuesday','wed':'Wednesday','th
u':'Thursday','fri':'Friday','sat':'Saturday'} (a) D.get(‘thu’,’friday’) (b)
D.get(‘wdd’)

(ii) The following source taken from NCERT Book Computer Science Page
220. Based on the source what will be the final value of X:

List as arguments
When a list is passed to the function, the function gets a reference to the
list. So if the function makes any changes in the list, they will be reflected
back in the list.

def add_Const (L):


for i in range (len (l)):
L [i] += 10
X=[5,6,7,8,9]
add_Const(X)
print(X)

(iii) Give the output of the code:


a = "Empower women through education"
a = a.split('r')
b = a[0] + ". " + a[1] + ". " + a[2]
print (b)

Or
Fill the blank so that code should print the following pattern
123
12
1

i=___ #1
while i>=__: #2
j=1
while j<i :
_________ #3

j=j+1
print()
_____ #4
35 (i) Consider a tuple T = (‘Q’, ’W’, ‘E’, ‘R’, ‘T’, ‘Y’). Identify the 1+1+
statement that will result in an error. 2
a. print(T[2])
b. T[2] = ‘U’
c. print(min(T))
d. print(len(T))

(ii) Write the output of the statement

print(2 * “File” * 2)

a. 2File
b. FileFile
c. FileFileFileFile
d. 4File

(iii) Rewrite the following code using a while loop.

a=int(input(“Enter base”))
b=int(input(“Enter power”))
s=1
for i in range(b):
s*= a
print(s)

You might also like