100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
WGU C952 PRACTICE EXAM $12.49   Add to cart

Exam (elaborations)

WGU C952 PRACTICE EXAM

 4 views  0 purchase
  • Course
  • WGU C952
  • Institution
  • WGU C952

WGU C952 PRACTICE EXAM control hazard (branch hazard) - Answer-When the proper instruction cannot execute in the proper pipeline clock cycle because the instruction that was fetched is not the one that is needed; that is, the flow of instruction addresses is not what the pipeline expected. Br...

[Show more]

Preview 2 out of 8  pages

  • November 2, 2024
  • 8
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • WGU C952
  • WGU C952
avatar-seller
Perfectscorer
WGU C952 PRACTICE EXAM 2023-
2024

control hazard (branch hazard) - Answer-When the proper instruction cannot execute in
the proper pipeline clock cycle because the instruction that was fetched is not the one
that is needed; that is, the flow of instruction addresses is not what the pipeline
expected.

Branch prediction - Answer-A method of resolving a branch hazard that assumes a
given outcome for the branch and proceeds from that assumption rather than waiting to
ascertain the actual outcome.

five-stage pipeline - Answer-five instructions will be in execution during any single clock
cycle

1. IF - instruction fetch
2. ID - instruction decode and register file read
3. EX - execution or address calculation
4. MEM - data memory access
5. WB - write back

Instruction Fetch (IF) - Answer-Move instruction from memory to the control unit

Instruction decode (ID) - Answer-Pull apart the instruction, set up the operation in the
ALU, and compute the source and destination operand addresses

Execute (EX) - Answer-ALU is used to perform the instruction's operation or to compute
an address, or an adder is used for branches; both are depicted using an ALU symbol.

Data memory access (MEM) - Answer-the data memory (DM) may be read (for a load
instruction) or written (for a store instruction). For load, the right half is shaded,
indicating read. (For store, the left half would be shaded).

Write back (WB) - Answer-the register file (Reg) may be written by certain instructions
(like R-type instructions). The left half is shaded to indicate write (vs. read). Although
two Reg icons appear in the stylized depictions, only one register file exists.

Branch prediction buffer - Answer-Also called branch history table. A small memory that
is indexed by the lower portion of the address of the branch instruction and that contains
one or more bits indicating whether the branch was recently taken or not.

, Dynamic branch prediction - Answer-prediction of branches at runtime using runtime
information

Branch target buffer - Answer-A structure that caches the destination PC or destination
instruction for a branch. It is usually organized as a cache with tags, making it more
costly than a simple prediction buffer.

Correlating predictor - Answer-A branch predictor that combines local behavior of a
particular branch and global information about the behavior of some recent number of
executed branches.

Tournament branch predictor - Answer-A branch predictor with multiple predictions for
each branch and a selection mechanism that chooses which predictor to enable for a
given branch.

Microarchitecture - Answer-The organization of the processor, including the major
functional units, their interconnection, and control.

Architectural registers - Answer-The instruction set of visible registers of a processor;
for example, in MIPS, these are the 32 integer and 16 floating point registers

Three Cs model - Answer-A cache model in which all cache misses are classified into
one of three categories: compulsory misses, capacity misses, and conflict misses.

compulsory miss (cold-start miss) - Answer-a cache miss caused by the first access to a
block that has never been in the cache

Both large block sizes and prefetching may reduce compulsory misses

capacity miss - Answer-A cache miss that occurs because the cache, even with full
associativity, cannot contain all the blocks needed to satisfy the request.

Increase cache size may decrease capacity misses and increase access time

conflict miss (collision miss) - Answer-A cache miss that occurs in a set-associative or
direct-mapped cache when multiple blocks compete for the same set and that are
eliminated in a fully associative cache of the same size

Increases associativity may decrease miss rate and increase access time.

Finite-state machine - Answer-A sequential logic function consisting of a set of inputs
and outputs, a next-state function that maps the current state and the inputs to a new
state, and an output function that maps the current state and possibly the inputs to a set
of asserted outputs.

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller Perfectscorer. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $12.49. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

82871 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$12.49
  • (0)
  Add to cart