Search Header Logo

Computer Architecture Quiz

Authored by Jeni gracia

Computers

1st Grade

Used 1+ times

Computer Architecture Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

28 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A processor executes an instruction sequence where register transfers occur in the following order: 1. R1 ← R2 + R3 2. R4 ← R1 × R5 3. R6 ← R4 - R2 If register transfers are performed in a pipelined system, what kind of hazard is most likely to occur, and what technique can resolve it?

Structural hazard; resolved using register renaming.

Data hazard; resolved using forwarding (bypassing).

Control hazard; resolved using branch prediction.

Resource hazard; resolved using dynamic scheduling.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a register transfer system, assume that a control unit generates the following micro-operations for an instruction: 1. MAR ← PC 2. MDR ← Memory[MAR] 3. IR ← MDR 4. PC ← PC + 1 5. Decode and execute Which of the following statements is true about this sequence?

It represents a typical instruction fetch cycle.

It represents an arithmetic instruction execution.

It represents a memory write-back cycle.

It represents a branch instruction execution.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A computer system has a single shared bus with multiple devices requesting memory access. The probability of a device needing access in one clock cycle is 0.4. If there are 4 devices, what is the probability that no device will need access in a given cycle?

0.1296

0.3456

0.8704

0.9216

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a system with a multiple-bus organization, increasing the number of buses results in:

Lower data transfer rates due to increased contention.

Improved performance but increased hardware complexity.

Reduced instruction-level parallelism.

Decreased memory bandwidth.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Consider a 5-stage pipeline (IF, ID, EX, MEM, WB). If a load instruction LW R2, 0(R1) is immediately followed by an ADD R3, R2, R4, which hazard occurs, and how can it be resolved?

Structural hazard; resolved using separate ALU units.

Data hazard; resolved using forwarding.

Control hazard; resolved using branch prediction.

Resource hazard; resolved using superscalar execution.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A pipelined processor has a CPI of 1.2 when branch mispredictions are ignored. If the branch misprediction rate is 5% and each misprediction causes a 3-cycle penalty, what is the new effective CPI?

1.35

1.40

1.15

1.25

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A superscalar processor can issue 4 instructions per cycle. If the pipeline depth is 6 stages and there are 50% stall cycles, what is the effective instruction throughput (IPC)?

2.0

2.5

3.0

4.0

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?