Index of Computer Science Practical File
SN Program Name Submitted Date Signature Remarks
1 Write C program to find sum of two numbers
using function named sum().
2 Write C program to find area and perimeter of a
rectangle using function area_perimeter().
3 Write C program to know a number is even or
odd using function named even_odd().
4 Write C program to print multiplication table of
a number using function table().
5 Write C program to print the greatest value
among three numbers using function int great().
6 Write C program to know a number is prime or
not.
7 Write C program to find sum of series
1,2,3,…..200 using function.
8 Write C program to input elements of an array
and print them with their sum.
9 Write C program to find the length of string
using function string_length().
10 Write C program to find sum of matrices using
function matrix_sum().
11 Write C program to sort numbers using function
sort().
12 Write C program to sort ‘n’ number of strings
using function.
13 Write C program to find factorial value of a
number using recursive function.
14 Write C program to print Fibonacci series using
recursive function.
15 Write C program to input and print student id,
name and grade using structure.
16 Write C program to input id, name and grade for
10 students using array of structure.
17 Write C program to input 20 employees’ name,
post and salary then search record by name.
18 Write C program to input employees’ details
with salary using nested structure.
19 Write C program to input id, name and address
of 20 students and print them sorted by name.
20 Write C program to input teacher’s id, name,
address and subject, then search by id.
21 Write C program to input 10 student’s records
(name, grade, gender, marks) and print total,
percentage and female records.
22 Write C program to calculate sum of two
distances using structure and function.
23 Write C program to input student id, name and
grade using union.
24 Write C program to perform arithmetic
calculations of two numbers using pointers.
25 Write C program to know a number is even or
odd using pointer.
26 Write C program to find sum and average of ‘n’
natural numbers using pointer.
27 Write C program to print series (7, 22, 11, 34, …)
using pointer to function.
28 Write C program to find factorial of a number
using pointer.
29 Write C program to input 10 elements and print
them using array as pointer.
30 Write C program to input 10 elements and print
maximum and minimum using array as pointer.
31 Write C program to swap two values using call
by value and call by reference.
32 Write C program to sort 10 numbers stored in
an array using pointer.
33 Write C program to print factors of a number
using pointer.
34 Write C program to print multiplication table of
a number using pointer.
35 Write C program to input a sentence and store
in file, then display it using getc() and putc().
36 Write C program to store natural numbers in file
using getw(), print and find average.
37 Write C program to store student’s name and
address in file and print them using fprintf() and
fscanf().
38 Write C program to store book’s name, edition
and price in file until ‘n’ is pressed, then print
them.
39 Write C program to store employee’s name, post
and salary in file using fwrite() and read using
fread().
40 Write C program to store student’s records
(name, grade, marks, percentage) in file and
print students with percentage ≥ 80.
41 Write C program to show the concept of
rename() and remove() functions.
42 Write C program to show the concept of ftell(),
fseek() and rewind() functions.