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

CS - MS - XI - Set 2

The document provides a marking scheme for a Computer Science exam. It includes multiple choice questions and coding questions across 5 sections - A, B, C, D and E. The marking scheme awards marks for each question answered correctly.
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)
25 views5 pages

CS - MS - XI - Set 2

The document provides a marking scheme for a Computer Science exam. It includes multiple choice questions and coding questions across 5 sections - A, B, C, D and E. The marking scheme awards marks for each question answered correctly.
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

Class: XI Session: 2022-23

Computer Science (083)


Set II
Marking Scheme of Sample Question Paper (Theory)
`
Maximum Marks: 70 Time Allowed: 3 hours

SECTION A
1. b) A piece of malicious code that makes copies of themselves and 1
spread through without human interaction.
2. c) security and privacy feature 1
3. (b) He should not give any details and contact bank helpline number 1
to check the validity of the call received.
4. a. 4 bits 1
5. d. Cache memory 1
6. a. An algorithm is a step by step instruction to solve a problem. 1
7. c. 10 1
8. c) A logical expression 1
9. b) You must specify an increment/decrement value for the loop. 1

10. d) Assembler 1

11. b) or 1

12. d) Every Staff member 1

13. 1
False
14. b) Phishing 1

15. a) myStr.isspace() 1
16. d) n 1

Q17 and 18 are ASSERTION AND REASONING based questions.

17. a) Both A and R are true and R is the correct explanation of A 1

18. d) A is false but R is true 1

SECTION B

19. P 2
Y
T
just out of the loop
20. ASCII is a _7_____ bit code representing __128____ characters. 2
21. ual Examination 2023 and An 2
ion 2023 and 202
22. (B2F)16=(101100101111 )2 2
(10110.0101)2=(26.24 )8
23. C@D 2
C@D
D
B$
24. It cannot be permanently deleted. It is recorded in our Digital 2
Footprint. This is how many culprits who spread hate, bully others or
engage in criminal activities are traced and apprehended.
25. If the picture is downloadable and there is no water mark in the 2
picture then it may be available for the free public domain.
If picture is in free public domain like creativecommons.org,
then we can use those pictures in project without copyright
violations.
SECTION C

26. l=[10,20,30,40,50,60,70] 3
mid=int(len(l)//2)
for i in range(mid):
l[i],l[mid+i]=l[mid+i],l[i]
print(l)
27. L=[10,20,25,10,5,6,20,45] 3
length=len(L)
num=int(input("enter number whose occurrence you want to find"))
count=0
for i in range(0,length):
if L[i]==num:
count+=1
if count==0:
print("number does not exists")
else:
print("occurrence of",num,"is",count)

28. Explain the concept of break and continue in python programming by 3


giving the output of the following code:-

1.for value in "String":


if value=="i":
break
print(value)
Output
S
t
r
2.
for value in "String":
if value=="i":
continue
print(value)

output
S
t
r
n
g

29. Name different types of errors in the following code and rectify as 3
well.
num1=int[input(“enter number 1)] #syntax error
num2=0
num3=10
div=num1/num2 # Runtime error
# To find the sum of two numbers
add=num1*num3 #Logical error
print(add,div)
30. (i) What are the possible outcome(s) executed from the following code? 2+1
Also specify the maximum and minimum values that can be assigned to
variable NUM.
NAV=[“LEFT”,”FRONT”,”RIGHT”,”BACK”]
NUM=random.randint(1,3)
NAVG=””
for C in range(NUM,1,-1):
NAVG=NAVG+NAV[C]
print(NAVG)
i.BACKRIGHT ii.BACKRIGHTFRONT iii. BACK iv.LEFTFRONTRIGHT
(ii) Which module is required for the above code?
Ans. random module is required for the above code.
Section D

31. a. Whenever we surf the internet using smartphones, tablets, 1+1+1+1+1+


computers,etc. we leave a trail of data reflecting the 1
activities performed by us online which is our digital
footprint.
b. The two types of digital footprints are - Active digital
footprints and Passive digital footprints.
c. Examples of Active digital footprint - emails we write,
responses or posts we make on different websites
Examples of Passive digital footprints - data generated
when we visit a website, use a mobile App, browse
Internet.
d. Most of the digital footprints are stored in servers where
the applications are hosted.
e. No

32. Krishna Store wants to store mobile numbers of its customers in the 1+1+1+1+1+
form of a dictionary. The following program was written by the Manager 1
of the store to input n number of names and mobile numbers and store
in the dictionary. The program also helps in searching the phone number
of a particular customer. Complete the following statements of the
program written below:

dict={}
ch=’y’
while ch==’y’ or ch==’Y’:
custname=input (“Enter Customer Name”)
phone=input(“Enter phone number of the customer”)
dict[custname]= phone
ch= input(“Do you want to add more customers”)
print (dict)
cust_name= input(“Enter the name of the customer to be searched”)
for i in dict:
if i == cust_name:
print(“Customer”, cust_name, “has mobile number”,
dict[cust_name])

33. a. Output 1+1+!+!+!+!


Sili
b. (iii) print(Str.title())
c. ['34', ' Raja Garden', 'New Delhi']
d. GREAT
Have a great day
e. Step 2 : Writing an Algorithm
Step 4: Testing and Debugging
SECTION E

34 L1=[2,3,4,5,6] 2+2

a. Identify the data type used above. Is it mutable or immutable?


b. Write the output after executing the following commands:
L1.append(35,45)
print (L1[2: ])

Ans. [4,5,6]
or
del(L1[2:4]
print (L1[: ])

Ans. [2,3,6]
35 Answer the following questions on the basis on the code below: 4

name_1 = “RAJAT”
for i in range (0, len(name_1)+1):
print(name_1[0:i])

i. Give the output of the above code.


R
RA
RAJ
RAJA
RAJAT

ii. Can this be written using a while loop? If yes, rewrite the above
code using a while loop.
name_1 = 'RAJAT'
i=0
while i<(len(name_1)+1):
print(name_1[0:i])
i=i+1
+

You might also like