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

Document (8)

The document contains a list of questions and programming tasks related to Python, categorized into 2-mark and 4-mark questions. Topics include features of Python, data types, operators, file handling, and object-oriented programming concepts. It also includes programming exercises such as finding factorials, creating dictionaries, and demonstrating user-defined functions.

Uploaded by

kalyanipawar1310
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)
2 views4 pages

Document (8)

The document contains a list of questions and programming tasks related to Python, categorized into 2-mark and 4-mark questions. Topics include features of Python, data types, operators, file handling, and object-oriented programming concepts. It also includes programming exercises such as finding factorials, creating dictionaries, and demonstrating user-defined functions.

Uploaded by

kalyanipawar1310
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/ 4

PWP ( Msbte Questions)

 2 marks :-

1) List features of Python.


2) Describe membership operators in
python.
3) Write down the output of the following
Python code:
>>>indices=[‘zero’,’one’,’two’,’three’,’four’,’
five’]
>>>indices[:4]
>>>indices[:-2]

4) Describe any two data conversion


function.
5) With neat example explain default
constructor concept in Python.
6) Describe mkdir() function.
7) Describe Multiline comment in python.
8) Name different modes of python.
9) List identity operators in python.
10) Give two differences between list and
tuple.
11) Explain Local and Global variable.
12) Define class and object in python.
13) How to give single and multiline
comment in python.
14) List different modes of opening file in
python.
15) List Python features. (Any four)
16) List comparision operators in Python.
17) Describe Tuples in Python.
18) Write use of lambda function in python.
19) Write syntax of defining class in Python.
20) List file operations in Python.
21) Describe indentation in Python.

 4 marks :-

Describe Keyword “continue” with example.


Explain creating Dictionary and accessing
Dictionary elements with example.
Explain any four Python’s Built-in Function with
example.
Write a Python program to find the factorial of a
number provided by the user.
Write a python program to input any two tuples
and interchange the tuple variables.
Explain Bitwise operator in Python with
appropriate example.
With neat example differentiate between
readline() and readlines() functions in file-
handling.
Describe ‘Self’ Parameter with example.
Differentiate between list and Tuple.
Explain any four file modes in Python.
Write a program to show user defined exception
in Python.
Explain Module and its use in Python.

Write a program to print following:


1
12
123
1234
Explain four Buit-in tuple functions python with
example.
Explain how to use user defined function in
python with example.
Write a program to create class EMPLOYEE with
ID and NAME and display its contents.
List Data types used in python. Explain any two
with example.
Explain membership and assignment operators
with example.
Explain indexing and slicing in list with example.
Write a program for importing module for
addition and substraction of two numbers.
Write a program to create dictionary of students
that Includes their ROLL NO. and NAME.
i) Add three students in above dictionary
ii) Update name = ‘Shreyas’ of ROLL NO =
2
iii) Delete information of ROLL NO = 1
Explain decision making statements If- else, if-
elif- else with example.
Explain use of format () method with example.
Explain building blocks of python.
Write a program illustrating use of user defined
package in python.

You might also like