0% found this document useful (0 votes)
2 views1 page

Basic Programming

This document is an examination paper for B.VOC Sem I in Basic Programming at MK University Patan, established by the Gujarat government and recognized by UGC. It includes instructions for the exam and a series of questions covering topics such as Python functions, event-driven programming in Scratch, Integrated Development Environments, variable definitions, data types, comparisons between lists and tuples, conditional statements, and looping in Python. The exam consists of one compulsory question and five additional questions to be attempted.

Uploaded by

coe
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views1 page

Basic Programming

This document is an examination paper for B.VOC Sem I in Basic Programming at MK University Patan, established by the Gujarat government and recognized by UGC. It includes instructions for the exam and a series of questions covering topics such as Python functions, event-driven programming in Scratch, Integrated Development Environments, variable definitions, data types, comparisons between lists and tuples, conditional statements, and looping in Python. The exam consists of one compulsory question and five additional questions to be attempted.

Uploaded by

coe
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

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)

You might also like