Operating System BSCS 5 Semester/Term UOS — University of Sargodha 2016
Discussion
Ask a question about this paper, or help someone else with theirs. Answers are emailed to whoever asked.
No questions yet — be the first to ask.
Need a paper or stuck on a question? Ask here — students reply and you get an email.
Ask about a paperPaper text
University of Sargodha
BSCS 5th Mid Term Examination 2016
Subject: Computer Science Paper: Operating System (CMP-3621)
Time Allowed: 1 Hour Maximum Marks: 30
1. Define context switch.
2. What is the key difference between a trap and interrupt?
3. Kernal
4. Virtual machine
5. Time Sharing Systems
6. Define DMA
Q.2 Define thread. What is different between process and thread? How threads improve the IPC? What
are user level threads and kernal level thread explain with threading models? Exaplain working of
thread using a code example of pthreads. [2+3+4+4+5]