Professional Documents
Culture Documents
Tech/IT-512
2021
(March)
Information Technology
( 5th Semester )
(New Syllabus)
Full Marks - 30
Time – 3 hours
The figure in the margin indicates the full marks for the questions
(b) Write a program in C using UNIX system call to merge two files to create a new file and
display the contents of the all three files. 10
(b) Write a program using UNIX system call to create a file and display the contents of the file.
10
(b) Write a program using UNIX system call to reverse a file and display the contents of the file.
10
..........................................................................................................................................................
(b) Write a program using UNIX system call to concatenate two files and display the contents of
the concatenated file on the standard output. 10
5. (a) Write a program in C to implement Banker’s deadlock avoidance algorithm. 20
(b) Write a program using UNIX system call to create a file and display the contents of the file.
10
----------------------------------------------------------------------------------------------------------------------------------
(b) Write a program using UNIX system call to copy a file and display the contents of the both
files. 10
-------------------------------------------------------------------------------------------------------------------------------------
7. (a) Write a program in C to simulate Least Recently Used (LRU) page replacement algorithm.
20
(b) Write a program using UNIX system call to reverse a file and display the contents of the file.
10
-------------------------------------------------------------------------------------------------------------------------------------
8. (a) Write a program in C to simulate Round Robin (RR) scheduling algorithm. 20
(b) Write a program using UNIX system call to take the input from the standard input and
display it in the standard output. 10
------------------------------------------------------------------------------------------------------------------------------------
(b) Write a program using UNIX system call to merge two files and display the contents of the
merged file.
10
--------------------------------------------------------------------------------------------------------------------------------------
(b) Write a program using UNIX system call to take the input from the standard input and
store it in a file and display the contents of the file. 10