0% found this document useful (0 votes)
5 views4 pages

XI - CS (Computer Science) STUDY Materials

The document outlines the exam portions for a Computer Science half-yearly exam for class XI, detailing the chapters covered and the marking scheme. It includes a series of questions related to Python programming concepts such as expressions, data types, and functions. Additionally, it features practice sets with various coding and evaluation questions to assess understanding of the material.

Uploaded by

prabhakaran4558
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)
5 views4 pages

XI - CS (Computer Science) STUDY Materials

The document outlines the exam portions for a Computer Science half-yearly exam for class XI, detailing the chapters covered and the marking scheme. It includes a series of questions related to Python programming concepts such as expressions, data types, and functions. Additionally, it features practice sets with various coding and evaluation questions to assess understanding of the material.

Uploaded by

prabhakaran4558
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

STD: XI Computer Science [HALF- YEARLY EXAM PORTIONS]

TOTAL CHAPTERS:
Chapter-4 Python Fundamentals
Chapter-5 Conditional and LOOPING statement
Chapter-6 STRINGS IN PYTHON
Chapter-7 LISTS in PYTHON
Chapter-8 TUPLES AND DICTIONARY
Chapter-9 FUNCTIONS AND MODULES

BLUE- PRINT
SEC-A 21 *1 =21 marks
SEC-B 7*2=14 marks
SEC-C 3 *3= 9 marks
SEC-D 4*4 =16 marks
SEC-E 2*5 =10 marks

[Link] the following expression: 51+4-3**3//19-3


Which of the following will be the correct output if the expression is evaluated?
a. 50 b. 51 c. 52 d. 53
[Link] the correct output of the code:
Str=“Computer”
Str=Str[-4:]
print(Str*2)
a. uter b. uterretu c. uteruter d. None of these
[Link] of the following is not a valid identifier name in Python?
a) 5Total b) _Radius c) pie d)While
[Link] will the following expression be evaluated to in Python? 10*1*2**4-4//4
5. State True or False
“The characters of string will have two-way indexing.”
[Link] will be the output of the following code?
D1={1: “One”,2: “Two”, 3: “C”}
D2={4: “Four”,5: “Five”}
[Link](D2)
print (D1)
a) {4:’Four’,5: ‘Five’} b) Method update() doesn’t exist for dictionary
c) {1: “One”,2: “Two”, 3: “C”}d) {1: “One”,2: “Two”, 3: “C”,4: ‘Four’,5: ‘Five’}
[Link] the correct output of the following code :
s=“I#N#F#O#R#M#A#T#I#C#S”
L=list([Link](‘#’))
print(L)
a) [I#N#F#O#R#M#A#T#I#C#S] b) [‘I’, ‘N’, ‘F’, ‘O’, ‘R’, ‘M’, ‘A’, ‘T’, ‘I’, ‘C’, ‘S’]
c) [‘I N F O R M A T I C S’] d) [‘INFORMATICS’]
[Link] will the following expression be evaluated to in Python?
print(6*3 / 4**2//5-8)
(a) -10 (b) 8.0 (c) 10.0 (d) -8.0
[Link] of the following expressions is an example of type casting?
a) 4.0+float(6) b) 5.3+6.3 c) 5.0+3 d) None of these
[Link] will be the output of the following statements?
a = [0, 1, 2, 3]
del a[:]
print(a)
a) None b) [ ] c) [0, 1, 2, 3] d) NameError
[Link] will be the output after the following statements?
x = 27
y=9
while x < 30 and y < 15:
x=x+1
y=y+1
print(x,y)
a) 26 11 b) 25 11 c) 30 12 d) 26 10
[Link] the expression given below. The value of X is:
X = 2+9*((3*12)-8)/10
a) 30.0 b) 27.2 c) 28.4 d) 30.8
[Link] the given expression:
not False or False and True
Which of the following will be correct output if the given expression isevaluated?
(a) True b)False c)NONE d) NULL
[Link] the correct output of the code:
Str = "KENDRIYA VIDYALAYA SANGATHAN JAMMU REGION"
Str = [Link]()
NewStr = Str[0] + "#" + Str[1] + "#" + Str[4]
print (NewStr)
a) KENDRIYA#VIDYALAYA#SANGATHAN# JAMMU
b) KENDRIYA#VIDYALAYA#SANGATHAN
c) KENDRIYA#VIDYALAYA# REGION d) None of these
[Link] of the following statement(s) would give an error after executing thefollowing
code?
P ="FIRST PRE BOARD" # Statement 1
print(P) #Statement 2
P = P[1:7] + "Questions" # Statement 3
P[0] = '&' # Statement 4
P =P + "Over" # Statement 5
(a) Statement 3 b) Statement 4 (c) Statement 5 d) Statement 4 and 5
[Link] will the following expression be evaluated to in Python?
print(75.0 / 4 + (2** 3))
(a) 20.5 (b)20.05 (c) 18.25 (d) 17.75
PRACTISE – SET 02

[Link] is a valid identifier in python?


(a) int (b) len (c) ssum1 (d) all of them
[Link] is the output of the following?
print('KV Sangathan'.split('an'))
(a) ['KV S', 'gath', ' '] (b) [‘KV Sangathan’,’an’]
(c) [‘KV’,’Sang’,’athan’] (d) All of them
[Link] the following code is executed, what will be the output of the following code?
name="KendriyaVidyalayaSangathan"
print(name[10:19])
(a) Kendriya (b) Vidyalaya
(c) Sangathan (d) nryiy
[Link] will the following expression be evaluated to in python?
print(15.0/4+(8*3.0))
(a) 14.5 (b) 14.0 (c) 27.7 (d) 15.5
[Link] the following expressions:
(a) 5 // 10 * 9 % 3 ** 8 + 8 – 4
(b) 65 > 55 or not 8 < 5 and 0 != 55
[Link] True or False
“variable declaration is implicit in Python”
[Link] of the following is an invalid datatypes in Python?
(a) Set(b) None(c) Integer(d) Real

[Link] the following dictionaries


exam={"Exam":"AISSCE","Year":2023}
result={"Total":500,"Pass_Marks":165}
(a) dict_exam.update(result) (b) dict_exam+result
(c) dict_exam.add(result) (d) [Link](result)

[Link] a tuple T is declare as:


T=(10,12,43,39)
Which of the following is in correct?
(a) print(t[1]) (b) T[2]=-29 (c) print(max(T) (d) print(len(T))

[Link] is the output of the following?


print('KV Sangathan'.split('an'))
(a) ['KV S', 'gath', ' '](b) [‘KV Sangathan’,’an’]
(c) [‘KV’,’Sang’,’athan’]
(d) All of them

[Link] is the output of the following code.


Str1=”Hello World”
[Link]('o','*')
[Link]('o','*')
(a) Hello World (b) Hell* W*rld (c) Hello W*rld (d) Error
[Link] function is used to display the total number of records from table in a database?
(a) sum(*) (b) total(*) (c) count(*) (d) return(*)
[Link] the following expressions:
(a) 5 // 10 * 9 % 3 ** 8 + 8 – 4(b) 65 > 55 or not 8 < 5 and 0 != 55
[Link] is the correct form of declaration of dictionary?
a) Day={1:’Monday’,2:’Tuesday’,3:’Wednesday’}b)
Day={‘1:Monday’,’2:Tuesday’,’3:Wednesday’}
c) Day=(1:’Monday’,2:’Tuesday’,3:’Wednesday’)d)
Day=[1:’Monday’,2:’Tuesday’,3:’Wednesday’]
[Link] will be the output for the following Python statement?
T=(10,20,[30,40,50],60,70)
T[2][1]=100
print(T)
a) (10,20,100,60,70) b) (10,20,[30,100,50],60,70)
c) (10,20,[100,40,50],60,70) d) None of these
[Link] the following expression and identify the correct answer:
16 – (4 + 2) * 5 + 2**3 * 4
a) 54 b) 46 c) 18 d) 32

You might also like