Program List ICT-151

Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

List of programs

Week Name Of the Program


1 a) Write a C program to find sum and average of three numbers.
b) Write a C program to find the sum of individual digits of a given positive

integer. c) Write a C program to generate the first n terms of the Fibonacci

sequence.

2 a) Write a C program to generate prime numbers between 1 to n.


b) Write a C program to Check whether given number is Armstrong Number or
Not. c) Write a C program to evaluate algebraic expression (ax+b)/(ax-b).

3 a) Write a C program to check whether given number is perfect number or


Not. b) Write a C program to check whether given number is strong number
or not.

4 a) Write a C program to find the roots of a quadratic equation.


b) Write a C program perform arithmetic operations using switch statement.

5 a) Write a C program to find factorial of a given integer using


non-recursive function.
b) Write a C program to find factorial of a given integer using recursive function.

6 a) Write C program to find GCD of two integers by using recursive function.


b) Write C program to find GCD of two integers using non-recursive
function.
7
a) Write a C program to find both the largest and smallest number in a list
of integers.
b) Write a C Program to Sort the Array in an Ascending Order.
c) Write a C Program to find whether given matrix is symmetric or not.

8 a) Write a C program to perform addition of two matrices.


b) Write a C program that uses functions to perform Multiplication of Two Matrices.
9 a) Write a C program to use function to insert a sub-string in to given main
string from a given position.
b) Write a C program that uses functions to delete n Characters from a
given position in a given string.

List of programs
10 a) Write a C program using user defined functions to determine whether the
given string is palindrome or not.
b) Write a C program that displays the position or index in the main string S
where the sub string T begins, or - 1 if S doesn't contain T.

11 a) Write C program to count the number of lines, words and characters in a


given text.
b) Write a C program to find the length of the string using Pointer.

12 a) Write a C program to Display array elements using calloc( ) function. b) Write


a C Program to Calculate Total and Percentage marks of a student using
structure.

13 a) Write a C program that uses functions and structures to perform the


following operations:
i) Reading a complex number

ii) Writing a complex number


iii) Addition of two complex numbers
iv) Multiplication of two complex numbers
b) Write a C program to display the contents of a file.

14 a) Write a C program to copy the contents of one file to another.


b) Write a C program to merge two files into a third file.
c) Write a C program to reverse the first n characters in a file

You might also like