0% found this document useful (0 votes)
10 views2 pages

Python Programming EL

The document is an examination paper for Python Programming with a duration of 3 hours and a total of 60 marks. It consists of seven questions, of which candidates must attempt five, with questions 1 and 2 being emphasized as important. The paper includes multiple-choice questions, short answer questions, and detailed explanation prompts covering various Python concepts such as tuples, exceptions, lists, modules, and more.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views2 pages

Python Programming EL

The document is an examination paper for Python Programming with a duration of 3 hours and a total of 60 marks. It consists of seven questions, of which candidates must attempt five, with questions 1 and 2 being emphasized as important. The paper includes multiple-choice questions, short answer questions, and detailed explanation prompts covering various Python concepts such as tuples, exceptions, lists, modules, and more.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Python Programming EL.

1
Time :- 3 hours Full Marks :- 60
Instruction:-
i. The marks indicated Wright hand Side.
ii. There are Seven question in this paper
iii. Attempt Five question in all
iv. Question Nos. 1 and 2 is Important

1. Choose correct Answer of the following 6x2


a. Is Python case sensitive when dealing with identifiers?
a) no
b) yes
c) machine dependent
d) none of the mentioned
b. Is Python code compiled or interpreted?
a) Python code is both compiled and interpreted
b) Python code is neither compiled nor interpreted
c) Python code is only compiled
d) Python code is only interpreted
c. Which of the following is used to define a block of code in Python language?
a) Indentation
b) Key
c) Brackets
d) All of the mentioned
d. Which of the following character is used to give single-line comments in Python?
a) //
b) #
c) !
d) /*
e. What will be the output of the following Python code?
i=1
while True:
if i%3 == 0:
break
print(i)

i+=1
a) 1 2 3
b) error
c) 1 2
d) none of the mentioned
f. What is the order of precedence in python?
a) Exponential, Parentheses, Multiplication, Division, Addition, Subtraction
b) Exponential, Parentheses, Division, Multiplication, Addition, Subtraction
c) Parentheses, Exponential, Multiplication, Addition, Division, Subtraction
d) Parentheses, Exponential, Multiplication, Division, Addition, Subtraction
g. Which of the following is true for variable names in Python?
a) underscore and ampersand are the only two special characters allowed
b) unlimited length
c) all private members must have leading and trailing underscores
d) none of the mentioned
h. What are the values of the following Python expressions?

2**(3**2)
(2**3)**2
2**3**2
a) 512, 64, 512
b) 512, 512, 512
c) 64, 512, 64
d) 64, 64, 64

2. Answer any three of the following. 4x3


i. Discuss Tuple.
ii. What are the different types of Exception In Python.
iii. Define List in Python with an Example.
iv. What are the benefits of using Python.
v. What are different types of operator explain it.
vi. Discuss directory in Python.
3. Explain Identifier naming concept in Python ? 12
4. Define Modules in Python Explain the ways define module in Python ? 12
5. Explain the Range function in python. 12
6. With the help of an example , Explain the concept of accessibility of variable in Nested Function.
12
7. What is Slice Operation Explain with an example. 12

You might also like