List of Programs for Computer Science 083 New and IP Practical file XII - 25 Programs
1.Write a Program to show whether entered numbers are prime or not in the given range.
2.Input a string and determine whether it is a palindrome or not.
3.Find the largest/smallest number in a list/tuple
4.WAP to input any two tuples and swap their values.
7.Recursively find the factorial of a natural number.
8.Write a recursive code to find the sum of all elements of a list.
9.Write a recursive code to compute the nth Fibonacci number.
10.Read a text file line by line and display each word separated by a #.
13.Write a program that accepts a filename of a text file and reports the file's longest line.
15.Create a binary file with roll number, name and marks. Input a roll number and update details.
16.Remove all the lines that contain the character `a' in a file and write it to another file.
18.Program to search the record of a particular student from CSV file on the basis of inputted name.
19.Write a random number generator that generates random numbers between 1 and 6 (simulates a dice).
20.Write a program to create a library in python and import it in a program.
23.Write a python program to implement a stack using a list data-structure.
24.Write a program to implement a queue using a list data structure.