MONARK UNIVERSITY
FACULTY OF COMPUTER APPLICATION
DEPARTMENT OF COMPUTER APPLICATION
NAME OF COURSE: LAB –PYTHON PROGRAMMING
COURSE CODE: 11660103
BCA (SEMESTER-6)
Type of Course: Mandatory Course
Teaching Scheme (Credits and Hours)
Teaching Scheme Credits Evaluation Scheme
Internal External
Total
L T P C Theory Marks
& Pr. Theory Pr.
CEC*
0 0 4 2 00 40 00 60 100
Learning Outcome:
Understand the Python programming and Basic concepts.
Understand the Function and Modules of Python.
Understand the basic concepts of File Operation.
Understand the basic concepts of Exception Handling.
Understand the basic concepts of Dictionary Manipulation and Tuples.
Sr. Teaching Weightage
Topics
No. Hrs. (%)
Write a program that takes an integer input from
1 the user and converts it to a float.
Write a program that takes two numbers as input
2 and calculates their sum, difference, product, and
quotient.
1 Implement a program that uses compound
3 assignment operators to update the values of
variables.
Write a Python program that compares two 12 30%
4 numbers and prints whether they are equal,
greater, or smaller.
Create a program that uses logical operators to
5 check if a user-entered number is between 10 and
20.
Define a list of your favorite colors. Write a
6 program that checks if a color entered by the user
is in the list.
Write a program that takes a user's age as input
2
7 and prints "You are an adult" if the age is 18 or 10 20%
older.
Create a program that checks if a given number is
8 even or odd and prints the result.
2
Write a program that prints numbers from 1 to 5
9 using a while loop.
Combine decision-making and loop structures to
10 create an interactive program that allows the user
to perform various operations (e.g., addition,
subtraction, multiplication) until they choose to
exit.
Create a function that calculates the volume of a
3 11 cylinder given its radius and height. Use a default 8 15%
value for height.
Design a program that calculates the area of
12 different shapes (circle, rectangle, triangle) using
separate functions for each shape.
Create a program with a global variable and a
13 function that modifies a local variable. Discuss the
concept of variable scope.
Develop a program that writes binary data (e.g.,
4 14 images) to a binary file. 6 15%
Develop a program that reads and processes a large
15 text file in chunks to optimize memory usage.
Integrate the LED blinking, button input, and sensor
5 16 programming concepts into a single MicroPython 8 20%
project (e.g., Smart Home Automation).
Write a Micro Python program to blink an LED
17 connected to a GPIO pin.
Debug a MicroPython program that reads sensor
18 data and identify and fix any issues.
Evaluation:
The students will be evaluated on a continuous basis and broadly follow the scheme
given below:
Component Weightage of Marks
A Mid Semester Examination 00
*Continuous Evaluation Component (Assignments / Presentations /
B 00
Quizzes / Class Participation/ Term Papers, live projects)
C Internal Experimental Evaluation 40
D End Semester Examination 00
E End Semester Experimental Examination 60
List of Open-Source Software/Learning Website:
http://nptel.iitm.ac.in/
***