0% found this document useful (0 votes)
119 views

12th Computer Science Interior Questions EM

Uploaded by

mohamedazif15
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)
119 views

12th Computer Science Interior Questions EM

Uploaded by

mohamedazif15
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/ 1

www.kalvikadal.in https://material.kalvikadal.

in
K.RAJA, M.SC, B.Ed., PG. ASS.IN COM.SCI. Ph:9585776103

Selvam Matric Hr.Sec.School – Namakkal.


XII -CS Interior Question
8. Strings and string manipulation
I. Function 2 & 3 Marks
(2 & 3 Marks) 1. What is swap curse ( ) write with an example.
1. What is impure function? 2. What will be the output of the given python
2. Define parameter and arguments. program.
3. What is recursive function? Str=“COMPUTER SCIENCE’
4. Write a syntax of function Definition. (i) Print (Str * 2)
5 Mark ii) Print (Str [0:7])
1. Explain chameleons of chrome land problem 3. What is the use of the operator + = in python
using function. string Operation?
5 Mark
2. Data Abstraction 1. Write short note on the following built in string
2 Mark function
1. Define Abstraction i) capitalize ii) isalpha ( ) iii) isalnum ( )
5 Mark iv) lower ( )
1. How will you access elements of a list? 2. Explain the following string functions with
suitable example.

n
3. Scoping i) Center ( ) ii) Find ( )
2 Mark 3. What the Output for the following python

l.i
1. What are modules? command.
i) Print (strl)
4. Algorithmic Strategies ii) Print (strl [11 : 17])

da
2 & 3 Marks iii) Print (strl [11:17:2])
1. What is Algorithm? List any 3 characteristics of iv) Print (strl [: : 4])
algorithm. v) Print (strl [: : -4])
2. Mention two components of space complexity. 4. Explain : i) What is slicing?
ka
3. What is memorization? ii) What is the output for the following :
4. What are the two different phases of analysis of str = “Thinking with python”
algorithm? i) Print (str [: : 3])
ii) Print (str [ : : -3])
iii) Print (str [9 : 13])
vi
5. Python variables and operators.
2 & 3 Marks
1. Define operator and operand. 9. List, toples, set and Dictionary
2 & 3 Marks
al

2. What is keyword?
5 Mark 1. What will be output of the following snipped?
1. Explain different operators in python. Alpha = list (range [65,70])
2. Explain python data types for x in alpha :
.k

Print (chr (x), end = ‘/t’)


6. Control Structures 2. What will be output of the following lode?
2 & 3 Marks List = [3 * * for x in range (5)]
w

1. Write a program to print following pattern Print (list).


**** * 1 3. Compare remove ( ), Pop ( ), and clear ( )
w

**** 12 function.
*** 123
** 1234 10. Python class and object
w

* 12345 2 & 3 Marks


2. Which jump statement is used as place holder? 1. Write the output of the following program.
Why? Class hosting:
3. Write a program to display 3 digit even def_init_ (self, name):
numbers. self. _name=name
Def display (self) :
7 Python function Print (“Welcome to’, self. _name)
2 & 3 Marks obj=Hosting (“python Programming”)
1. Write a syntax of user define function in Obj. display ( )
python. 3. Write the output of the following program.
2. What is the use of lambda function? Class Greeting:
3. What are the different types of function def_init_ (self, name):
arguments in python. Self. _name=name
4. Write short note on Def display (self):
a) id( ) b) type ( ) c) chr ( ) Print (“Good Morning”, self. _name)
5. What is return statement? obj=Greeting (‘Tamil Nadu”)
6. What is block? obj. Display ( )
7. What is nested block? 5 Mark
5 Mark 1. How do define constructor and destructor in
1. Explain lamda function with example. python? Explain with example?
Please send your Materials, Guides & Question Papers to [email protected] (or) Whatsapp - 9385336929

You might also like