(SEM IV) THEORY EXAMINATION 2022-23 PYTHON PROGRAMMING
SECTION A — What This Section Covers
Section A contains 10 short, 2-mark questions checking the student’s basic understanding of Python fundamentals.
Topics include the Python programming cycle, use of __init__(), features of IDEs, loop control statements (break, continue), mutable sequences, nested loop output, special methods (__le__, __ne__), file modes, exception-handling terms (assert, try-except, raise), and writing a simple Python function (linear search).
This section tests whether the student understands core Python concepts, syntax behaviour, OOP basics, file handling, and simple function writing.
SECTION B — What This Section Covers
Section B has any three 10-mark questions, focusing on coding, explanation, and comparison of Python data structures and algorithms.
It includes writing Python code for Fibonacci (recursion), algorithm for prime number generation, comparison of list vs tuple with list comprehensions, implementation of stack ADT, and program for selection sort along with simulation on given data.
This section checks the student’s ability to write Python programs, explain logic, compare structures, and apply algorithms in Python.
SECTION C — What This Section Covers
Section C contains five long questions, each having two choices, and the student must attempt one from each.
The topics include:
Categories of Python operators with stepwise evaluation of complex expressions.
History, features, and explanation why Python is an interpreted language, along with Python 2 vs Python 3 differences.
String-based programs such as counting vowels or capitalizing multiple lines.
List and dictionary data structures with methods and examples.
Iterators, file creation, counting letters/digits into a file; or types of inheritance with static/instance/class methods.
Recursive problems such as Tower of Hanoi, or merge sort, including comparison of algorithm time complexities.
This section evaluates deeper understanding of Python programming logic, OOP concepts, recursion, file handling, inheritance, data structures, operator behaviour, and algorithm efficiency.
Related Notes
BASIC ELECTRICAL ENGINEERING
ENGINEERING PHYSICS THEORY EXAMINATION 2024-25
(SEM I) ENGINEERING CHEMISTRY THEORY EXAMINATION...
THEORY EXAMINATION 2024-25 ENGINEERING MATHEMATICS...
(SEM I) THEORY EXAMINATION 2024-25 ENGINEERING CHE...
(SEM I) THEORY EXAMINATION 2024-25 ENVIRONMENT AND...
Need more notes?
Return to the notes store to keep exploring curated study material.
Back to Notes StoreLatest Blog Posts
Best Home Tutors for Class 12 Science in Dwarka, Delhi
Top Universities in Chennai for Postgraduate Courses with Complete Guide
Best Home Tuition for Competitive Exams in Dwarka, Delhi
Best Online Tutors for Maths in Noida 2026
Best Coaching Centers for UPSC in Rajender Place, Delhi 2026
How to Apply for NEET in Gurugram, Haryana for 2026
Admission Process for BTech at NIT Warangal 2026
Best Home Tutors for JEE in Maharashtra 2026
Meet Our Exceptional Teachers
Discover passionate educators who inspire, motivate, and transform learning experiences with their expertise and dedication
Explore Tutors In Your Location
Discover expert tutors in popular areas across India
Discover Elite Educational Institutes
Connect with top-tier educational institutions offering world-class learning experiences, expert faculty, and innovative teaching methodologies