MK UNIVERSITY PATAN
ESTABLISHED BY THE GUJARAT GOVT. RECOGNIZED BY UGC UNDER SECTION 2(f) OF UGC ACT,1956
[Link] Sem I BVOC103
SUBJECT: Basic Programming MARKS: 70
DATE: 28-01-2026 TIME: 2 hrs. 30 mins
Instructions:
1. Question No. 1 is compulsory.
2. Attempt any FIVE questions from Question No. 2 to 8.
3. All questions carry equal marks unless stated otherwise.
4. Figures to the right indicate marks.
Q1) Define a function in Python. Explain the need for modular programming. Describe
function definition, function calling, and return statements. Explain how functions improve
code reusability and readability. (20M)
Q2) Describe event-driven programming in Scratch. Explain how keyboard events, broadcast
messages, and callbacks are used in interactive programs. (10M)
Q3) What is an Integrated Development Environment (IDE)? Discuss its advantages in
program development. (10M)
Q4) Define variables in Python. Explain rules for naming variables and assigning values.
(10M)
Q5) Explain different data types in Python: strings, integers, floats, lists, tuples, and
dictionaries.(10M)
Q6) Compare lists and tuples with suitable examples. Discuss mutability and indexing.(10M)
Q7) Describe the use of if, if/else, and if/elif/else statements with suitable examples.(10M)
Q8) Explain looping in Python using while and for loops.(10M)