0% found this document useful (0 votes)
53 views

Program List ICT-151

The document lists various C programming problems to be solved over 14 weeks. It includes problems involving calculating sums and averages, generating prime numbers and Fibonacci sequences, checking for perfect/strong/Armstrong numbers, solving quadratic equations, performing arithmetic operations with switch statements, finding factorials recursively and non-recursively, finding GCD recursively and non-recursively, sorting arrays, checking for symmetric matrices, performing matrix addition and multiplication, string operations like inserting/deleting substrings and checking for palindromes, file operations like copying/merging files, and more.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
53 views

Program List ICT-151

The document lists various C programming problems to be solved over 14 weeks. It includes problems involving calculating sums and averages, generating prime numbers and Fibonacci sequences, checking for perfect/strong/Armstrong numbers, solving quadratic equations, performing arithmetic operations with switch statements, finding factorials recursively and non-recursively, finding GCD recursively and non-recursively, sorting arrays, checking for symmetric matrices, performing matrix addition and multiplication, string operations like inserting/deleting substrings and checking for palindromes, file operations like copying/merging files, and more.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 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