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

Ia Py

The document outlines the second internal assessment for the Introduction to Python Programming course at Adichunchanagiri Institute of Technology. It includes a list of questions related to Python data structures, string handling methods, and file system operations, with each question assigned specific marks and cognitive levels. Students are required to provide programming examples to illustrate their answers for various topics such as lists, dictionaries, tuples, 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 DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views1 page

Ia Py

The document outlines the second internal assessment for the Introduction to Python Programming course at Adichunchanagiri Institute of Technology. It includes a list of questions related to Python data structures, string handling methods, and file system operations, with each question assigned specific marks and cognitive levels. Students are required to provide programming examples to illustrate their answers for various topics such as lists, dictionaries, tuples, 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 DOCX, PDF, TXT or read online on Scribd

4 A I

ADICHUNCHANAGIRI INSTITUE OFTECHNOLOGY,


SECOND INTERNALASSESSMENT
DepartmentofComputerScience&Engineering
Introduction to Python Prgramming-BPLCK205B
[Link] Question COs RBT Marks
Level
Discuss list and dictionary data structure with example
1 CO2 L1 5
for each.
OR
2 Tuples are immutable. Explain with Python programming
CO2 L2 5
example.

Explain with a programming example to each:


3 (i) get() CO2 L2 5
(ii) setdefault()

OR
4 Explain keys, values and items methods in a dictionary with
suitable programming example. CO2 L2 5

5 Explain Python string handling methods with examples:


split(),endswith(), CO3 L2 5
ljust(), center(), lstrip()

OR
6 Discuss different paths of file system.
CO3 L2 5

7 Explain how to read and Write into a file? illustrate with


python program CO3 L2 5

OR
8 Develop a Python program find the total size of all the files in the
CO3 L3 5
given directory.

9 Read a multi-digit number (as chars) from the console. Develop a


program to print the frequency of each digit with suitable message. CO3 L3 5

OR
10

You might also like