You are on page 1of 2

List of Programs

1. 2. 3. 4. Write a program to print "Hello World". Write a program to find the average of two numbers. Write a program to accept two numbers from the user and to find its product. Write a program to accept two numbers from the user and to find the greatest number.

2
5. 6. 7. Write a program to print the grade using a. if-else b. switch-case Write a program to enter two numbers and an operator from the user and to perform the operation. Write a program to print the average of 'n' consecutive numbers, using for loop.

3
Write a program to print the factorial of a number using while loop. Write a program to print a. * b. 1 * * 2 3 * * * 3 4 5 10. Write a program to print the exponential series. 8. 9.

4
11. Write a program to print the following series up to a particular limit. Each series should be written as a separate function. a. sine b. cosine c. logarithmic 12. Write a program to create an integer array of 'n' spaces and enter ten numbers into it, also print the values.

5
13. Write a program to accept an array limit, enter values and print its sum. 14. Write a program to search a number in the array and print its position. 15. Write a program to sort an array using a. selection sort b. bubble sort

6
16. Write a program to enter data into a two-dimensional array (matrix), after accepting the array limit from the user. Print the entered data in a matrix form. 17. Write a menu driven program to do various operations on matrices such as a. addition c. determinant b. multiplication d. inverse

7
18. Write a program to enter a string and perform the following operations using structure. a. Find the string length c. Copy one string to another b. Reverse the string d. Concatenate two strings 19. Write a program to input a string and to reverse it without using library functions. 20. Write a program to input two strings, compare them and check a. if they are of the same length b. if they are same (should be case sensitive)

8
21. Write a program to check if a string is a palindrome. 22. Write a program to enter a string and to convert its upper case letters to lower case letters and vice-versa. 23. Write a program to print the factorial of a number using recursive function. 24. Write a program to check if a number is a magic number using recursive function. (E.g. 6 = 1+2+3) 25. Write a program to reverse a string using recursive function.

9
26. Write a program to a. read a file b. write into a file 27. start Numerical techniques c. d. merge two files append the file

Instructions for writing fair record


Programs to be written in fair record: Q. No. 2, 3, 4, 5, 6, 8 and 9. Please refer the list of programs.

Method of Writing: Program and the result should be printed from software lab. Paste it on the right hand side of the record, with the result at the end. Algorithm of the program should be written neatly on the left hand side of the record. Each page should contain sl. no. and date.

Submission: 2nd batch: By the end of February (all programs) st batch: 1 By the end of February (completed ones only)

Please cover your records

You might also like