FS UNIVERSITY
Shikohabad, Uttar Pradesh
Sessional Examination – II
Subject: Python Programming
Subject Cod – BCS_409
Section A (Short Answer Questions)
(Attempt all questions – 2 marks each)
[Link] are the key features of Python?
[Link] identifiers and keywords in Python with examples.
[Link] is indentation in Python? Why is it important?
[Link] different Python data types with examples.
Q5Explain different types of operators in Python.
Section B (Long Answer Questions)
(Attempt any 2 questions – 5 marks each)
[Link] the structure of a Python program and describe the process of writing and executing a simple
Python script. Also explain syntax and logical errors with examples.
[Link] Python data types in detail, including Numbers, Strings, Lists, Tuples, and Dictionaries.
Explain their declaration, operations, and built-in functions with examples.
[Link] control flow statements in Python, including conditional statements (if, if-else, nested if) and
loops (for, while). Also describe loop control statements such as break, continue, pass, and else with
examples.