Sie sind auf Seite 1von 3

CS 8491 COMPUTER ARCHITECTURE TWO MARK QUESTIONS-UNIT I

CAPE INSTITUTE OF TECHNOLOGY, LEVENGIPURAM


DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING
CS8491 COMPUTER ARCHITECTURE

TWO MARKS QUESTIONS WITH ANSWERS

1. Specify the five major components of a computer system.


 Input unit
 Output unit
 Memory unit
 ALU
 Control unit

2. Define Response time and Throughput.


The time between the start and completion of a task is referred to as
execution time or response time.
The total amount of work done in a given time is called as throughput or
bandwidth.

3. Write the basic performance equation.


CPU time= Instruction count * CPI
Clock rate

4. What is multicore microprocessor?


Microprocessors with multiple processor per chip are called multicore
microprocessors.

5. Define memory.
Memory is a large single dimensional array with the address acting as
the index to that array starting at 0.

6. What is alignment restriction?


In MIPS , words must start at addresses that are multiples of 4. This
requirement is called an alignment restriction.

7. Name two data transfer instructions in MIPS.


 Lw – load word ->copies data from memory to a register
 Sw-store word->copies data from register to memory.

Department of CSE Page 1


CS 8491 COMPUTER ARCHITECTURE TWO MARK QUESTIONS-UNIT I

8. What is spilling registers?


The process of putting less commonly used variables into memory is called
spilling registers.

9. List the instruction types in MIPS.


 R-type
 I-type
 J-type

10. Draw the instruction format for R-type.

op rs rt rd shamt funct
6 bits 5 bits 5 bits 5 bits 5 bits 6 bits

op: Basic operation of the instruction, traditionally called the opcode.


rs: The fi rst register source operand.
rt: The second register source operand.
rd: The register destination operand. It gets the result of the operation.
shamt: Shift amount.
funct: Function. This field, oft en called the function code, selects the specific
variant of the operation in the op fi eld.

11. Draw the instruction format for I-type.

op rs rt Constant or address
6 bits 5 bits 5 bits 16 bits

12. What is J-type?


J-type is an MIPS instruction format used in jump instructions.

op address
6 bits 26 bits

13. List out the logical operations.


 Shift
 AND
 OR
 NOT
 NOR

Department of CSE Page 2


CS 8491 COMPUTER ARCHITECTURE TWO MARK QUESTIONS-UNIT I

14. What is the use of lui instruction?


Load upper Immediate(lui) sets the upper 16 bits of a constant in a register.

15. List the MIPS addressing modes.


 Immediate adderessing
 Register adderessing
 Base or displacement addressing
 PC-relative addressing
 Pseudodirect adderessing

Department of CSE Page 3

Das könnte Ihnen auch gefallen