Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

XI CS Set 1

Download as pdf or txt
Download as pdf or txt
You are on page 1of 10

Class: XI Session: 2022-23

Computer Science (083)


Sample Question Paper- SET 1 (Theory)

Maximum 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 1 mark each.

4. Section B has 7 Very Short Answer type questions carrying 2 marks each.

5. Section C has 5 Short Answer type questions carrying 3 marks each.

6. Section D has 3 Long Answer type questions carrying 5 marks each.

7. Section E has 2 questions carrying 4 marks each. One internal choice is


given in Q35 against part c only.

8. All programming questions are to be answered using Python Language


only.

S.No. SECTION-A Marks

1 Language processor is an example of : 1


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

2 Fill in the blanks : 1


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

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

(ii) Convert (785)10 to Octal

4 Which of the following memory will store data /information 1


permanently:
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 1


shopping 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 1


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

10 Assertion (A) : The information which was posted by you in 1


online can 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?

15 Give the correct Output of following code: 1


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

16 Select the appropriate data types of following variables: 1


Section = ‘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 1


been created.
R. Tuple is an immutable data type.

18 A.Python has its own rules that determine its syntax. The 1
interpreter 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 2


Operating System.

Or

Give a difference between Application software and System


software with examples.

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


length Encoding Scheme:
UTF 32 , UTF 8
(b) Expand the following terms :
ISCII
GUI
22 After practicals, Atharv left the computer laboratory but 2
forgot to sign 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 2


following 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 1+2


two variables 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 1+1+
calculated as the mass (m) multiplied by the speed of light 1
(c =
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. 3


str = ”Passive Matrix OLED”
for i in range(0, len(str)+1, 2):
print(str[i])

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


using a list :
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 1*5=5


the 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 2+3


condition: 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 5


Shell window:
>>> str1 = 'Hello my Students Hello friends’
>>> str1.find('Hello',10,20) _______________________
#Output 1
>>> str1.find('Hello')_______________________
#Output 2
>>> str1.find('Hee') _______________________
#Output 3
>>> str1.index('Hello') _______________________
#Output 4
>>> 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

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

get(k, x )
There are two arguments (k, x) passed in ‘get( )’ method.
The first argument is the key value, 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':'We
dnesday','thu':'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 1+1+
the 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