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

The Pioneer School-CBSE

Nagercoil
Annual Exam (2022-23)
Grade: XI C, D Max.Marks:70
Subject: Computer Science (083) Duration: 3 hours
General Instructions:
1. This question paper contains three sections, Sections A to C.
2. All questions are compulsory.
3. Section A have 17 questions carrying 01 mark each.
4. Section B has 08 Very Short Answer type questions carrying 03 marks each.
5. Section C has 06 Application & Knowledge based questions, Total of 29 Marks.
SECTION A
1. Instructions given by the user are called 1

(a) Storage (b) Input (c) Processing (d) Output


2. The difference between computer memory and human memory is: 1

(a) Human memory can retain information for a long times whereas computer’s memory
is temporary
(b) Human memory is volatile computer memory and is temporary
(c) There is no difference in both
(d) None of these
3. Data entered through input devices is temporarily stored in the main memory also called 1
(a) ROM (b) Secondary Memory (c) RAM (d) Cache Memory
4. Which system is used to keep track of employees who receive wages/salaries? 1

(a) Attendance (b) Payroll (c) Salary (d) None of these


5. ….. is an important component of a computer system which controls all other 1

components of the computer system:


(a) Operating System (b) Utilities (c) Customized SW (d) Language Process
6. The binary equivalent of 3 is 1

(a) 0010 (b) 0011 (c) 0101 (d) 1010


7. Which of the following is not a valid identifier? 1

(a) Mybook (b) @book (c) _book (d) book23


8. The …………. Data type allows only True/False values. 1

(a) bool (b) boolean (c) Boolean (d) None

1
9. If the value of a=20 and b=20, then a+=b will assign……………. to a 1

(a) 40 (b) 30 (c) 20 (d) 10


10. Identify the invalid python statement 1

(a) a,b,c=1,2,3 (b) a,b,c=1,’2’,3 (c) a=b=c=1 (d) a=b=c=1,=2=3


11. ‘=’ is a 1

(a) Relational operator (b) Arithmetic operator


(c) Assignment operator (d) Logical operator
12. in operator: 1

(a) check whether a value is contained inside a sequence


(b) check whether a variable exists.
(c) checks whether flow of control is within a loop
(d) does all the three above
13. Python allows repetition of a set of statements using ………… construct. 1

(a) Looping (b) Decision (c) Condition (d) Sequence


14. Variables in Python are 1

(a) Mutable (b) Immutable


(c) both (a) & (b) (d) None of these
15. The else of a loop executes when: 1

(a) The loop doesn’t execute even once.


(b) The loop is exited due to break.
(c) The loop’s condition becomes false
(d) There is no else statement used with loops.
16. What is the output of print 0.1 + 0.2 = = 0.3? 1

(a) True (b) False (c) Machine dependent (d) Error


17. What will be the output of the following Python code? 1

>>>t=(1,2,4,3)
>>>t[1:3]
(a) (1, 2)
(b) (1, 2, 4)
(c) (2, 4)
(d) (2, 4, 3)
SECTION B
18. Find error in the following code(if any) and correct code by rewriting code and 3

underline the correction;-


x= int(“Enter value of x:”)
for in range [0,10]:
if x=y
print( x+y)
else:
Print( x-y)
19. Rewrite the following program after finding and correcting syntactical errors and 3

underlining it.
a,b = 0
if (a = b)
a +b = c
print( z)
20. Find out the output of the Following – 3

a=20
a=a+5
a=a-10
print (a)
a,b=a-1,50
print (a,b)
21. Rewrite the following code in python after removing all syntax error(s). Underline each 3

correction done in the code.


25=Val
for I in the range(0,Val)
if I%2==0:
print( I+1)
Else:
print (I-1

3
22. Find output 3

p=5/2
q=p*4
r=p+q
p+=p+q+r
q-=p+q*r
print(p,q,r)
23. find output 3

a=(2+3)**3-6/2
b=(2+3)*5//4+(4+6)/2
c=12+(3*4-6)/3
d=12%5*3+(2*6)//4
print(a,b,c,d)

24. How many times loop will execute: 3

count = 0
while count<10:
print(‘Hello’)
count+=1
25. From the program code given below, identify the parts mentioned below: 3

def processNumber(x):
x = 72
return x + 3
y = 54
res = processNumber (y)
Identify these parts:
• function header
• function call
• arguments
• parameters
• function body
• main program

4
SECTION C
26. Draw & explain the block diagram of the Central processing unit. 4
27. Explain the tokens using in python programming language. 4
28. Name the input or output device used to do the following: 5

(a) To output audio


(b) To enter textual data
(c) To make hard copy of a text file
(d) To display the data or information
(e) To enter audio based command
(f) To build 3D models
(g) To use to read the cheque in the bank
29. 9

5
30. 5

31. Give the short explanation about the following topics: 2

• Hacking

• Virus

• Firewall

• Plagiarism

****** All the best ******

You might also like