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

ITP (C Programming Lab) : List of Experiments

This document lists 17 experiments for a C programming lab, including: 1) Writing programs to perform mathematical operations like finding factors, expressions, and series. 2) Writing programs to cipher/decipher strings, check capitalization rules, and search/delete substrings. 3) Writing recursive programs for problems like Tower of Hanoi and printing Fibonacci numbers. 4) Writing programs to perform matrix operations like addition, subtraction, multiplication, and transposition. 5) Writing programs to perform basic arithmetic operations based on user input. 6) Writing functions for complex number arithmetic and menu-driven programs for searching and sorting algorithms. 7) Writing programs to copy files and perform bit operations.

Uploaded by

Sushil Pant
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
22 views

ITP (C Programming Lab) : List of Experiments

This document lists 17 experiments for a C programming lab, including: 1) Writing programs to perform mathematical operations like finding factors, expressions, and series. 2) Writing programs to cipher/decipher strings, check capitalization rules, and search/delete substrings. 3) Writing recursive programs for problems like Tower of Hanoi and printing Fibonacci numbers. 4) Writing programs to perform matrix operations like addition, subtraction, multiplication, and transposition. 5) Writing programs to perform basic arithmetic operations based on user input. 6) Writing functions for complex number arithmetic and menu-driven programs for searching and sorting algorithms. 7) Writing programs to copy files and perform bit operations.

Uploaded by

Sushil Pant
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

ITP (C Programming Lab)

LIST OF EXPERIMENTS
Write a program to produce ASCII equivalent of given number
Write a program to find divisor or factorial of a given number.
Write a program to evaluate the following algebraic expressions after
reading necessary values from the user
1. (ax+b)/(ax-b)
2. 2.5 log x-cos 30+|x^2-y^2|+sqrt (2xy)
3. (x^5+10x^4+8x^3+4x+2)

Write a program to find sum of a geometric series


Write a program to cipher a string
Write a program to check whether a given string follows English
capitalization rules
Write a program to find sum of the following series 1++1/3+_+1/20
Write a program to search whether a given substring exist in an input
string or not and then delete this string from input string.
Write a recursive program for tower of Hanoi problem
The fibonacci sequence of numbers is 1,1,2,3,5,8. Based on the
recurrence relation F(n)=F(n-1)+F(n-2)for n>2
Write a recursive program to print the first m Fibonacci number

Write a menu driven program for matrices to do the following operation


depending on whether the operation requires one or two matrices
a) Addition of two matrices
b)
Subtraction of two matrices
c) Finding upper and lower triangular matrices d) Trace of a matrix
e) Transpose of a matrix
f)
Check of matrix symmetry
g) Product of two matrices.
Write a program that takes two operands and one operator from the user
perform the operation and then print the answer
Write a program to print the following outputs:

11
2222
333333
44444444
5555555555

Write functions to add, subtract, multiply and divide two complex


numbers (x+iy) and (a+ib) Also write the main program.
Write a menu driven program for searching an sorting with following
options.

a) Searching (1) Linear searching (2) Binary searching


b) Sorting (1) Insersection sort (2) Selection sorting

Write a program to copy one file to other, use command line arguments.
Write a program to mask some bit of a number (using bit operations)

An array of record contains information of managers and workers of a


company. Print all the data of managers and workers in separate files.

You might also like