797
views
2 answers
1 votes
A certain computer has a $TLB$ cache, a one-level physically-addressed data cache, $DRAM$, and a disk backing store for virtual memory. The processor loads ... page fault occurs, then a data cache miss definitely does not occur as well.
543
views
1 answers
5 votes
Consider the following code snippet.void first(int p, int t) { p += t; t += p; } main() { int p = 4; first(p , p); }What is the final value of $p$ in both call by value and ... $12$ $5$ and $12$ $12$ and $16$ $4$ and $16$
655
views
1 answers
2 votes
Which of these statements is not true about a b-Tree $T$ with height $h$ and $n$ nodes, assuming that each node takes exactly $1$ $disk$ operation ... $T$ balanced.
634
views
2 answers
1 votes
Why might quick sort be preferred over insertion sort and merge sort?The worst-case asymptotic algorithmic complexity of quick sort is superior to that of insertion ... time of quick sort is superior to that of insertion and merge sort.
653
views
2 answers
5 votes
A certain architecture supports indirect, direct, and register addressing modes for use in identifying operands for arithmetic instructions.Which of the following cannot be ... the value of an operand that will be used by the instruction.
1.1k
views
1 answers
7 votes
Consider a binary function $g :P \times P \to \left \{ true,false \right \}$, where $P$ is a non-empty subset of the natural numbers that contains ... order but not a partial order $g$ is reflexive and antisymmetric but not a surjection
891
views
1 answers
3 votes
Consider these three grammars. ... $G3$, then it can be generated by $G1$.
514
views
1 answers
1 votes
Suppose $L =$ $\left \{ \right \}$ , $N = $\left \{ 1,2,3 \right \}$Now what does the set $N L$ contain ? $ ... right \}$\left \{ \left ( 3 \right )\left ( 2 \right ) \left ( 1 \right )\right \}$
320
views
1 answers
3 votes
While designing a preemptive job scheduling subsystem, an operating system manufacturer must select a scheduling strategy. Which of the following requirements is a reason why ... arrives before job $J2$, then $J1$ finishes before $J2$
627
views
3 answers
4 votes
The designers of a cache system wants to reduce the number of cache misses that occur in a certain group of programs.Which of the following statements is/are correct regarding what ... and III I and II only II and III only III only
383
views
1 answers
2 votes
Consider the following relation instance:ABC123235143236 ... II, III & V only I, IV & VI only III & V only V only
683
views
2 answers
6 votes
Which of the following languages over the alphabet $A = $\left \{ 0,1 \right \}$ is regular ? $\{ w ∈ A^* : w$ contains a $ ... $1's$ in even positions, where the leftmost position is $1 \}$
459
views
1 answers
2 votes
Which of the following will definitely result in datagram fragmentation ? Transmitting over a circuit-switched network Transmitting datagrams with ... Transmitting datagrams longer than the physical layer's maximum transmission unit
1.0k
views
3 answers
5 votes
Which of the following statements is NOT true? Deadlock can never ... has certainly occurred. The Banker's algorithm for avoiding deadlock requires knowing resource requirements in advance
590
views
2 answers
3 votes
A manufacturer of Bio-Medical equipment company needs to deal with the problem of occasional random bit flips in opcodes due to radiation.Which of the following statements is/are true ... only I, II, and III II and III only I and II only
348
views
1 answers
0 votes
Each statement has three segments. Choose the alternative where the third segment in the statement can be logically deduced using BOTH the preceding segments. All physicists are biologists ... doctorate.Only $3$2$ and $4$Only $4$1$ and $3$
1.1k
views
1 answers
7 votes
A contractor receives a certain sum that he uses to pay wages. His capital, together with the weekly subsidy, would eactly enable him to pay $42$ men for $52$ ... $26$ weeks is ________.
525
views
2 answers
3 votes
Identify the pair of words which has a relationship similar to “Wheat : Chaff”Wine: DregsCrop: CornLaughter: RevelryCloud: Rain
1.1k
views
2 answers
3 votes
Consider the set of numbers $N= 1,2,3,4,5,6,7,8$. Take every distinct two-element subset of $N$ and write down the number that is smaller. For eg, if ... you will write down $2$.The sum of all the numbers that you write down is ___________.
417
views
1 answers
1 votes
The simplest animals are those whose bodies are simplest in structure and which do the things done by all living animals, such as eating, breathing, moving, and feeling, in the most ________ way.HaphazardBizarrePrimitiveAdvantageous