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

Python Programming Exam Summer 2024

This document outlines the examination details for the Python Programming course at Dr. Babasaheb Ambedkar Technological University for Summer 2024. It includes instructions for students, a breakdown of questions across five sections, and the corresponding Course Outcomes (CO) and marks for each question. The exam covers various topics such as Python history, data types, functions, object-oriented programming, and file handling.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views2 pages

Python Programming Exam Summer 2024

This document outlines the examination details for the Python Programming course at Dr. Babasaheb Ambedkar Technological University for Summer 2024. It includes instructions for students, a breakdown of questions across five sections, and the corresponding Course Outcomes (CO) and marks for each question. The exam covers various topics such as Python history, data types, functions, object-oriented programming, and file handling.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

DR.

BABASAHEB AMBEDKAR TECHNOLOGICAL UNIVERSITY, LONERE


Regular and Supplementary – Summer 2024
Course: B. Tech. Branch: Electronics &Computer Engineering / Electronics and Computer
Science Engineering Semester :IV
Subject Code & Name: BTECPC401 Python Programming
Max Marks: 60 Date:12/06/2024 Duration: 3 Hrs.
Instructions to the Students:
1. All the questions are compulsory.
2. The level of question/expected answer as per OBE or the Course Outcome (CO) on which the
question is based is mentioned in ( ) in front of the question.
3. Use of non-programmable scientific calculators is allowed.
4. Assume suitable data wherever necessary and mention it clearly.
(Level/CO) Marks
Q. 1 Solve Any Two of the following. 12
A) Explain history of python. CO1 6
B) State and explain different features of python CO2 6
C) State atleast six differences between python programming language and ‘C’ CO4 6
programming.
Q.2 Solve Any Two of the following. 12
A) Enlist different datatypes in python. Explain how to declare and initialize CO4 6
eachdatatypes with example.
B) What is the output of following code in python? CO4 6
a=2
b=1
print(‘a+b =’,a+b)
print(‘a-b =’,a-b)
print(‘a**b =’,a**b)
print(‘a%b =’,a%b)
C) What do you mean by Slicing? If given list is CO4 6
List=[1, 2, 3, 4, 5, 6, 7, 8, 9]
How to print only even numbers from above list using slicing?
Q. 3 Solve Any Two of the following. 12
A) What do you mean by Function in python? Explain importance of user defined CO1 6
function.
B) What are different types of arguments explain in brief. CO1 6
C) Explain How to install PANDAs and NUMPY packages in python? CO3 6
Q.4 Solve Any Two of the following. 12
A) What is OOPs? Explain different features of OOPs. CO1 6
B) Explain important Exception handling Classes in python? CO1 6
C) Explain following Exceptions. CO4 6
a) IO Error
b) EOF Error
c)Import Error
Q. 5 Solve Any Two of the following. 12
A) Explain the advantages of storing data in files. CO1 6
B) Explain in steps how to open, close and Save the files in python CO4 6
C) Write a short note on Zipping and unzipping files. CO4 6

*** End ***

You might also like