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

Assignment-01 Operating Systems

This document outlines an assignment for an Operating Systems course. It provides instructions for 4 programming tasks to write C programs that check if a number is prime, reverse a number, print the ASCII value of a character, and find the LCM and GCD of numbers. It specifies a deadline of November 16th, 2014 at 11:50pm and instructs students to compress and email their assignment folders by that date to the provided email address.

Uploaded by

Muhammad Salman
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
65 views

Assignment-01 Operating Systems

This document outlines an assignment for an Operating Systems course. It provides instructions for 4 programming tasks to write C programs that check if a number is prime, reverse a number, print the ASCII value of a character, and find the LCM and GCD of numbers. It specifies a deadline of November 16th, 2014 at 11:50pm and instructs students to compress and email their assignment folders by that date to the provided email address.

Uploaded by

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

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!

You might also like