MCQs
Total Questions : 97
| Page 3 of 10 pages
Answer: Option C. -> 24
-NA-
Answer: Option B. -> 15,180
-NA-
Answer: Option C. -> UDP, TCP, UDP and TCP
-NA-
Answer: Option D. -> Encryption: X's private key followed by Y's public key; Decryption: Y's private key followed
by X's public key
-NA-
Answer: Option C. -> the data records of the file are organized in the same order as the data entries of the index.
-NA-
Question 26. Three concurrent processes X, Y, and Z execute three different code segments that access and update certain shared variables. Process X executes the P operation (i.e., wait) on semaphores a, b and c; process Y executes the P operation on semaphores b, c and d; process Z executes the P operation on semaphores c, d, and a before entering the respective code segments. After completing the execution of its code segment, each process invokes the V operation (i.e., signal) on its three semaphores. All semaphores are binary semaphores initialized to one. Which one of the following represents a deadlock-free order of invoking the P operations by the processes?
Answer: Option B. -> X: P(b)P(a)P(c) Y: P(b)P(c)P(d) Z: P(a)P(c)P(d)
-NA-
Answer: Option C. -> 7
-NA-
Answer: Option A. -> .
-NA-
Question 29. The line graph L(G) of a simple graph G is defined as follows: · There is exactly one vertex v(e) in L(G) for each edge e in G.· For any two edges e and e' in G, L(G) has an edge between v(e) and v(e'), if and only if e and e' are incident with the same vertex in G.Which of the following statements is/are TRUE?(P) The line graph of a cycle is a cycle.(Q) The line graph of a clique is a clique.(R) The line graph of a planar graph is planar.(S) The line graph of a tree is a tree.
Answer: Option A. -> P only
-NA-
Answer: Option C. -> Both P and Q
-NA-