0% found this document useful (0 votes)
12 views3 pages

Mid-1 QP

The document outlines the structure of the II B. Tech – II Sem - I MID Examinations for Python Programming at J.B. Institute of Engineering & Technology. It includes various questions covering topics such as object-oriented programming, string handling, variable naming rules, decision control statements, and operations on data structures in Python. Each question is designed to assess the students' understanding and application of Python concepts, with a total of 20 marks available.

Uploaded by

khaleel2791
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)
12 views3 pages

Mid-1 QP

The document outlines the structure of the II B. Tech – II Sem - I MID Examinations for Python Programming at J.B. Institute of Engineering & Technology. It includes various questions covering topics such as object-oriented programming, string handling, variable naming rules, decision control statements, and operations on data structures in Python. Each question is designed to assess the students' understanding and application of Python concepts, with a total of 20 marks available.

Uploaded by

khaleel2791
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/ 3

J.B.

INSTITUTE OF ENGINEERING & TECHNOLOGY


UGC Autonomous
II B. Tech – II Sem - I MID Examinations (2023 Batch) March-2025
PYTHON PROGRAMMING

Time: 60 Minutes Total Marks: 20


Answer all Questions
4 x 5 = 20 Marks
Explain the difference between object oriented programming and structured
programming
1
Or
Explain object oriented programming concepts
Explain how python handles string with an examples.
2 Or
Write a python program to search a given element against position from the list.
Explain the different modes of executing the python programming. (interactive mode
and script mode)
3
Or
Explain different list operation in python with examples.

Write a short note on variables and expression in python


4 or
Explain the concept of key-value pair in Dictionaries in python.

************* ALL THE BEST **************

Paper set by: Dr. Sankara Sarma K


J.B. INSTITUTE OF ENGINEERING & TECHNOLOGY
UGC Autonomous
II B. Tech – II Sem - I MID Examinations (2023 Batch) March-2025
PYTHON PROGRAMMING

Time: 60 Minutes Total Marks: 20


Answer all Questions
4 x 5 = 20 Marks
Explain different rules for naming variables in python
1 Or
Distinguish between class and object
Write a python program to find the largest element from the given elements.
2 Or
Explain different string handling function in python.
Explain different types of operators in python.

3 Or
How do you delete and update the elements in dictionary in python.

Explain type conversion in python


4 or
What are tuples and ways of accessing the tuples in python.

************* ALL THE BEST **************

Paper set by: Dr. Sankara Sarma K


J.B. INSTITUTE OF ENGINEERING & TECHNOLOGY
UGC Autonomous
II B. Tech – II Sem - I MID Examinations (2023 Batch) March-2025
PYTHON PROGRAMMING

Time: 60 Minutes Total Marks: 20


Answer all Questions
4 x 5 = 20 Marks
Does python supports user defined function? Explain with examples
1 Or
Explain various decision control statements
Write a python program to find the smallest element from the given elements.
2 Or
Explain different operations on sets in python
Explain recursion in python with example

Or
3
Write a to create a list of square of first five natural with using comprehension and
without using comprehension
Explain polymorphism and inheritance in python.
4 or
What are different string operators for comparing strings.

************* ALL THE BEST **************

Paper set by: Dr. Sankara Sarma K

You might also like