CORE PRACTICAL-1
Programming in C –
Lab (CPCS11)
Control Statements:
1.
Print n Fibonacci numbers – ( using for )
2.
Print n Prime numbers – ( using while )
3.
Simple arithmetic on two numbers – ( using switch/case )
Functions:
4.
Swap two values using call by value / call by reference.
Recursion:
5.
To compute NcR and NpR
6.
To Compute GCD and LCM
String Manipulation.
7.
Operations on string such as length, concatenation, reverse, counting, and copy
of a string to another.
Matrices:
8.
Matrix Addition, Subtraction, Multiplication, Transpose of n x m matrices.
9.
Inverse of a square matrix.
Searching:
10.
Binary Search.
Sorting:
11.
Bubble Sort
12.
Insertion Sort
Structures:
13.
Students Mark statement
Pointers:
14.
Arithmetic operations on pointers.
Files:
15.
Creating/ Reading/ Writing a text/binary file.
CLICK FOR THE ABOVE LIST OF PROGRAMS IN PDF
No comments:
Post a Comment