GATE 2020
64 questions
MCQ 41 · NAT 231-mark 29 · 2-mark 35
Questions 36–40 of 64
Let A and B be two nxn matrices over real numbers. Let rank(M) and det(M) denote the rank and determinant of a matrix M, respectively. Consider the following statements.
I. rank(AB)=rank (A)rank (B)
II. det(AB)=det(A)det(B)
III. rank(A+B) rank (A) + rank (B)
IV. det(A+B) det(A) + det(B)
Which of the above statements are TRUE?
I. rank(AB)=rank (A)rank (B)
II. det(AB)=det(A)det(B)
III. rank(A+B) rank (A) + rank (B)
IV. det(A+B) det(A) + det(B)
Which of the above statements are TRUE?
Answer: (C)
Take with .
- I: , but , so this is FALSE.
- II: holds for all square matrices, so this is TRUE.
- III: rank is subadditive, , so this is TRUE.
- IV: , which is greater than , so this is FALSE.
Answer: (C)
- I: , but , so this is FALSE.
- II: holds for all square matrices, so this is TRUE.
- III: rank is subadditive, , so this is TRUE.
- IV: , which is greater than , so this is FALSE.
Answer: (C)
Consider the Boolean function .
Which one of the following minterm lists represents the circuit given above?
Which one of the following minterm lists represents the circuit given above?
Answer: (B)
Reading the circuit, the output is: .
- When a = 1, the minterms are 4, 5, 6, 7
- When a = 0, b = 0, c = 1, the minterm is 1
Minterm list:
Answer:
- When a = 1, the minterms are 4, 5, 6, 7
- When a = 0, b = 0, c = 1, the minterm is 1
Minterm list:
Answer:
Consider three registers R1, R2, and R3 that store numbers in IEEE-754 single precision floating point format. Assume that R1 and R2 contain the values (in hexadecimal notation) 0x42200000 and 0xC1200000, respectively.
If , what is the value stored in R3?
If , what is the value stored in R3?
Answer: (B)
IEEE-754 single precision has 1 sign bit, 8 exponent bits (bias 127) and 23 mantissa bits. The value is .
. Split as . The sign is , the exponent is and the mantissa is . So .
. Split as . The sign is , the exponent is and the mantissa is . So .
. The sign bit is , the stored exponent is and the mantissa bits are all .
Bits: .
Answer: (B)
. Split as . The sign is , the exponent is and the mantissa is . So .
. Split as . The sign is , the exponent is and the mantissa is . So .
. The sign bit is , the stored exponent is and the mantissa bits are all .
Bits: .
Answer: (B)
A computer system with a word length of 32 bits has a 16 MB byte- addressable main memory and a 64 KB, 4-way set associative cache memory with a block size of 256 bytes. Consider the following four physical addresses represented in hexadecimal notation.
A1=0x42C8A4,
A2=0x546888,
A3=0x6A289C,
A4=0x5E4880
Which one of the following is TRUE?
A1=0x42C8A4,
A2=0x546888,
A3=0x6A289C,
A4=0x5E4880
Which one of the following is TRUE?
Answer: (B)
Lines = 64 KB / 256 B = 256. Sets = 256 / 4 = 64 so 6 set bits sit above the 8 offset bits.
Set = (address / 256) mod 64. Use the low 6 bits after dropping the last two hex digits:
- A1 = 0x42C8A4 0x42C8 set 8
- A2 = 0x546888 0x5468 set 40
- A3 = 0x6A289C 0x6A28 set 40
- A4 = 0x5E4880 0x5E48 set 8
A2 and A3 use set 40 (A1 and A4 use set 8).
Answer: A2 and A3 map to the same cache set
Set = (address / 256) mod 64. Use the low 6 bits after dropping the last two hex digits:
- A1 = 0x42C8A4 0x42C8 set 8
- A2 = 0x546888 0x5468 set 40
- A3 = 0x6A289C 0x6A28 set 40
- A4 = 0x5E4880 0x5E48 set 8
A2 and A3 use set 40 (A1 and A4 use set 8).
Answer: A2 and A3 map to the same cache set
Let be a weighted undirected graph and let T be a Minimum Spanning Tree (MST) of G maintained using adjacency lists. Suppose a new weighed edge is added to G. The worst case time complexity of determining if T is still an MST of the resultant graph is
Answer: (D)
When the edge (u, v) is added to T, it forms exactly one cycle. That cycle is the tree path from u to v plus the new edge.
T remains an MST unless the new edge weighs less than the heaviest edge on that path. To find the path in the tree (using DFS/BFS on T) and its heaviest edge, the time needed is .
Answer:
T remains an MST unless the new edge weighs less than the heaviest edge on that path. To find the path in the tree (using DFS/BFS on T) and its heaviest edge, the time needed is .
Answer: