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

22 PLC15 Bset 1

The document outlines a course syllabus for an Introduction to Python Programming class. It includes 5 modules covering Python syntax, control flow, data structures, and exceptions. For each module, it lists 3-5 learning objectives and associated Bloom's Taxonomy levels. Scoring breakdowns and expectations are provided for assignments covering various Python concepts.

Uploaded by

Geetha Panneer
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)
32 views2 pages

22 PLC15 Bset 1

The document outlines a course syllabus for an Introduction to Python Programming class. It includes 5 modules covering Python syntax, control flow, data structures, and exceptions. For each module, it lists 3-5 learning objectives and associated Bloom's Taxonomy levels. Scoring breakdowns and expectations are provided for assignments covering various Python concepts.

Uploaded by

Geetha Panneer
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
You are on page 1/ 2

23PLC25B

First/Second Semester B.E. Degree Examination


Introduction to Python Programming

Department Chemistry Semester II Academic Year: 2023-2024


Course Name Introduction to Python Programming
Course Code 23PLC25B Course Credits 3 LTPS 2:0:2:0
Name of the
R.Geetha
Course Teacher:
Email [email protected] Mobile Number 8148039036

Bloom’s
Module -1 Taxonomy Marks
Level
1 a With Python programming examples to each, explain the syntax and CO3-L2 08
control flow diagrams of break and continue statements.
b Write a simple program of your choice that says hello and then asks for CO1-L2 04
your name, age, and the length of your name.
c Explain Python programming language along with its salient features in CO1-L2 08
detail.
2 a Explain the terms print( ), input( ) and string replication with an example. CO1-L2 04

b Explain TWO ways of importing modules into application in Python with CO2-L2 06
syntax and suitable programming examples.
c Write a function to calculate factorial of a number. Develop a program to CO2-L3 06
Compute binomial coefficient (Given N and R).
3 a What is an arithmetic expression? . What is the output of this statement? CO2-L3 6
‘hello world’ + 100 + ’how are you’ explain the reason if the statement
produces an error.
b Discuss various methods of importing modules in Python programs. CO1 – L1 7
Which method is best?
c Express why would you use a try-except statement in a program? CO2-L2 06

4 a What is a flow control statement?. Discuss if and if else statements with flow CO1 - L1 7
chart.
b Write a python program to add n numbers accepted from the user. CO2 – L3 7
c How can you prevent a python program from crashing? discuss different CO2 – L2 6
ways to avoid crashing.
5 a Explain concept of Exception handling with to convert temperature from
Celsius to Fahrenheit using try and except block.
CO2-L2 06
b Develop a Python program to generate Fibonacci sequence of length (N).
Read N from the console.
CO3-L3 04
c Write a program to read the student details like Name, USN, and Marks CO2-L3 05
in three subjects. Display the student details, total marks and percentage
with suitable messages.

Page 01 of 02
23PLC25B
Module-2
1 a Discuss list and dictionary data structure with example for each. CO2 – L1 6
b write a python program to accept n numbers and store them in a list. Then CO2 – L2 6

print the list without ODD numbers in it.


c For a=[‘hello’, ‘how’, [1,2,3], [[10,20,30]]] what is the output of following CO2 – L3 8
statement (i) print( a[ : : ] ) (ii) print(a[-3][0]) (iii) print(a[2][ : -1])
(iv) print(a[0][ : : -1])
2 a Write a python program to read dictionary data and delete any given key CO3 – L23 6

entry in the dictionary.


b Explain different clipboard functions in python used in wiki markup CO2 – L2 6

c Using string slicing operation write python program to reverse each word CO2 – L3 8
in a given string (eg: input: “hello how are you”, output: “olleh woh era
uoy”)
3 a Determine whether you should use tuples or lists to store the student CO2-L3 08
information. Justify your choice with suitable examples.
b Define a list? Explain the append (), insert (), and remove () methods CO2-L3 05
associated with lists in Python.
c Demonstrate with an example the use of both positive and negative CO2-L3 07
indexing, showcasing their respective roles in accessing list elements
effectively.
4 a Explain the following list method with example. CO2-L2 10
 index()
 append()
 insert(),
 sort(),
 reverse()
b Write a python program to create a dictionary of 10 key-value pairs and print CO2-L3 05
only keys on the screen.
c Explain in and not in operators used in lists with an example. CO2-L1 05

5 a
b
c

Page 02 of 02

You might also like