Assignment-01 Operating Systems
Assignment-01 Operating Systems
Operating Systems
Deadline: Sunday 16th November 2014
(11:50 p.m.)
Instructor: Tahir Fazal
TA: Tehrim & Mujtaba
Instructions:
If there is any Copy Case, the respective student has
to face a penalty of at least 5 solid marks from
sessionals.
Task 1:
Write a C program to check whether the number entered by user is
PRIME or not.
Task 2:
Write a C program to REVERSE the number entered by user.
Task 3:
Write a C program to print ASCII Value of a character entered by user.
Task 4:
Write a C program to find L.C.M. (Least Common Multiple) of ‘5’
numbers and G.C.D (Greatest Common Divisor) of two numbers.
GOOD LUCK!