GATE 2024 (Session 1)
65 questions
MCQ 29 · MSQ 20 · NAT 161-mark 30 · 2-mark 35
Questions 11–15 of 65
Let be a function such that , where is the set of all real numbers. The set of all points where is NOT differentiable is
Answer: (D)
Look at and . They are equal at . So we get
for , on , on , and for .
At each point where the pieces switch, the two pieces have different slopes (, ):
- : the slopes are and a corner
- : the slopes are and a corner
- : the slopes are and a corner
At all other points is a polynomial, so it is differentiable.
Answer:
for , on , on , and for .
At each point where the pieces switch, the two pieces have different slopes (, ):
- : the slopes are and a corner
- : the slopes are and a corner
- : the slopes are and a corner
At all other points is a polynomial, so it is differentiable.
Answer:
The product of all eigenvalues of the matrix is
Answer: (B)
The product of all the eigenvalues of a matrix .
Find the determinant:
(Quick check: . So the rows depend on each other and the matrix is singular.)
Answer: 0
Find the determinant:
(Quick check: . So the rows depend on each other and the matrix is singular.)
Answer: 0
Consider a system that uses 5 bits for representing signed integers in 2's complement format. In this system, two integers and are represented as and . Which one of the following operations will result in either an arithmetic overflow or an arithmetic underflow?
Answer: (B)
A 5-bit number in 2's complement can hold values from up to .
The given numbers are and .
- it fits
- it goes above +15, so overflow
- it fits (this is the lowest value)
- it fits
Answer: A B
The given numbers are and .
- it fits
- it goes above +15, so overflow
- it fits (this is the lowest value)
- it fits
Answer: A B
Consider a permutation sampled uniformly at random from the set of all permutations of for some . Let be the event that 1 occurs before 2 in the permutation, and the event that 3 occurs before 4 . Which one of the following statements is TRUE?
Answer: (B)
Use symmetry. In half of all permutations, 1 comes before 2. So . In the same way, .
The order of {1,2} and the order of {3,4} use different elements. All 4 pairs of orders (12 or 21 with 34 or 43) are equally likely. So the events are independent.
- Not mutually exclusive: the permutation 1 2 3 4 makes both events true.
- Neither has to happen: the permutation 2 1 4 3 makes both events false.
- X and Y are equally likely, so X is not more likely than Y.
Answer: X and Y are independent
The order of {1,2} and the order of {3,4} use different elements. All 4 pairs of orders (12 or 21 with 34 or 43) are equally likely. So the events are independent.
- Not mutually exclusive: the permutation 1 2 3 4 makes both events true.
- Neither has to happen: the permutation 2 1 4 3 makes both events false.
- X and Y are equally likely, so X is not more likely than Y.
Answer: X and Y are independent
Which one of the following statements is FALSE?
Answer: (C)
(A) Cycle stealing: DMA takes one bus cycle and moves one word in it. This is TRUE.
(B) Burst mode holds the bus for the whole block, so there are no repeated bus requests. This gives higher throughput for bulk transfer. This is TRUE.
(C) Programmed I/O has better CPU utilization than interrupt-driven I/O. This is FALSE. In programmed I/O the CPU keeps polling the device status and wastes cycles. In interrupt-driven I/O the CPU can do other work until the device interrupts.
(D) A vectored interrupt gives the ISR address directly, so no polling is needed to find the device. The ISR starts faster. This is TRUE.
Answer: (C)
(B) Burst mode holds the bus for the whole block, so there are no repeated bus requests. This gives higher throughput for bulk transfer. This is TRUE.
(C) Programmed I/O has better CPU utilization than interrupt-driven I/O. This is FALSE. In programmed I/O the CPU keeps polling the device status and wastes cycles. In interrupt-driven I/O the CPU can do other work until the device interrupts.
(D) A vectored interrupt gives the ISR address directly, so no polling is needed to find the device. The ISR starts faster. This is TRUE.
Answer: (C)