GATE 2016 (Session 2)
65 questions
MCQ 38 · NAT 271-mark 30 · 2-mark 35
Questions 16–20 of 65
Suppose that the eigen values of matrix A are 1, 2, 4. The determinant of is _________.
Answer: 0.124 to 0.126
The determinant of matrix equals the product of its eigen values
Now take the inverse. The determinant of the inverse of
Taking the transpose does not change the determinant.
So the determinant of
Now take the inverse. The determinant of the inverse of
Taking the transpose does not change the determinant.
So the determinant of
Consider an eight-bit ripple-carry adder for computing the sum of A and B, where A and B are integers represented in 2's complement form. If the decimal value of A is one, the decimal value of B that leads to the longest latency for the sum to stabilize is ________.
Answer: -1
The longest delay happens when a carry is produced at bit 0 and ripples through all 8 bits up to the last one.
A = 1 = , so and .
- Bit 0 must generate a carry: this needs , so .
- Every higher bit must pass the carry on. With , the propagate condition needs for .
So B is all 1s: , which is in 2's complement.
Answer: -1
A = 1 = , so and .
- Bit 0 must generate a carry: this needs , so .
- Every higher bit must pass the carry on. With , the propagate condition needs for .
So B is all 1s: , which is in 2's complement.
Answer: -1
Let, where are Boolean variables, and is the XOR operator. Which one of the following must always be TRUE?
Answer: (C)
XOR both sides of with . Since , this gives .
Complementing both inputs of an XOR does not change its output: . So and . So (C) is always true.
The others fail for , where the XOR is 0 as required:
(A) the product is 1, not 0.
(B) , not 0.
(D) the sum is 1, not 0.
Answer: (C)
Complementing both inputs of an XOR does not change its output: . So and . So (C) is always true.
The others fail for , where the XOR is 0 as required:
(A) the product is 1, not 0.
(B) , not 0.
(D) the sum is 1, not 0.
Answer: (C)
Let X be the number of distinct 16-bit integers in 2's complement representation. Let Y be the number of distinct 16 bit integers in sign magnitude representation. Then X-Y is ________.
Answer: 1
Look at each representation:
- 2's complement: every one of the bit patterns gives a different number.
- Sign-magnitude: +0 and 0 are the same value, zero. So there are only different numbers.
Then X Y = 1
Answer: 1
- 2's complement: every one of the bit patterns gives a different number.
- Sign-magnitude: +0 and 0 are the same value, zero. So there are only different numbers.
Then X Y = 1
Answer: 1
A processor has 40 distinct instructions and 24 general purpose registers. A 32-bit instruction word has an opcode, two register operands and an immediate operand. The number of bits available for the immediate operand field is _______ .
Answer: 16
Let us go through each part:
- 40 instructions the opcode needs bits
- 24 registers 5 bits for each one, so two register operands take 10 bits
Bits left for the immediate field = 32 6 10 = 16 bits
Answer: 16
- 40 instructions the opcode needs bits
- 24 registers 5 bits for each one, so two register operands take 10 bits
Bits left for the immediate field = 32 6 10 = 16 bits
Answer: 16