Cs May
Cs May
2. Learning Outcomes
3. Distribution of Marks:
Periods
Unit No. Unit Name Marks
Theory Practical
2 Computer Networks 10 15 …
3 Database Management 20 25 20
Total 70 110 70
5. Practical
Marks
S.No Unit Name
(Total=30)
Lab Test:
1 1. Python program (60% logic + 20% 8
documentation + 20% code quality)
Report file:
Minimum 15 Python programs.
SQL Queries – Minimum 5 sets using
2 7
one table / two tables.
Minimum 4 programs based on
Python – SQL connectivity
4 Viva voce 3
Python Programming
● Read a text file line by line and display each word separated by a #.
● Read a text file and display the number of vowels/consonants/uppercase/lowercase
characters in the file.
● Remove all the lines that contain the character 'a' in a file and write it to another
file.
● Create a binary file with name and roll number. Search for a given roll number and
display the name, if not found display appropriate message.
● Create a binary file with roll number, name and marks. Input a roll number and
update the marks.
● Write a random number generator that generates random numbers between 1 and
6 (simulates a dice).
● Write a Python program to implement a stack using list.
● Create a CSV file by entering user-id and password, read and search the password
for given userid.