0% found this document useful (0 votes)
37 views7 pages

XI CS QP Term1 Exam 2021 Sabra Khan

The document is a term examination paper for Class XI in Computer Science, with a total of 35 marks and a duration of 90 minutes. It consists of three sections: Section A with 25 questions, Section B with 24 questions, and Section C with 6 case-based questions. Students are required to attempt a specified number of questions from each section.

Uploaded by

sabra khan
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)
37 views7 pages

XI CS QP Term1 Exam 2021 Sabra Khan

The document is a term examination paper for Class XI in Computer Science, with a total of 35 marks and a duration of 90 minutes. It consists of three sections: Section A with 25 questions, Section B with 24 questions, and Section C with 6 case-based questions. Students are required to attempt a specified number of questions from each section.

Uploaded by

sabra khan
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/ 7

KENDRIYA VIDYALAYA RANGAPAHAR CANTT

TERM-1 EXAMINATION 2021-22


CLASS – XI
SUB: COMPUTER SCIENCE (083)
Time -90 minutes M. Marks- 35

General Instructions: Programming language is Python. All question carries equal marks 0.77
• This question paper is divided into 3 sections A, B and C.
• Section A has 25 Questions (1-25). Attempt any 20.
• Section B has 24 Questions (26-49). Attempt any 20.
• Section C has 6 case-based Questions (50-55). Attempt any 5.
Q.NO. Section A - (Answer any 20 out of 25) MARKS
(Only one correct solution to be selected)
1 What is the Full form of CPU ?
0.77
a) Central Processing Utility b) Central Process Unit
c) Computing Processing Unit d) Central Processing Unit
2 Identify the odd one out. 0.77

A. Keyboard B. Mouse C. Microphone D. Printer


3 Which of the following is used to hold running program instructions?

a) ROM b) RAM c) Hard Disk d) DVD 0.77


4 Which one of the following is written at the time of manufacture?
0.77
A. RAM B. ROM C. Cache D. All of these
5 Who coined the term Boolean?
0.77
A. John Boole B. Robert Boole C. George Boole D. Thomas Boole
6 Find the incorrect relation in the units of computer memory measurements:
0.77
A. 1024 TB = 1 PB B. 1024 Bits = 1 KB
C. 1024 MB = 1 GB D. 1024 GB = 1 TB
7 The output of two input OR gate is one when ?

A. Only if both inputs are one 0.77


B. Only if both inputs are zero
C. Only if one input is one and the other zero
D. At least one of the inputs is one
8 Consider the code :
0.77
num1=input(“enter a number”)
print(num1+2)

Assertion: The above code will give error message when executed.
Reason: input() returns a string datatype. We cannot add string datatype with a
numeric datatype. So performing arithmetic operation on it will result in error.

(A) Both Assertion & reason are true, reason is correct explanation of assertion.

1|Page
(B) Assertion and reason both are true but reason is not the correct explanation of
assertion.
(C) Assertion is true, reason is false.
(D) Assertion is false, reason is true.
9 Find the impossible digit of the Octal number system
0.77
A. 0 B. 1 C. 9 D. 7
10 Find the output of the following code
0.77
s='Healthy wealthy and wise'
print(s.count('a'))

A. 2 B. 3 C. 0 D. 1
11 DeMorgan’s theorem states that: -

A. (AB)’ = A’ + B’ B. (A + B)’ = A’ * B 0.77


C. A’ + B’ = A’B’ D. (AB)’ = A’ + B
12 Consider the following circuit diagram and then choose the correct output (Q):

0.77

A. AB+B+C+BC B. AB+ (B+C+BC) C. AB + ((B+C). BC) D.


A+B+C+D
13 The Octal representation of (0.675)10 is :
0.77
a) 0.53144 b) 0.64135 c) 0.53146 d) 1.64135
14 The process of identifying and removing errors from a computer program is
called ......................? 0.77
a) Debugging b) Programming c) Running d) Processing
15 Flowcharts and algorithms are used for ?

A. better programming B. easy testing and debugging 0.77


C. efficient coding D. all of these
16 Assertion: a=‘3’
b=‘2’ 0.77
c=a+b
The value of c will be 5
Reason: ‘+’ operator adds integers but concatenates strings
(A) Both Assertion & reason are true, reason is correct explanation of assertion
(B) Assertion & reason both are true but reason is not the correct explanation of
assertion.
(C) Assertion is true, reason is false. (D) Assertion is false, reason is true
17 A flowchart needs to represent a situation where for each mark a student is award
'Pass' or 'Fail'...the system will consider the mark and if it's 50 or over award
'Pass', else it awards 'Fail'. This is an example of which of the algorithm
constructs? 0.77

A. Loop B. Decision C. Sequence D. All of the above

2|Page
18 What does this shape represent in flowchart ?

0.77
A. Input/output B. Process C. Decision D. Start/Stop
19 Which of the following symbols are used to make comments in Python :
0.77
a) # b) !-- c) // d) “
20 A value in the form of a+bj in python is belongs to which datatype:
0.77
a) Boolean b) Integer c) Floating Point d) Complex
21 Which of the following is an invalid variable?
A. my_string_1 B. 1st_string C. subject1 D. _sum 0.77
22 Which of the following is used to define a block of code in Python language?
0.77
A. Indentation B. Key C. Brackets D. All of the mentioned
23 Which of the following is true for variable names in Python?

A. unlimited length 0.77


B. all variables must have leading and trailing underscores
C. underscore and ampersand are the only two special characters allowed
D. none of the mentioned
24 Which of the following character is used to calculate power in Python?
0.77
A. // B. / C. ** D. *=
25 What is the order of precedence in python?

A. Exponential, Parentheses, Multiplication, Division, Addition, Subtraction 0.77


B. Exponential, Parentheses, Division, Multiplication, Addition, Subtraction
C. Parentheses, Exponential, Multiplication, Division, Subtraction, Addition
D. Parentheses, Exponential, Multiplication, Division, Addition, Subtraction
Q.NO. Section B - (Answer any 20 out of 24) MARKS
(Only one correct solution to be selected)
26 Which is not an assignment operator?
0.77
A. /= B. //= C. != D. +=
27 Convert hexadecimal (EB4A)16 to its equivalent octal
0.77
A. 165512 B. 156641 C. 165511 D. 165012
28 Select the output of the following expression:

str1=”pen” 0.77
print(list(str1))

A. [‘p’,’e’,’n’] B. [pen] C. [p/e/n] D. {“pen”}


29 Which of the following is not an operating system?
0.77
A. Windows B. Linux C. Oracle D. DOS
30 If-elif-else statements are_________ statements.
0.77
A. conditional B. Iterative C. Jump D. Complex

3|Page
31 Which of the following is system software?
0.77
A. Operating system B. Compiler C. Utilities D. All the above
32 Boolean algebra is an algebraic structure with two arithmetic operations.
0.77
A. Addition and subtraction B. Subtraction and multiplication
C. Addition and multiplication D. Addition and division
33 When we convert 10010 binary numbers to decimals. Then the solution is :
0.77
A. 20 B. 18 C. 14 D. 16
34 What is the value of the following Python expression? 2 ** 3 ** 2
0.77
A. 1024 B. 64 C. 256 D. 512
35 What is the value of the following Python expression? 2 ** 3 // 2
0.77
A. 2.0 B. 4 C. 4.0 D. 2
36 Print(‘10’) is which type of error:
0.77
A. Logical Error B. Syntax Error C. Run Time Error D.
No Error
37 Select the python expression for the following :
0.77
ut + ½ ft2

a) u*t +(0.5)*f*t**2 c) ut + (0.5)*ft*2


b) u*t + 1/2*f*t**2 d) None
38 What will be the output of following code:
0.77
type(“seema”)

A. int B. string C. float D. complex


39 What will be the output of following code:
0.77
chr(71)

A. F B. A C. G D. None of these
40 Look at the code and select the correct option?

mystr="Darjeeling Tea has a strong flavour" 0.77


if(mystr.startswith('D')):
print(mystr.title())
A. 'DARJEELING TEA HAS A STRONG FLAVOUR'
B. 'Darjeeling Tea Has A Strong Flavour'
C. 'darjeeling tea has a strong flavour'
D. 'Darjeeling tea has a strong flavour'

41 What will be the output of the following Python function?

S=“Stay happy@Stay healthy” 0.77


print(S[5:15:2])

A. tahyt@pa B. hpySa C. Error D. hpySa el

4|Page
42 Which of the following functions is a built-in function in python?
0.77
A. factorial() B. print() C. seed() D. sqrt()
43 What will be the output of the following Python statement? >>> “a”+ “bc2”
0.77
A. Error B. abcabc C. abc2 D. 2cba
44 What will be the output of the following Python code snippet?

not(3>4)
not(1<1) 0.77

A. True B. True C. False D. False


True False True False
45 What will be the output of the following Python code?

if (9 < 0) and (0 < -9):


print("hello")
elif (9 > 0) :
print("good") 0.77
else:
print("bad")

A. error B. hello C. good D. bad


46 What is the output of the following code:
x, y = 5, 2
y = 3+x 0.77
print(x, y)

(a) 5 8 (b) 10 11 (c) 11 10 (d) 8 11


47 Identify the output of the following Python statements.
x=2 0.77
while x < 9:
print(x, end=' ')
x=x+1
a. 12345678 b. 123456789
c. 2345678 d. 23456789
48 What will be the output of the following?
for i in range(1,10,2): 0.77
print(i, end =” “)

A. 1 3 5 6 7 B. 1 3 5 7 9 C. 1 2 3 4 5 6 7 9 10 D. Error
49 What is the output of the following?
x = 'abcd' 0.77
for i in x:
print(i.upper(), end =” “)
a) a b c d
b) A B C D
c) a B C D
d) error

5|Page
Q.NO. Section C - (Answer any 5 out of 6) MARKS
(Only one correct solution to be selected)
ABC school is created a program that reads name of student and marks in
05 subjects ,calculate percentage and award grade as per the following
conditions:

percentage Grade
greater than & equal to 90 A
greater than equal to 70 & less than 90 B
greater than equal to 50 & less than 70 C
greater than equal to 30 & less than 50 D
otherwise Fail

Look at the code and answer the Q from 50-55

sname=__________________ # Statement 1
print("Enter marks")
eng=int(input('Enter marks in English '))
phy=int(input('Enter marks in Physics '))
che=int(input('Enter marks in Chemistry '))
math=int(input('Enter marks in Mathematics '))
cs=int(input('Enter marks in Computer Science '))
total=__________________ # Statement 2
per=____________ # Statement 3
print(“Percentage of “, _________, “ is “, __________) # Statement 4
if(per>=90):
print('Grade is A')
elif(per>=70 and per<90):
print('Grade is B')
elif(per>=50 and per<70):
print('Grade is C')
elif(_______________________): # Statement 5
print('Grade is D')
______: # Statement 6
print('Fail')
50 Statement 1 will be ?

A. input(“Enter Name:”) B. str(input(“Enter Name:”)) 0.77


C. input(str(“Enter Name:”)) D. int(input(“Enter Name:”))
51 Statement 2 will be ?

A. sum(total) B. eng+phy+che+math+cs 0.77


C. eng, phy, che, mat, cs D. total(sum)
52 Statement 3 will be ?

A. sum(total) / 5 B. (eng+phy+che+math+cs) / 5 0.77


C. eng, phy, che, mat, cs / 5 D. total/ 5
53 Statement 4 will be ?
0.77
A. total, average B. sname, total C. sname, per D. average, sname

6|Page
54 Statement 5 will be ?

A. per>=30 and per<50 B. per<=60 and per<70 0.77


C. per<=60 and per>=70 D. per>60
55 Statement 6 will be ?
0.77
A. for B. range C. loop D. else

******************************THE END**********************************

7|Page

You might also like