GATE 2013
80 questions
MCQ 801-mark 38 · 2-mark 42
Questions 16–20 of 80
A binary operation on a set of integers is defined as . Which one of the following statements is TRUE about ?
Answer: (A)
Let us test each property:
- Commutative: so it is commutative
- Associative: we get and also . Take x = 1, y = 1, z = 0: while . So it is not associative
Answer: Commutative but not associative
- Commutative: so it is commutative
- Associative: we get and also . Take x = 1, y = 1, z = 0: while . So it is not associative
Answer: Commutative but not associative
Which one of the following expressions does NOT represent exclusive NOR of x and y?
Answer: (D)
The exclusive NOR of x and y is equal to .
Now look at the last option. Here , because complementing both inputs cancels out. This is the XOR, not the XNOR.
Answer:
Now look at the last option. Here , because complementing both inputs cancels out. This is the XOR, not the XNOR.
Answer:
In the following truth table, V = 1 if and only if the input is valid.
What function does the truth table represent?
What function does the truth table represent?
Answer: (A)
The output shows the index of the highest-numbered input that is 1. The lower inputs are "don't care". V tells us that at least one input is active. This is the behaviour of a 4-to-2 priority encoder.
Answer: Priority encoder
Answer: Priority encoder
The smallest integer that can be represented by an 8-bit number in 2's complement form is
Answer: (B)
For an 8-bit number in 2's complement form, the range runs from up to . In numbers, this is 128 to 127.
Final answer: 128
Final answer: 128
Consider the following sequence of micro-operations.
MBR PC
MAR X
PC Y
Memory MBR
Which one of the following is a possible operation performed by this sequence?
MBR PC
MAR X
PC Y
Memory MBR
Which one of the following is a possible operation performed by this sequence?
Answer: (D)
The present PC value is stored in memory. It goes through the MBR to address X, for example the stack. Then PC is loaded with a new address Y, which is the service routine. This is what happens when an interrupt is serviced.
Answer: Initiation of interrupt service
Answer: Initiation of interrupt service