Sunteți pe pagina 1din 3

1.

2.
3.

Execute the following commands in UNIX. ( 5 X 2 = 10 )


a. Create a file called sample.txt.
b. Display all files with extension .txt
c. Copy the contents of sample.txt to sample1.txt
d. Display the current date.
e. Display the calendar for the month January of 2002.
Write a C Program to implement FCFS Scheduling algorithm.(40)
Write a C Program to implement SJF Scheduling algorithm.(40)
UNIX
Commands
( 10)

Algorithm
( 10 + 10 = 20)

Program
( 20 + 20 = 40)

Execution &
Output
(10 + 10 = 20)

INTERNAL EXAMINER
1.
2.

TOTAL ( 100)

EXTERNAL EXAMINER

Write a C Program to implement FCFS scheduling algorithm


Write a C Program to implement Priority Scheduling algorithm.

Algorithm
( 10 + 10 = 20)

Program
( 20 + 20 = 40)

INTERNAL EXAMINER

1.
2.

Viva voce
( 10)

Execution &
Output
(10 + 10 = 20)

RESULT
5+5=10)

Viva voce
( 10)

TOTAL ( 100)

EXTERNAL EXAMINER

Write a C Program to implement SJF scheduling algorithm


Write a C Program to implement Priority Scheduling algorithm.

Algorithm
( 10 + 10 = 20)

Program
( 20 + 20 = 40)

Execution &
Output
(10 + 10 = 20)

RESULT
5+5=10)

INTERNAL EXAMINER

Viva voce
( 10)

TOTAL ( 100)

EXTERNAL EXAMINER

1. write a shell program to illustrate the use of fork (), execlp (), getpid
(), getppid (), exit () andwait () system calls
2. Write a C Program to implement best and worst fit algorithm.
Algorithm
( 10 + 10 = 20)

Program
( 20 + 20 = 40)

Execution &
Output
(10 + 10 = 20)

RESULT
5+5=10)

INTERNAL EXAMINER

Viva voce
( 10)

TOTAL ( 100)

EXTERNAL EXAMINER

1. Write a c program to implement FCFS scheduling algorithm.


2. write a c program to implementation of producer-consumer
problem using semaphores
Algorithm
( 10 + 10 = 20)

Program
( 20 + 20 = 40)

INTERNAL EXAMINER

1.
2.

Execution &
Output
(10 + 10 = 20)

RESULT
5+5=10)

Viva voce
( 10)

TOTAL ( 100)

EXTERNAL EXAMINER

Write a C Program to implement paging or segmentation concept.


Write a C Program to implement SJF scheduling algorithm

Algorithm
( 10 + 10 = 20)

3.
4.
5.
6.

Program
( 20 + 20 = 40)

INTERNAL EXAMINER
EXAMINER

Execution &
Output
(10 + 10 = 20)

RESULT
5+5=10)

Viva voce
( 10)

TOTAL ( 100)

EXTERNAL

S-ar putea să vă placă și