php hit counter

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CS604 Operating System Fall MidTerm 2012 - Questions
VU Help • House Banner VU Help Virtual University Students - Assignments, Solved Papers, GDB & Exam Help Student Help Forum • Collaborative • Free Support
#1
Q1
there are five processes given below with their run time units. assume that all processes
arrive in numerical order at time 0 than answer the question given below.

p1 5
p2 4
p3 2
p4 1
p5 8

show the scheduling order for these processes under first-come-first-served, shortest-job
first, and round robin scheduling (quantum = 2)

Q2
a context switch is implemented by the kernel and it involves the copying of state
information between the processor and the process control block or thread control
block. is the context switch overhead of a user-level thread can be less than the
overhead for processes?

Q3
let us consider a code given below:

bounded-buffer problem

producer process

item nextProduced;

while(1){
nextProduced = getNewItem();
while(counter == BUFFER_SIZE);
buffer[in] = nextProduced;
in = (in+1) % BUFFER_SIZE;
counter++;
}

in the above code a variable counter has been used. please write down the purpose of
counter variable.

Q4
threads play important role during the execution of processes.you have to identify how
does a thread operate in the same way as that of process? mention at least 2 similarities
between a thread and a process?

Q5
how can you differentiate between the fifo & pipe?

Q6
differentiate entry section and remainder section.
Reply


Messages In This Thread
CS604 Operating System Fall MidTerm 2012 - Questions - by keyboard - 12-10-2012, 01:33 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  CS703 – Advanced Operating Systems Assignment No.3 solution January 2016 Vuhelper 0 5,951 01-23-2016, 09:58 PM
Last Post: Vuhelper
  CS609 System Programming Assignment No. 03 Solution 21.01.2 Vuhelper 0 5,291 01-20-2016, 06:02 PM
Last Post: Vuhelper
  CS604 Operating System Assignment No.3 Solution 20th January 2016 Vuhelper 0 1,788 01-20-2016, 05:56 PM
Last Post: Vuhelper
  first semester assignment of cs604 spring may 2015 with final solution 2015 Xpert 0 2,721 05-15-2015, 03:20 AM
Last Post: Xpert
  Virtual university MCS online tuition and helping forum for fall 2014 Semester Xpert 0 1,327 09-28-2014, 05:19 PM
Last Post: Xpert
  CS507 Information System Assignment No. 03 Solution Spring Semester June 2013 Vuhelper 6 2,340 06-21-2013, 04:11 AM
Last Post: Xpert
  CS614 Data Warehousing Assignment No.3 Fall Semester 2013 Vuhelper 3 2,460 05-17-2013, 01:39 AM
Last Post: Xpert
  CS609 System Programming Assignment No.2 Solution Spring Semester 2013 Vuhelper 0 2,272 05-14-2013, 05:52 PM
Last Post: Vuhelper
  CS609 System Programming Assignment No.1 Solution Spring Semester 2013 Vuhelper 0 1,867 05-04-2013, 05:27 PM
Last Post: Vuhelper
  CS604 Operating System Assignment No.1 Solution Spring Semester 2013 Vuhelper 0 1,115 04-23-2013, 05:23 PM
Last Post: Vuhelper

Forum Jump:


Users browsing this thread: 1 Guest(s)
VU Help • House Banner VU Help Virtual University Students - Assignments, Solved Papers, GDB & Exam Help Student Help Forum • Collaborative • Free Support