Computer Science Practical File Faizul
Computer Science Practical File Faizul
NOIDA SECTOR-56
COMPUTER
SCIENCE
WITH PYTHON
PRACTICAL FILE
SESSION [2 022-23]
Name-Rohan Mehra
Class-12-A
Roll No.
INDEX OF COMPUTER SCIENCE PRACTICAL FILE
CLASS-11(List,Tuples,Dictionary,Functions
Serial No. Programs
1. Program to perform even and odd number list from user list
2. Program to read and print the lines having length more than 50 in text file
7. Program to read and print the words having length more than more than 7 from
text file
9. Program to make a copy file of only those lines starting with uppercase
letters
Binary Files
Serial No. Programs
1. Program for deleting a record in a binary file
2. Program to make a dictinary in binary file
3. Program for writing and reading students record in a binary
file
Program Output
Program to shift negative elements on one side in list
Program Output
Program to add ‘n’ number of items in list
Program Output
Program to find largest and second largest no. from list
Program Output
Program to input two tuples and swap their values
Program Output
Program to perform linear search on tuple
Program Output
Program to input a tuple of integers & find the maximum &
minimum integer from the tuple.
Program Output
Program to count no. of occurrence of character in given
string using dictionary
Program Output
Program to make a dictionary of streams
Program Output
Program to store students’ record in the dictionary.
Program Output
Functions
Finding area of different shapes using functions
Program :
Output:
Finding factorial using functions
Program Output
Counting lowercase and uppercase characters using
functions
Program Output
Counting vowels in a string using functions
Program Output
Text
Program to read & print the lines having length more than 50 in
text file
Program Output
File:
Program to count no. of words in text files
Program Output
File
Program to count no. of vowels, consonants & digits in
text files
Program Output
Program to count words starting with ‘P’ or ‘E’ in text
files
File
Program Output
Find the total no. of lines & total no. of words in a text file
Output
Program
File:
Program to read & print the words having length more than 7from
text file
Output
Program
File:
Program to make a employee record in a text file using
writelines ()
Output
Program
File
Program to append employees in the record and search those employees having salary more
than 15000
File File
(before) (updated)
Program Output
Program to make a copy file of only those lines starting with uppercase letters
Output
Program
File
Binary
Program for writing & reading students’
record in a binary file.
Output
Program
Program for writing & reading students’ record
in a binary file.
Output
Program
Program to make a dictionary in binary files
Program Output
Program to make a book record in binary files
Program Output
Program for appending record in a binary file
Program Output
Program for deleting a record in a binary file
Output
Program
Program for updating a record in a binary file
Output
Program
Program to store Gmeet Info in binary files
Program
Output
CSV Files
Program to reading a csv file
Program Output
Program to store students data in csv file
Program Output
File :
Program to search a students’ record
Program Output
Program to write in a csv file using writerow() function.
Program Output
File :
Stacks
Program to showcase all functions of stacks
Program Output
Program to display vowels present in the words entered by
user
Program Output
Program to push, pop & display name and Id of the
book in stack of book
Program Output
Program to push, pop & display name and marks of students in
stack of students
Program Output
Databases
LOANS TABLE Write SQL commands for the following queries:
PRODUCTTABLE CLIENT TABLE
Write SQL commands for the following queries:
COM{ANY TABLE MODEL TABLE
Write SQL commands for the following queries:
STOCK TABLE DEALER TABLE
Write SQL commands for the following queries:
CARDENTABLE Write SQL commands for the following queries:
Interface Python
SQL Connectivity
Making SQL SCHOOL database via python
Entering data in SQL SCHOOL database via python
Deleting data from SQL SCHOOL database via python
Updating data to SQL SCHOOL database via python