67% found this document useful (3 votes)
6K views2 pages

Class XI-CS-PT1 Sample Question Paper-I

The document is a sample paper for a periodic test in Class 11 Computer Science. It contains 9 questions testing various concepts: 1) Conversions between units of storage like MB and KB, definitions of ASCII and differences between RAM and ROM. 2) Data types in Python, key features, ternary operators. 3) Programs to find the middle number among three, determine student grade based on marks, and calculate simple interest. 4) Evaluating expressions and finding output and errors in code.

Uploaded by

Vasudha Joshi
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
67% found this document useful (3 votes)
6K views2 pages

Class XI-CS-PT1 Sample Question Paper-I

The document is a sample paper for a periodic test in Class 11 Computer Science. It contains 9 questions testing various concepts: 1) Conversions between units of storage like MB and KB, definitions of ASCII and differences between RAM and ROM. 2) Data types in Python, key features, ternary operators. 3) Programs to find the middle number among three, determine student grade based on marks, and calculate simple interest. 4) Evaluating expressions and finding output and errors in code.

Uploaded by

Vasudha Joshi
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/ 2

SAMPLE PAPER-I

PRIODIC TEST –I
CLASS XI
SUBJECT –COMPUTER SCIENCE
MM 50 Time 1:30 Hrs.

All questions are compulsory


Programming Language: Python

Q 1 a) Convert 8MB to equivalent KB. [1]

b) What do you mean by ASCII code. [1]

c) Differentiate between RAM and ROM [2]

d) Convert the Following as Directed [2 X 4=8]

(i) (53)10=()2 (ii) (A4)16=()10

(iii) (79)8=()10 (iv) (11011)2=()10

e) Find out the Addition of the Following [3]

(10011)2+(11001)2=(?)2

f) Explain the Principal of Duality ,with Example. [2]

g) Draw the logic circuit from the following expression [2]

AB+A’C

h) Prove the following [2]

A+A’B=A+B

i) Minimise the following [2]

A+{A.(B.C)}

Q 2 a) What are the supported data types in Python? [2]

b) What are the key features of Python? [3]

c) How can the ternary operators be used in python? [2]


d) Which one of these is floor division? [1]

i) /
ii) //
iii) %
iv) None of the mentioned

e) What is the maximum possible length of an identifier? [1]

f) How will you convert a string to an integer in python? [1]

3 a) Write a program in Python to find out the Middle number among three numbers
[4]

b) Write a Program in Python to obtain the Grade of a student based on the following
criteria
[4]
Marks obtain Grade
Less than 33 D
33 to 44 C
45 to 59 B
60 and above A

c) Write a Program to Find out the Simple Interest (SI) [3]

d) Find out the output of the Following – [1.5X2=3]


x=20
x=x+5
x=x-10
print (x)
x,y=x-1,50
print (x,y)

e) Find out Errors (if any) from the following code and write corrected statement
[3]
if '1' != 1:
raise "someError"
else:
print("someError has not occured")
except "someError":
print ("someError has occured")

*****************************

You might also like