Page 1
FOR KARNATAKA 1ST PUC PREPARATORY EXAM EXAM PREPARATION
Karnataka 1st PUC
Preparatory Exam
2026
Question Paper ·
Computer Science
EXAM YEAR TYPE
Karnataka 1st PUC Preparatory Exam 2026 Question Paper
SUBJECT
Computer Science
Notes · Sample Papers · Previous Year Papers · Mock Tests
Page 2
co m .
s
e
l a
ag
GOVERNMENT OF KARNATAKA
DEPARTMENT OF S C H O L EDUCATION (PRE UNIVERSITY)
PREPARATORY QUESTION PAPER
Academic Year: 2025-26
Cl ass : I P U C
Maximum marks:70
Subject: Computer Science (41)
T i m e : 03 Hrs. No. of Questions: 45
Instructions:
o m m
( a) T h e q u e s t i o n
( b) For Part -A m
c
quest. i ons, onl y t he f i r st wri t t en a n s w e r s wi l l be consi dered f or
p a p e r h a s Fi ve part s n a m e l y A, B, C, D a n d E.
s e
s e g l a
a
evaluation.
g l PART - A a
Aa
n s w e r A L L t h e quest i ons, e a c h q u e s t i o n carri es O N E m a r k . 20 x1 = 20
Select the correct answer from the choices given.
1. W h i c h of t h e f ol l owi ng i s a val i d vari abl e name?
( a) i f ( b) pass ( C) r ol l n o ( d) age
2. W h i c h gat e o u t p u t s 1 o n l y i f b o t h i n p u t s a r e 1?
(a) AND (b) X O R ( c) N O R (d) N O T
3. The correct expansion form of R A M
m
.co
( a) Random Access Memory (b) R e a d A c c e s s M e m o r y
(' ) R e a d Accept M e m o r y (d) R a n d o m A c c e p t M e m o r y
e m
4. B a s e of h e x a d e c i m a l
( c)a8
n u m b e r s y s t e m is
l s
(b) 2
g
( a) 1 6 (d) 1 2
a
5. W h a t wi l l b e t h e o u t p u t o f t h e f o l l o w i n g c o d e :
x="python"
y = "hello"
pri nt (y + x)
( a) " p y t h o n hel l o"
( b) "hel l o pyt hon"
(c) " p y t h o n h e l l o "
m
.co
( d) h e l l o p y t h o n
m6. (a)Vi sualA l g o rrietphrme s e n t a t i o n
.co m
of a l g o r i t h m is
m
( b) codi ng ( c) F l o w c h a r t
s e
( d) Test i ng
se 7. Whi ch operat or i s used t o c o m m e n t a l i ne i n pyt hon program
g la
( a) / / b) ( c) ( d) a
8. T h e expl i ci t conversi on i s al so cal l ed as
( a) Typecast i ng ( b) I mpl i ci t conversi on
( c) C o e r c i o n ( d) T y p e C o n v e r s i o n
9. Statement used to terminate the current loop
(a) c o n t i n u e (b) b r e a k ( c) st op (d) exi t
10. W h i c h of t he f ol l owi ng i s t he m a t h e m a t i c a l f unct i on in p y t h o n
( a) i n p u t ) (b) pr i nt 0 ( c) l e n ) (d) m a x ( )
m
m .co
se
For more Question Papers, Sample Papers, Notes & Syllabus visit
gla
Page 1 of 4
Page 3
11. Concatenation of st ri ngs i s cal l ed
( a) j oi ni ng st ri ngs (b) f i nd a l e n g t h of a st ri ng
(b) r e v e r s i n g a st ri ng (d) t r a v e r s i n g st ri ng
12. C r e a t e s a n e m p t y l i st i f n o a r g u m e n t is p a s s e d t h e n it is
(a) append() ( b) l i st ( ) ( c) i nsert () ( d) e x t e n d ( )
13. W h i c h of t he f ol l owi ng i s not m e t h o d w i t h respect t o di ct i onary
( a) l en() ( b) di ct () ( c) k e y s ( ) (d) i ndex( )
14. W h i c h a m o n g t he f ol l owi ng i s t he correct st at ement t o ret ri eve el ement s f rom i ndex 2 t o 9 f rom
a t upl e
( a) t upl e1[ 2: 10] (b) t upl e1[ 2: 9] (c) t u p l e 1 [ 3 : 1 0 ] (d) t upl e1[ 3: 9]
15. W h i c h of t h e f o l l o w i n g i s a soci al m e d i a p l a t f o r m ?
(a) face book (b) c h r o m e (c) f i ref ox (d) i nt ernet expl orer
II Fi l l i n t he bl anks choosi ng t he appropri at e word/words f rom t hose gi ven i n t he bracket s.
(nest ed, def , s q u a r e , i n, mut abl e, unordered)
2 3
16. M a p p i n g i s data type
17. A l o o p i n s i d e another l o o p is c a l l e d loop
18. T h e p y t h o n f unct i on def i ni t i on begins with
19. Elements o f l i st a r e e n c l o s e d in brackets.
20. The operator c h e c k s i f t he e l e m e n t present i n t he t upl e a n d ret urns t rue, el se i t ret urns
false.
PART-B
III A n s w e r a n y F O U R q u e s t i o n s . E a c h q u e s t i o n carri es T W O m a r k s : 4x 2 =8
21. W r i t e t he s y n t a x a n d e x a m p l e of i f e l s e sel ect i on st at ement .
22. C o n v e r t t he b i n a r y n u m b e r ( 1 0 0 1 0 1 ) 2 i nt o d e c i m a l n u m b e r ()10?
23. Wri t e t he di f f er ence b e t w e e n l ocal and gl obal var i abl e?
24. W r i t e a n o t e o n h a c k i n g ?
25. W h a t i s a n A l g o r i t h m ? W r i t e a n al ogri t hm st eps t o f i nd s u m of t w o i nt eger n u m b e r s ?
26. W r i t e t he di f f erence b e t w e e n c o m p i l e r a n d i nt erpret er w i t h e x a m p l e ?
27. Wri t e a pyt hon program t o generat e t he pat t er n
12345
1234
123
12
1
For more Question Papers, Sample Papers, Notes & Syllabus visit Page 2 of 4
Page 4
.
m .co s e m
se l a
ag
PART-C
m
co
IV Answer any F O U R questions. Each question carries THREE marks: 4 x 3 = 12
28. Wri t e a p y t h o n p r o g.rca o
m m .
29. Expl ai n br i ef l y ewhim
m t o f i nd s u m of di gi t s of a n u m b e r wi t h f l owchart ?
s e
s l e l oop wi t h synt ax, f l owchar t a n d exampl es?
g l a
30. Br i ef l y expl lai a a
31. Sol ve a
g n a n y t hree Bui l t - i n f unct i ons of Di ct i onary wi t h exampl es?
t he f ol l owi ng
i) Deci mal n u m b e r 184, 10 t o Oct al , H e x a d e c i m a l a n d Bi nary N u m b e r
ii) (10101100)2 to 0ctal a n d Hexadecimal Number
32. D e f i n e repet i t i on, membership, a n d sl i ci ng operations o n st ri ngs.
33. W h a t i s a f u n c t i o n ? Write the advantages of functions in p y t h o n p r o g r a m m i n g
34. Predict the output of the following python code
m
X,y=2,3
m .co
x,y=x+2,y+3
s e
pri nt (x, y) l a
ii. a=1 ag
a+=3
print(a)
iii. name="python"
print("Hello ",nanme)
i v. a=2
m
.co
print(a>=20)
m
.co e m
V. x,y-8,6
em X,y=y,x
las
las print("x="x’y="y)
ag
ag
m
m .co s e m
se
For more Question Papers, Sample Papers, Notes & Syllabus visit
gl a
Page 3 of 4
Page 5
PART-D
A n s w e r any F O U R questions, each question carries Five marks: 4 x5 = 20
35. W h a t i s a n C o m p u t e r ? D r a w t he f unct i onal bl ock d i a g r a m of c o m p u t e r s y s t e m a n d bri ef l y expl ai n its
components.
36. W r i t e a p y t h o n p r o g r a m t o r e m o v e t h e dupl i cat e e l e m e n t s usi ng User Def i ned f unct i on wi t h
flowchart?
37. W h a t i s a r g u m e n t and Parameter? W h a t d o y o u m e a n b y def aul t parameters expl ai n with an
example and explanation?
3 8 . W h a t is b i g d a t a ? M e n t i o n t h e charact eri st i cs o f b i g dat a.
3 9 . W h a t is a f l o w c h a r t ? W r i t e di f f erent flowchart symbols a n d i t s f unct i ons.
40. Expl ai n f or l oop wi t h synt ax, f l owchart a n d an e x a m p l e ?
41. Br i ef l y expl ai n t he f ol l owi ng bui l t i n f unct i ons f or l i st mani pul at i ons
a. s o r t e d ( ) b. a p p e n d ( ) c. ext end O d. i nsert (0 e. c o u n t [ )
VI Answer any T W O questions, each question carries FIVE marks 2 x5 = 10
42. Expl ai n b r e a k a n d cont i nue st at ement wi t h synt ax a n d e x a m p l e ?
43. Br i ef l y expl ai n t he t upl e operat i ons with examples?
44. Br i ef l y expl ai n t he st eps used f or probl em sol vi ng?
45. W h a t do you m e a n by dictionary? Explain different bui l t -i n methods of dictionary?
k***k**
For more Question Papers, Sample Papers, Notes & Syllabus visit Page 4 of 4