Thanks to visit codestin.com
Credit goes to www.scribd.com

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

First Term CS

This document is the examination paper for Computer Science for Class XI at The Indian School, Kingdom of Bahrain, scheduled for June 2024. It consists of 39 questions divided into four sections, covering topics such as utility software, Python programming, logic circuits, and basic data types. The total marks for the examination are 70, and students are instructed to answer all questions within a time limit of 3 hours.

Uploaded by

alexstanly790
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)
15 views5 pages

First Term CS

This document is the examination paper for Computer Science for Class XI at The Indian School, Kingdom of Bahrain, scheduled for June 2024. It consists of 39 questions divided into four sections, covering topics such as utility software, Python programming, logic circuits, and basic data types. The total marks for the examination are 70, and students are instructed to answer all questions within a time limit of 3 hours.

Uploaded by

alexstanly790
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

THE INDIAN SCHOOL, KINGDOM OF BAHRAIN

FIRST TERMINAL EXAMINATION – JUNE 2024


CLASS : XI MARKS: 70
SUBJECT : COMPUTER SCIENCE TIME : 3 Hrs
General Instructions:
1. Answer all the questions
2. This paper has 4 printed pages, 4 sections and 39 questions
Section – A
This section contains 10 questions. Choose the correct option (10 x 1=10)
1. Which of the following is a utility software?
a. Compiler b. Linux c. Disk Defragmenter c. IDLE
2. What is the ASCII value of the character ‘B’ ?
a. 67 b. 99 c. 98 d. 66
3. A single line comment in Python starts with __________________
a. ''' b. # c. " d. //
4. -3//2= ________________
a. 2 b. -2 c. -1 c. 1
5. 1 TB= ____________ MB
a. 210 b. 220 c. 230 d. 240
6. The default value of end parameter in print() function is
a. Space b. \n c. \t d. None of these
7. 3*1**2 = ______________
a. 6 b. 3 c. 9 d. 8
8. Banking system is an example for a _________________________
a. Application software b. Utility software c. System software d. Programming tool
9. Which of the following law states A.(B.C)=(A.B).C
a. Distributive law b. Associative law c. Commutative law d. Absorption law
10. What is the output displayed by the following code?
a=4.5
b=2
c=b<a
print(type(c))
a. <class 'int'> b. <class 'float'> c. <class 'bool'> d. Error
Section – B
11. Write the logical expression for the below logic circuit: (1)

1
12. Name the two modes of Python IDLE. (1)
13. State De Morgan’s Laws. Prove any one of it using a Truth Table. (2)
14. Expand: (2)
a. ISCII
b. BIOS
15. Draw a logic circuit for the expression F= (A+B) ' (C.D).C ' (2)
16. Differentiate RAM and ROM. (2)
17. What is an Operating System? List any 2 functions of an operating system. (2)
18. Convert the following: (2)
a. (ABC.8D)16 - ( ____________ )8
b. (3071)8 - ( ____________ )2
19. Convert the following: (4)
a. (85.125)10 - ( __________ )2
b. (101101.101)2 - ( _________ )10
20. Write down the invalid identifiers from the following. Write the reason. (2)
a. true b. Reg-No c. _No1 d. if e. 2Name f. s_Name g. Roll No
21. Identify the data type of the following literals. (2)
a.'False' b. 101 c. 4.0 d. 2 - 3J
22. Identify the type of the following operators. (2)
a. is b. % c. or d. !=
23. Identify the type of following tokens. (2)
a. False b. 'Python' c. ( ) d. /
24. Write the Python expression for the following: (2)
a. √|2𝑥 2 − 𝑥 3 | b. 𝑒 √𝑠𝑖𝑛𝑥+𝑐𝑜𝑠𝑥
25. Write the Python logical expression for the following: (4)
a. Num is between 1 and 50 but not divisible by 3
b. N is an even number which is less than 100
c. Grade is either A or B
d. Sport is Cricket or Football but age is 15
26. Evaluate the following python expressions for A=9, B=3, C=2, P=2.3, Q=4.5 (2)
a. math.pow(C,B)%math.ceil(Q)+math.sqrt(A)**math.floor(P)
b. A+2>B%C or not P!=Q and math.floor(Q)>A//2
27. Evaluate the following python expressions: (3)
a. 7-20%3**2+7//2
b. 24/8//2+4%(3+2)
c. 2>3 or 5>=2 and not 6==6

2
Section – C
28. Write the output of the following code: (1)
a=10
b=10.0
if a is b:
print('OK')
else:
print('DONE')
29. Write the output of the following code: (1)
x=10
if x%3>1:
print('XY'*3)
else:
print('YX'*3)
30. Write the output of the following code: (1)
P,Q=2,3
P=P+Q
P,Q=P*2,P-Q
print(Q,P)
31. Rewrite the following code after correcting the errors. Underline the corrections. (3)
a,b=10
n=int(input(Enter the number))
if a=n
print('Value is',N+b)
32. Find the output: (2)
a=10
b=5
b*=2
a+=b%3
print(a//2,b,sep='#')
33. Find the output: (2)
n=9
a=n//4+1
if a%2!=0:
n+=a
a-=1
print('n',n,sep='=',end='&&')
print('a',a,sep='=')

3
34. Write the output of the following code: (2)
I) If L is 8 and M is 3
II) If L is 3 and M is 8
k=10
if L>M+5:
k+=L
elif L<M+5:
k+=M
else:
k=L+M
print(L,M,k,sep=',')
Section – D
35. Write a program input 3 numbers and find its average. (2)
For eg: If the numbers entered is 2,3,4
The output should be displayed as
THE AVERAGE OF 2,3 & 4 is 3.0
36. Write a program to enter the radius and height of a cylinder and find its volume and (2)
surface area.
Volume of cylinder - πr2h
Surface area - 2 πr(r+h)
37. Write a program to enter a number and check if it is even or odd. (2)
38. Write a program to enter a character and display a message according to the character (2)
entered.
R - Red
B – Blue
G – Green
For eg: If the character entered is R the output should be:
Your choice is Red
If the any other character which is not in the list is entered it should display
Invalid Choice
39. Write a program to enter the name and marks in 3 subjects of a student. The program (3)
should display the Name, Total marks, and the grade of the student. Grade is calculated
based on the total as per the following criteria.
TOTAL GRADE
250 and above A
200 to 249 B
150 to 199 C
Otherwise D
4
________________________________________

You might also like