Programming in Python — End Sem 2023
Programming in Python (BTCS 510-18) End Sem 2023 question paper from I.K. Gujral Punjab Technical University. Read it online or download the PDF; an answer key is included.
Questions in this paper
- Differentiate between Lists and Tuples with the help of an example. — 4 marks
- Discuss briefly about dir() and help() functions. — 2 marks
- Differentiate between an error and an exception. — 8 marks
- What is persistent storage? — 2 marks
- Explain briefly about modulus. — 2 marks
- Write a short note on global interpreter lock. — 2 marks
- What are regular expressions? — 2 marks
- Explain briefly about web surfing. — 2 marks
- Describe the relationship between child and parent windows. — 2 marks
- Write a short note on application programmer's interface (DB-API). — 2 marks
- Write a SQL command to create a table with three fields of different types. — 2 marks
- What are command-line arguments? Explain clearly the difference between 'argc' and 'argv' arguments. — 5 marks
- What is pattern-matching? Describe two ways to accomplish pattern-matching. — 5 marks
- Write a short note on Tkinter, Pmw and Tix GUI highlighting the difference among them. — 5 marks
- What are adapters in databases? Discuss various factors to be considered while choosing an adapter. — 5 marks
- What is Common Gateway Interface (CGI)? Explain in detail about the working of CGI with the help of an example. — 10 marks
- What are hash tables and how do they relate to dictionaries? Also explain how are the elements inserted, updated and removed from dictionaries. — 10 marks
- Describe the process of exception detection and handling in detail with the help of an example. What role does assertion play in exception handling? — 10 marks
Other Programming in Python papers
- Programming in Python — Mid Sem 1 2026 · Section A
- Programming in Python — Mid Sem 2 2026
- Programming in Python — Supplementary 2026 — with answer key
- Programming in Python — End Sem 2025 — with answer key
- Programming in Python — End Sem 2025 — with answer key
- Programming in Python — Mid Sem 2 2025
- Programming in Python — Supplementary 2025 — with answer key
- Programming in Python — End Sem 2024 — with answer key
- Programming in Python — End Sem 2022