Operating Systems and Systems Software (CS2100) Midterm Oct 2023 Question Paper

RV University Midterm exam for Operating Systems and Systems Software (CS2100), held Oct 2023, with 8 questions. Also searched as OS. Last updated 2026-11-14.

Questions

  1. 6. Assuming all the processes have completed their execution at time unit 19. Give the longest and the shortest execution times and their process IDs.
  2. 7. What is the major difference between pthreadexit() and exit() system calls?
  3. 8. 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 "); else printf("Message2 "); printf("Message3 ");
  4. 9. Assume that the thread with the id has executed pthreadexit("Done ") What happens when another thread executes pthreadjoin(id, &status)? Note: The id here refers to the thread which has executed pthreadexit().
  5. 10. Explain in words what does this datatype declaration mean. float ((myFptr)(int, int))(float, float); Note: Bonus 2 marks will be given if you can write a code which uses the above declaration in a program, that compiles correctly and runs.
  6. 11. Draw the Gantt chart if the SRTF scheduler is running in the system. Process Id Arrival time Burst time P1 0 9 P2 1 4 P3 2 9
  7. 12. In a memory hierarchy, if the access time of a memory which is closer to the CPU is designed to be lower than the memory which is farther away from the CPU, how does it improve the performance of the system?
  8. 13. 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. 14 2 Explain any two responsibilities

More Operating Systems and Systems Software papers

Browse more RVU papers

RVU Midterm previous year question papers · RVU School of Computer Science and Engineering (SoCSE) question papers