List of Practical and Projects for Computer Science
List of Practical and Projects for Computer Science
Class – XII
1. Write the code to print the factorial of given number.
2. Write a program to print the Fibonacci series.
3. Write a program to check the given number is palindrome or not.
4. Write a program to check the given number is prime or not.
5. Write a program to multiple two matrices.
6. Write a program to print the transpose of the given matrix.
7. Write a program to swap the value of two variables without using third variable.
8. Write a program to find the number of words in existing file using file handling.
9. Write program to print following pattern.
*
**
***
****
10. Write a program for call by value and call by reference.
11. Write a program in C++ to perform the basic operation on linked stack. The stack
contains data of type integer.
12. Write a program to create queue using linked list to perform addition, deletion and
display operations.
13. Write a program to create a Linked List .The Linked List contains data of type integer.
14. Write a C++ program to sort an array using Selection Sort.
15. Write a C++ program to sort an array using Quick Sort.
16. Write a C++ program to sort an array using Bubble Sort.
17. Write a C++ program to find the sum of the diagonal elements of matrix.
18. Write a C++ program to interchange the values of rows and column.
19. Write a C++ program to find the sum of rows and sum of column from two
dimensional array.
20. Write a program to reverse a string using pointer.
21. Write a program to calculate the length of string using pointer.
22. Write a program in C++ to count the number of words ending with ‘s’ from the text
file india.txt.
23. Write a C++ program to counts the number of words in a given file.
24. Write a C++ program that implements the concept of multilevel inheritance.
25. Write a C++ program that implements the concept of Polymorphism.