SAMPLE PAPER - 1-XI - CS - Board
SAMPLE PAPER - 1-XI - CS - Board
www.Learnpython4cbse.com Learnpython4cbse
Class - 11
Sample Paper - 1
Maximum Marks: 70 Computer Science (083) Time Allowed: 3 hours
General Instructions:
1. This question paper contains five sections, Section A to E.
SuperNova-
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.
Learnpython4cbse
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. One internal choice is given in Q35 against part c only.
8. All programming questions are to be answered using Python Language only.
SECTION A
1. is the part of the CPU that performs the arithmetic operations. 1
A) ALU B) CU C) Memory D) None
2. A nibble in computer memory is a group of . 1
A) 8 bits B) 8 bytes C) 4 bits D) 4 bytes
Which of the following does not store data permanently?
3. 1
(i) Hard Disk (ii) Floppy disk (iii) RAM (iv) ROM
4. Which of the following is not an operating system? 1
a) Windows b) Linux c) Oracle d) DOS
5. Keys of the dictionary must be : 1
(A) Similar (B) Unique (C) Can be similar or unique (D) All of these
6. Which of the following fall under utilities software? 1
(i)Text editor (ii) backup (iii) Disk defragmenter (iv) All of the above
7. Is python a case sensitive language? 1
A) True B) False
8. Which of the following can be used as valid variable identifiers in Python? 1
SuperNova-
c=a/b
Learnpython4cbse
i) Semantics Error ii) Syntax Error iii) Run Time error iv )No Error
15. A loop becomes an infinite loop if a condition never becomes true. 1
a. True b. False
(A+B)’. (B’+C)
20. What is the purpose of count ( ) function in string ? Write an example of count (). 2
21. Predict the output of the following code: 2
x=1
if x>3:
SuperNova-
if (x!=0):
print(‘c’)
print(‘d’)
Learnpython4cbse
22. Convert the following for loop code in to while loop.
print(x)
23. Explain use of % and //operators with example? 2
24. What do you understand by syntax error? Give an example in this context. 2
25. Define the term L- Value and R-Value with example. 2
SECTION C
26. State De Morgan’s law and prove it with the help of truth table 3
27. Find and write the output of the following python code : 3
Text=”Gmail@Com”
Len=len(Text)
ntext= “ “
for iin range(0,Len):
if Text[i].isupper():
ntext=ntext+Text[i].lower( )
elif Text[i].isalpha( ):
ntext=ntext+Text[i].upper( )
else:
ntext=ntext+’bb’
print(ntext)
28. Write a program to print grade of a student as per input percentage as per criteria given 3
below:-
Percentage range Grade
More than or equivalent 90 A
More than 80 B
More than 60 C
More than 50 D
More Than 33 E
Less than 33 F
29. Write a program to check whether an integer number input by a user is prime or not? 3
OR
Write a program to input an integer value and display it in reverse order.
SuperNova-
(i) (106)10 = ( ? )16
(ii) (78)10= ( ? )2
(iii) ((122)10 = ( ? )2
Learnpython4cbse
(iv) (13B)16 = ( ? ) 10
(v) (101101)2=( ? )10
32. a) Rewrite the following code after removing syntax error and underline the correction: 3+2
Digits = 3
Symbol = 4
SuperNova-
Write a program to input a number and check it is odd/even.
Learnpython4cbse