Time Left - 20:00 mins

National Champion Test - GATE 2018 CS : Computer Organization

Attempt now to get your rank among 540 students!

Question 1

Normally user programs are prevented from handling I/O directly by I/O instructions in them. For CPUs having explicit I/O instructions, such I/O protection is ensured by having the I/O instructions privileged. In a CPU with memory mapped I/O, there is no explicit I/O instruction. Which one of the following is true for a CPU with memory mapped I/O?

Question 2

Consider a 8–way set associative cache consisting of 128 lines with a line size of 64 words. The CPU generates a 20–bit address of a word in main memory. The number of bits in the TAG, LINE and WORD fields are respectively:

Question 3

Consider a hypothetical processor with an instruction of type LW R1, 20(R2), which during execution reads a 32-bit word from memory and stores it in a 32-bit register R1. The effective address of the memory location is obtained by the addition of a constant 20 and the contents of register R2. Which of the following best reflects the addressing mode implemented by this instruction for the operand in memory?

Question 4

For inclusion to hold between two cache levels L1 and L2 in a multi-level cache hierarchy, which of the following are necessary?
I. L1 must be a write-through cache
II. L2 must be a write-through cache
III. The associativity of L2 must be greater than that of L1
IV. The L2 cache must be at least as large as the L1 cache

Question 5

A machine has a 32-bit architecture, with 1-word long instructions. It has 64 registers and it needs to support 45 instructions, which have an immediate operand in addition to two register operands. Assuming that the immediate operand is an unsigned integer, the maximum value of the immediate operand is ____________

Question 6

Consider two processors P1 and P2 executing the same instruction set. Assume that under identical conditions, for the same input, a program running on P2 takes 25% less time but incurs 20% more CPI (clock cycles per instruction) as compared to the program running on P1. If the clock frequency of P1 is 1GHz, then the clock frequency of P2 (in GHz) is _________.

Question 7

The amount of ROM needed to implement a 4 bit multiplier is

Question 8

The most appropriate matching for the following pairs
X: Indirect addressing                   1: Loops
Y: Immediate addressing               2: Pointers
Z: Auto decrement addressing       3: Constants

Question 9

Which one of the following is true for a CPU having a single interrupt request line and a single interrupt grant line?

Question 10

Consider an array multiplier for multiplying two n bit numbers. If each gate in the circuit has a unit delay, the total delay of the multiplier is
  • 540 attempts
  • 3 upvotes
  • 11 comments
Jul 5GATE & PSU CS