GoConqr has a new look! Let us know what you think.

Quiz

[Final Study] Unit 2 Pipelined CPU

Zim Brightwood 49 questions

Take the quiz

This quiz has question types that open in the usual player.

Questions in this quiz (49)

  1. 1Throughput is
    1. Athe rate at which instructions leave the pipeline
    2. Btotal time it takes an instruction to be processed by a stage
    3. Cthe rate at which instructions move to the next register
    4. Dtotal time it takes an instruction to be processed by the entire pipeline
  2. 2Latency is
    1. Atotal time it takes an instruction to be processed by the entire pipeline
    2. Bthe rate at which instructions leave the pipeline
    3. Cthe rate at which instructions move to the next register
    4. Dtotal time it takes an instruction to be processed by a stage
  3. 3Pretend the pipeline is a cafeteria line in prison. Who is throughput and who is latency?
    1. AThroughput is the security guard concerned with how often people are leaving the line so nobody shanks anybody. Latency is BUBBA watching Skinny Pete make his way through the line so he can shank him after he gets his food.
    2. BThroughput is the warden watching the prisoners out in the field and latency is the secretary having an affair with the gardener *gasp*~
    3. CThroughput is the rate at which the soap leaves a prisoners hand in the showers and latency is the total time it takes to pick it up
  4. 4Pipeline registers are placed [blank_start]between each stage[blank_end], those registers store [blank_start]inputs for that stage[blank_end], each stage executes [blank_start]in parallel[blank_end] working on a different instruction
    1. Abetween each stage
    2. Bafter each stage
    3. Cbefore each stage
    4. Dinputs for that stage
    5. Eoutputs for that stage
    6. Finputs for the next stage
    7. Gin parallel
    8. Hsequentially
  5. 5And instruction is [blank_start]in flight[blank_end] when it is currently being executed by the pipeline. Once the instruction completes the pipeline, it is [blank_start]retired[blank_end].
    1. Ain flight
    2. Bexecuting
    3. Clatent
    4. Dactive
    5. Eretired
    6. Ffinished
    7. Gcomplete
    8. Hready
  6. 6The pipeline instructions are executed in order
    1. ATrue
    2. BFalse
  7. 7Instruction-level parallelism exists between a pair of instructions if
    1. Atheir execution order does not matter
    2. Btheir execution order matters
  8. 8The pipeline requires some parallelism
    1. ATrue
    2. BFalse
  9. 9Dependencies exist if execution order doesn't matter
    1. ATrue
    2. BFalse
  10. 10Consider the variables a and b. A causal dependency is defined as A<B (Instruction A immediately precedes B) if
    1. AB reads value written by A
      Example:
      a = 1;
      b = a;
    2. BB write to visible location written by A
      Example:
      a = 1;
      a = 2;
    3. CB write to a location read by A
      Example:
      b = a;
      a = 1;

Information

Description
Unit 2 of UBC's CS313 course. Get some alcohol.
Language
English
Views
56
Rating
No ratings yet
Rate this quiz
Rate this quiz

Feedback

What is it about?

What do you think of the new look?

How do you like it?