CBSE Class 12 Python Practical File Programs
The programs most often set for the class 12 Computer Science (083) practical file, in the usual order.
- 1.Check a Prime NumberNumbers
- 2.Print the Fibonacci SeriesNumbers
- 3.Check a Palindrome StringStrings
- 4.Find the Factorial of a NumberNumbers
- 5.Read a Text File and Separate Words with #File handling
- 6.Count Vowels, Consonants, Uppercase and Lowercase Characters in a Text FileFile handling
- 7.Copy Lines Without the Letter 'a' to Another FileFile handling
- 8.Search a Roll Number in a Binary FileFile handling
- 9.Update Marks in a Binary FileFile handling
- 10.Simulate a Dice RollGames and random numbers
- 11.Implement a Stack Using a ListData structures
- 12.Store and Search User IDs and Passwords in a CSV FileFile handling
- 13.Count the Words "Me" and "My" in a Text FileFile handling
- 14.Display Lines Starting with T in a Text FileFile handling
- 15.a Menu-Driven ListLists
- 16.Count Words in a Text FileFile handling
Using these for your practical file
Write each program in your own words and run it: the file-handling programs make their own small sample file first, so they run anywhere, but in your practical file the file usually already exists, so you can drop that part. Check your school's list, since teachers often change a program or two.
The practical file also has SQL queries and Python programs that connect to MySQL. Those need a MySQL server, so they are not on this list.
Revising class 11 first? See the class 11 programs, or practise with exercises that check your answer.