0% found this document useful (0 votes)
41 views2 pages

BPLCK105B

This document outlines the examination structure for the Introduction to Python Programming course at MVJ College of Engineering, including details on the duration, maximum marks, and question format. It consists of two parts: Part A with short answer questions and Part B with detailed programming tasks divided into five modules. Students are required to answer all questions in Part A and any five full questions from Part B, ensuring coverage of various Python programming concepts.

Uploaded by

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

BPLCK105B

This document outlines the examination structure for the Introduction to Python Programming course at MVJ College of Engineering, including details on the duration, maximum marks, and question format. It consists of two parts: Part A with short answer questions and Part B with detailed programming tasks divided into five modules. Students are required to answer all questions in Part A and any five full questions from Part B, ensuring coverage of various Python programming concepts.

Uploaded by

angelotommy006
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 2

MVJ COLLEGE OF ENGINEERING-BANGALORE

Second Semester B.E. Degree (Autonomous) Examinations, Sep/Oct


2023

USN MVJ22PLCK25B

Introduction to Python Programming


Common to All Branches
Duration: 3 Hrs.
Maximum Marks: 100
Note:
 Answer all Questions in Part-A.
 Answer any five full questions in Part B choosing one full question from each
module.
PART-A
Q.No. Mark
s
1 Recall the need of String Data Types in python. 02
2 Interpret the use of return Statements. 02
3 Infer the necessity of List Data Type in python. 02
4 Define the need of Tuples. 02
5 Classify the major differences between lower(), upper(),title() 02
functions in strings.
6 Categorize the importance of File Paths. 02
7 Infer the importance of shutil Module. 02
8 Explain any 2 key points of Assertions. 02
9 Determine why Pure functions is required in python. 02
10 Identify the use of __str__ method in python. 02

Part B
Each Questions carries 16 Marks
Q,No. Mark
s
Module-1
1 a) Illustrate any 3 Operators in Python with suitable coding snippets. 08
b) Differentiate between the user defined and built in functions. List 08
any four built in functions.
OR
2 a) Summarize the following with suitable programs. 08
Default argument
Keyword arguments (named arguments)
Positional arguments
Arbitrary arguments
1|2Pages MVJ22PLCK25B
b) Explain iteration with its types by specifying suitable examples. 08

Module-2
3 a) Develop a Python program to interchange first and last elements in 08
a list.
b) Compute a program to Find the Length of a List in Python using 08
sum().
OR
4 a) Illustrate the importance of Anonymous Functions in Python with 08
coding snippet.
b) Categorize the need of Exception Handling in python with 08
necessary code.
Module-3
5 a) Develop a Python program to Count occurrences of an element in a 08
list.
b) Compute a Python Program to find sum and average of List. 08
OR
6 a) Recall a Python program to find the sum of all items in a dictionary. 08
b) Infer a Python program to find the size of a Dictionary. 08
Module-4
7 a) Compute a Python program to Avoid Spaces in string length. 08
b) Develop a Python program to print even length words in a string. 08
OR
8 Categorize the importance of Files and File Paths in Python with 16
examples.
Module-5
9 Illustrate the importance of Compressing Files with the zipfile 16
Module in python.
OR
10 Categorize the core concepts of Assertions with suitable coding 16
snippet.

2|2Pages MVJ22PLCK25B

You might also like