Operating Systems and Systems Software (CS2100) End Semester Dec 2025 Question Paper
RV University End Semester exam for Operating Systems and Systems Software (CS2100), held Dec 2025, semester 3, with 18 questions. Also searched as OS. Last updated 2026-11-14.
Questions
2. No further clarifications will be provided during the examination. You can mention your assumptions, if
1. Give any of the two most important responsibilities of an OS with a very brief explanation for each.
3. Give the messages printed by the parent and child processes when the below code executes. You can assume that it works correctly.if(fork() == 0)printf(“Message1 ”);elseprintf(“Message2 ”);printf(“Message3 ”);
4. What is the purpose of the 'kill' command in Ubuntu? Give a sample invocation of this command.
5. Assuming all the processes have completed their execution at time unit 19.Which process was preempted many times before its completion? Give the number of preemptions of that process as well.P1 P2 P3 P2 P3 P4 P3 P4 P3 time0 1 2 3 4 6 7 9 13 19
6. Briefly explain what happens when two processes are livelocked.
7. Assume that you have kept lesson 2.pdf open on your computer using Adobe Acrobat. You are playing a video lesson.mp4 using VLC player and also viewing RVU website using Chrome browser.Draw and briefly explain the layout of your computer's entire main memory with the images of wha
8. a. Draw the picture of all valid state transitions of processes having the following states:New, Ready, Running, Blocked, Suspend and Exit.
9. a) Give all the commands that you would give to make the below shell script run. Assume that this file is in the directory /home/BTech/scriptb) When it is run, what will be the output on the terminal?Contents of the file: 8.sh (assume that it does not have any execute permissions
10. Explain any two responsibilities of memory management system.
11. Explain what happens when the below function is successfully executed.pthreadcreate(&threadid, NULL, threadfunction, (void )message);Note: Explain about the purpose of each parameter.
12. If the below snapshots have not missed out any movements of processes in and out of main memory, answer the following questions:a) Did process A move out of MM at any time and why?b) Give one valid reason for the process D's size going down. (a) (b) (c) (d) (e) (f) (g)time
13. What is a Process Control Block? Explain about any two entries in them.
14. When the following code executes, what will be printed?Note: You can assume that always the parent process gets a chance to run before the child processes, after any fork() call.println(“Start of Q20 ”);fork();
15. Ready queues of three priority levels with processes in them are shown below. Within the same priority level, LIFO is the scheduling used. Assume that the currently running process P5 creates two new processes P8 followed by P9 both with Priority 1.Assume, a non-preemptive schedu
16. Explain along with msgs output by this program.//All essential include files are assumed to be here.void threadFn(void arg);int main(){void threadresult;pthreadt id;pthreadcreate(&id, NULL, threadFn, NULL);pthreadjoin(id, &threadresult);printf("I am here ... ");while(1);}void thr
17. Draw the Gantt chart if the SRTF scheduler is running in the system. Process Id Arrival time Burst timeP1 0 9P2 1 4P3 2 9
18. Assume that all the below five processes have become ready at time zero. If they are scheduled as shown below, compute the average waiting time, and average turn around time.
More Operating Systems and Systems Software papers