5/65
11/65
Which one of the following statements is TRUE for all positive functions f n( ) ?
12/65
36/65
37/65
Consider a simple undirected unweighted graph with at least three vertices. If A is
the adjacency matrix of the graph, then the number of 3-cycles in the graph is given
by the trace of
40/65
42/65
Consider four processes P, Q, R, and S scheduled on a CPU as per round robin
algorithm with a time quantum of 4 units. The processes arrive in the order P, Q, R,
S, all at time t = 0. There is exactly one context switch from S to Q, exactly one
context switch from R to Q, and exactly two context switches from Q to R. There is
no context switch from S to P. Switching to a ready process after the termination of
another process is also considered a context switch. Which one of the following is
NOT possible as CPU burst time (in time units) of these processes?
43/65
45/65
54/65
Consider a system with 2 KB direct mapped data cache with a block size of 64 bytes.
The system has a physical address space of 64 KB and a word length of 16 bits.
During the execution of a program, four data words P, Q, R, and S are accessed in
that order 10 times (i.e., PQRSPQRS…). Hence, there are 40 accesses to data cache
altogether. Assume that the data cache is initially empty and no other data words are
accessed by the program. The addresses of the first bytes of P, Q, R, and S are
0xA248, 0xC28A, 0xCA8A, and 0xA262, respectively. For the execution of the
above program, which of the following statements is/are TRUE with respect to the
data cache?