# Recent posts tagged motivation

2
It is mentioned in the question itself Consider an instruction pipeline with five stages "without any branch prediction" i.e. target address is available after completion of instruction.
4
Acc. to me it should be (C) because: according to condition, out of all, one philosopher will get both the forks. So, deadlock should not be there.
5
A. that Who and whom are people, not dogs. Regarding that and which... Restrictive Clause-That A restrictive clause is just part of a sentence that you can't get rid of because it specifically restricts some other part of the sentence. Here's an ... You can think of a nonrestrictive clause as simply additional information. Here's an example: Diamonds, which are expensive, often elicit forgiveness.
6
Consider the finite automaton in the following figure: What is the set of reachable states for the input string $0011$? $\{q_0,q_1,q_2\}$ $\{q_0,q_1\}$ $\{q_0,q_1,q_2,q_3\}$ $\{q_3\}$
7
Consider the following algorithm for searching for a given number $x$ in an unsorted array $A[1..n]$ having $n$ distinct values: Choose an $i$ at random from $1..n$ If $A[i] = x$, then Stop else Goto 1; Assuming that $x$ is present in $A$, what is the expected number of comparisons made by the algorithm before it terminates? $n$ $n-1$ $2n$ $\frac{n}{2}$
9
These two links are very good for paging. https://courses.cs.washington.edu/courses/cse451/08wi/os-paging.ppt http://www.cs.columbia.edu/~junfeng/10sp-w4118/lectures/l21-page.pdf
To see more, click for the full list of questions or popular tags.