@ashish, you are wrong.

The solution is
for the first output the time taken = 150 + 5 + 120 + 5 + 160 + 5 +
140 = 585ns
for the remaining 999 output it will take 999*165 = 164835 ns
so, in total = 164835+585 = 165420 ns.
So, option b is the correct one

On Jan 16, 8:18 pm, Ashish Goel <ashg...@gmail.com> wrote:
> First one is solution comes out to be
>
> *485 + (995 * 140) + 485 + 140 + 305 + 430 = 141 .145 *micro secs, but this
> is not a choice..
>
> Best Regards
> Ashish Goel
> "Think positive and find fuel in failure"
> +919985813081
> +919966006652
>
>
>
>
>
>
>
> On Wed, Jan 12, 2011 at 3:15 PM, snehal jain <learner....@gmail.com> wrote:
> > A 4-stage pipeline has the stage delays as 150, 120, 160 and 140 ns
> > (nano seconds)
> > respectively. Registers that are used between the stages have a delay
> > of 5 ns each. Assuming
> > constant clocking rate, the total time taken to process 1000 data
> > items on this pipeline will
> > approximately be
> > a. 120 us (micro seconds)
> > b. 165 us
> > c. 180 us
> > d. 175 us
>
> > Which of the following statements are true?
> > I Shortest remaining time first scheduling may cause starvation
> > II Preemptive scheduling may cause starvation
> > III Round robin is better than first come first serve in terms of
> > response time
> > a) I only
> > b) I and III only
> > c) II and III only
> > d) I, II and III
>
> > Increasing the RAM of a computer typically improves performance
> > because:
> > a. Virtual memory increases
> > b. Larger RAMs are faster
> > c. Fewer segmentation faults occur
> > d. Fewer page faults occur
>
> > Suppose we want to synchronize two concurrent processes P and Q using
> > binary
> > semaphores S and T. The code for the processes P and Q is shown below.
> > Process P:
> > while (1) {
> > W:
> > print '0’;
> > print '0';
> > X:
> > }
> > Process Q:
> > while (1) {
> > Y:
> > print '1'
> > print '1'
> > Z:
> > }
> > Synchronization statements can be inserted only at points W, X, Y and
> > Z.
> > V() increments the semaphore, whereas P() decrements it
> > Which of the following will always lead to an output staring with
> > '001100110011' ?
> > a) P(S) at W, V(S) at X, P(T) at Y, V(T) at Z, S and T initially 1
> > b) P(S) at W, V(T) at X, P(T) at Y, V(S) at Z, S initially 1, and T
> > initially 0
> > c) P(S) at W, V(T) at X, P(T) at Y, V(S) at Z, S and T initially 1
> > d) P(S) at W, V(S) at X, p(T) at Y, V(T) at Z, S initially 1, and T
> > initially 0
>
> > can any1 suggest some source for such kind of questions????????
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Algorithm Geeks" group.
> > To post to this group, send email to algogeeks@googlegroups.com.
> > To unsubscribe from this group, send email to
> > algogeeks+unsubscr...@googlegroups.com<algogeeks%2Bunsubscribe@googlegroups 
> > .com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/algogeeks?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to