Effective From
BHAGWAN MAHAVIR UNIVERSITY (2025-2026)
Bachelor of Technology (Computer Science & Engineering)
Semester: III
Degree program in which this course is offered Semester in which offered
Computer Science & Engineering Third Semester
Teaching Scheme (Hours)
Subject Practical
Subject Title
Code Practical redits
C Examination Marks Total Marks
Internal External
Python
2010219305 Programming - 4 2 20 30 50
Practical
Duration of Exam: 2:00 Hours
Prerequisite:
Students should have basic computer literacy, including familiarity with operating systems
and file handling. They are expected to understand fundamental programming concepts such as
variables, data types, operators, and control structures. Basic logical thinking and problem-solving
skills, along with simple mathematical understanding, are required. Prior exposure to any
programming language like C, C++, or Java isbeneficialbutnotmandatory.Additionally,students
should be able to interpret simple algorithms and use basic code editors or IDEs for program
execution.
Objective of the course:
The objective of this course is to develop practical programming skills using Python by
enabling students to write, execute, and debug programs effectively. It aims to build a strong
foundation in problem-solving, data handling, and the use of Python libraries for real-world
applications. The course also focuses on enhancing logical thinking and preparing students for
advanced areas such as data science, automation, and software development.
Course Outcomes:
The theory should be taught and practices should be carried out in such a manner that
studentsareabletoacquiredifferentlearningobjectivesinthecognitive,psychomotor,andaffective
domain to demonstrate the following course outcomes.
At the end of the course students will be able to:
Registrar Dean- Academics Chairman - BOS
Effective From
BHAGWAN MAHAVIR UNIVERSITY (2025-2026)
r.
S arks %
M
CO statement
No. weightage
Developessentialprogrammingskillsincomputerprogrammingconceptslike
CO-1 10
d ata types, containers
CO-2 Apply the basics of programming in the Python language 20
CO-3 Solve coding tasks related conditional execution, loops 20
olve coding tasks related to the fundamental notions andtechniquesusedin
S
CO-4 30
object-oriented programming
Be able to understand the various data structures available in Python
O-5
C 20
programming language and apply them in solving computational problems.
List of Practical:
Sr. otal
T
Practical
No. Hours
1 rite a program that takes multiple inputs from the user (name, age, marks) and
W 2
displays a formatted summary using string formatting techniques.
2 rite a program that performs arithmetic, relational, and logical operations on
W
2
user-provided values and displays results with proper explanations.
rite a program that asks the user to enter a number and determines whether it is
W
3 positive, negative, or zero, and also checks if it is even or odd using conditional 2
statements.
4 rite a program that uses loops to generate multiplication tables for a given number
W 2
and displays them in a structured format.
5 rite a program that uses nested loops to generate a customizable numeric pattern
W 2
based on user input (rows and columns).
6 rite a program that asks the user to enter temperature in Celsius and converts it into
W 2
Fahrenheit and Kelvin using appropriate formulas.
7 rite a program that generates a random number within a given range and allows the
W 2
user multiple attempts to guess it with hints (higher/lower).
8 rite a program that asks the user to enter a sentence and performs various string
W 2
operations such as counting vowels, consonants, digits, and special characters.
9 rite a program that asks the user to enter two strings and checks whether they are
W 2
anagrams of each other.
10 W
rite a program that uses string methods to validate a password based on given 2
conditions (length, uppercase, lowercase, digit, special character).
Registrar Dean- Academics Chairman - BOS
Effective From
BHAGWAN MAHAVIR UNIVERSITY (2025-2026)
11 W
rite a program that generates a list of N numbers entered by the user and performs 2
operations such as sum, average, maximum, minimum, and sorting.
12 W
rite a program that generates a list of random numbers and separates them into even 2
and odd lists and counts their occurrences.
13 W
rite a program that performs set operations on two user-defined sets and displays 2
union, intersection, difference, and symmetric difference.
14 W
rite a program that creates a tuple of numbers and performs slicing, indexing, and 2
finds statistical measures like min, max, and sum.
15 W
rite a program that creates a dictionary of student details and performs operations 2
such as searching, updating, deleting, and sorting by keys.
16 W
rite a program that defines multiple user-defined functions to perform operations 2
like factorial, Fibonacci series, and prime number checking.
17 W
rite a program that merges two sorted lists into a single sorted list using both built-in 2
methods and manual logic.
18 W
rite a program that implements linear search on a list and counts the number of 2
comparisons made.
19 W
rite a program that implements binary search on a sorted list and compares its 2
efficiency with linear search.
20 W
rite a program that implements and compares at least two sorting algorithms (bubble 2
sort and selection sort) based on execution steps.
21 W
rite a program that reads a text file and performs operations such as counting words, 2
lines, and frequency of each word.
22 W
rite a program that handles different types of exceptions using try, except, else, and 2
displays appropriate error messages.
23 W
rite a program that takes multiple inputs from the user (name, age, marks) and 2
displays a formatted summary using string formatting techniques.
24 W
rite a program that performs arithmetic, relational, and logical operations on 2
user-provided values and displays results with proper explanations.
rite a program that asks the user to enter a number and determines whether it is
W
25 positive, negative, or zero, and also checks if it is even or odd using conditional 2
statements.
26 Write a program that uses loops to generate multiplication tables for a given number 2
Registrar Dean- Academics Chairman - BOS
Effective From
BHAGWAN MAHAVIR UNIVERSITY (2025-2026)
and displays them in a structured format.
27 W
rite a program that uses nested loops to generate a customizable numeric pattern 2
based on user input (rows and columns).
28 W
rite a program that asks the user to enter temperature in Celsius and converts it into 2
Fahrenheit and Kelvin using appropriate formulas.
Major Equipment:
1 . C omputers/Laptops – Equipped with sufficient processing power and RAM (8GB or more)
2. Storage Devices – External hard drives or SSDs for handling large datasets and backup.
List of Open-Source Software/learning website:
1 . h ttps://[Link]
2. [Link]
3. [Link]
4. [Link]
CO-PO Mapping:
CO / POPO1 PO2 PO3 PO4 PO5 PO6 PO7 P O8 P O9 PO10 PO11 PO12PSO1PSO2PSO3
CO-1 3 2 2 1 2 - - - - 1 - 1 3 2 2
CO-2 3 2 2 2 2 - - - - 2 1 1 3 3 2
CO-3 3 2 3 2 2 - - - - 2 1 1 3 3 2
CO-4 3 2 3 2 3 - - - - 2 1 1 3 3 3
CO-5 3 2 3 3 3 - - - - 2 1 1 3 3 3
Course 3 2 2.6 2 2.4 - - - - 1.8 1 1 3 2.8 2.4
Average
Strength of correlation:Strongly related-’3’, Moderatelyrelated-’2’, Weakly related-’1’, Not related-’0’ or ‘-’
*******************************************************************
Registrar Dean- Academics Chairman - BOS