Computer Science (083) Practical Programs
This section contains practical programs for CBSE Computer Science (083) curriculum for Class 11 and Class 12. Each program includes the aim, algorithm, source code, conclusion, and output. These programs will help you prepare for your practical examinations.
Class 11 Practical Programs
- Input a welcome message and display it
- Input two numbers and display the larger/smaller number
- Input three numbers and display the largest / smallest number
- Enter two integers and perform all arithmetic operations
- Generate patterns using nested loop
- Input x and n, print sum of series
- Check perfect number, Armstrong number or palindrome
- Check if number is prime or composite
- Display Fibonacci series terms
- Compute GCD and LCM of two integers
- Count vowels, consonants, uppercase, lowercase in string
- Check palindrome string and convert case
- Find largest/smallest number in list/tuple
- Swap elements at even and odd locations
- Search element in list/tuple
- Find smallest and largest number from list
- Dictionary with student marks above 75
- Menu-driven student dictionary program
- Choose 4 random lucky winners from 100 customers
- String module operations menu
- Friends phone directory dictionary operations
Class 12 Practical Programs
- Read text file line by line with # separator
- Count vowels, consonants, uppercase, lowercase in file
- Remove lines containing character 'a'
- Binary file with name and roll number search
- Binary file update marks by roll number
- Random number generator (Dice Simulator)
- Stack implementation using list
- CSV file with user-id and password
- User Defined Functions to manipulate List Store Indices of Non Zero elements &Double the Odd values
- WORKING WITH BINARY FILE IN PYTHON Create a binary file, Search and display the records from the binary file
- TEXT FILES IN PYTHON Remove duplicate lines from the file & Display unique words present in the file
- TEXT FILES IN PYTHON Copying lines to a new file & Replacing the '-' sign with a blankspace
- TEXT FILES IN PYTHON Count the lines starts with I/T & Display the lines with exactly 6 words
- TEXT FILES IN PYTHON Count the occurrences of word & Count number of vowels and consonants
- User Defined Functions to Manipulate List Find the Longest Word and Shifting the elements to left
- IMPLEMENTATION OF STACK USING LIST IN PYTHON
- ALTER table to add new attributes / modify data type / drop attribute
- UPDATE table to modify data
- ORDER By to display data in ascending / descending order
- DELETE to remove tuple(s)
- GROUP BY and find the min, max, sum, count and average
- INTERFACING PYTHON WITH MYSQL DATABASE CONNECTIVITY APPLICATION PROGRAM - DELETE RECORDS
- INTERFACING PYTHON WITH MYSQL DATABASE CONNECTIVITY APPLICATION PROGRAM - UPDATE RECORDS
- INTERFACING PYTHON WITH MYSQL DATABASE CONNECTIVITY APPLICATION PROGRAM - INSERT RECORDS
Important Note for Practical Examination
- Make sure to understand the logic behind each program
- Practice writing the programs from scratch without referring to notes
- Pay attention to proper indentation and code formatting
- Include appropriate comments to explain your code
- Test your programs with different inputs to ensure they work correctly