Assignment # 01
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.
Hello Everyone! The main aim for this assignment is
to:
Familiarize you with basic C Syntax
and how to compile and execute a
program.
How to Submit:
Put your code files in a folder, named as:
Folder Name: YourCompleteRollNumber-Assignment-1
Compress the folder with same name as above.
Send the compressed file to email ID
[email protected] and set the email subject as:
BSEF12 – Your Roll Number – Assignment -1
OR
BITF12 – Your Roll Number – Assignment -1
GOOD LUCK!