GATE 2017 (Session 2)
65 questions
MCQ 45 · NAT 201-mark 30 · 2-mark 35
Questions 36–40 of 65
P and Q are considering to apply for a job. The probability that P applies for the job is 1/4. The probability that P applies for the job given that Q applies for the job is 1/2 , and the probability that Q applies for the job given that P applies for the job 1/3. Then the probability that P does not apply for the job given that Q does not apply for the job is
Answer: (A)
Joint probability: , and then .
Neither applies: , and Q does not apply:
Required conditional probability:
Answer:
Neither applies: , and Q does not apply:
Required conditional probability:
Answer:
If w, x, y, z are Boolean variables, then which one of the following is INCORRECT ?
Answer: (C)
(A) , since absorbs and . True.
(B) By De Morgan, . Adding changes nothing, because already covers it. True.
(C) , because . So the left side is . This is not equal to , so (C) is incorrect.
(D) , and because is already inside both and . True.
Answer: (C)
(B) By De Morgan, . Adding changes nothing, because already covers it. True.
(C) , because . So the left side is . This is not equal to , so (C) is incorrect.
(D) , and because is already inside both and . True.
Answer: (C)
Given f(w,x,y,z) = (0,1,2,3,7,8,10) + (5,6,11,15), where d represents the don't care condition in Karnaugh maps. Which of the following is a minimum product-of-sums (POS) form of f(w,x,y,z) ?
Answer: (A)
f is 0 at minterms 4, 9, 12, 13 and 14. Minterms 5, 6, 11 and 15 are don't-cares.
- The term equals 0 when w = z = 1. It covers 9 and 13, and also the don't-cares 11 and 15.
- The term equals 0 when x = 1 and z = 0. It covers 4, 12 and 14, and also the don't-care 6.
Both terms together cover every 0 of f and none of its 1s.
Answer:
- The term equals 0 when w = z = 1. It covers 9 and 13, and also the don't-cares 11 and 15.
- The term equals 0 when x = 1 and z = 0. It covers 4, 12 and 14, and also the don't-care 6.
Both terms together cover every 0 of f and none of its 1s.
Answer:
In a two-level cache system, the access times of and caches are 1 and 8 clock cycles, respectively. The miss penalty from L2 cache to main memory is 18 clock cycles . The miss rate of cache is twice that of . The average memory access time (AMAT) of this cache system is 2 cycles. This miss rates of and respectively are :
Answer: (A)
AMAT = using :
Solve for L2 miss rate:
Find L1 miss rate:
Answer: 0.111 and 0.056
Solve for L2 miss rate:
Find L1 miss rate:
Answer: 0.111 and 0.056
Consider the recurrence function
Then T(n) in terms of notation is
Then T(n) in terms of notation is
Answer: (B)
Put , so and . Define . Then , and the recurrence becomes
.
Use the Master theorem with , , . Here and , so case 1 applies and .
Go back to using : .
Answer: (B)
.
Use the Master theorem with , , . Here and , so case 1 applies and .
Go back to using : .
Answer: (B)