Solutions 100% Correct Tests
In the compilation process, the ______ separates the input source code text into tokens. ANS ✅ Lexical
Analyzer (lexer)
Select which of the following are NOT part of the compilation process: ANS ✅ Program Execution
Testing
Debugging
In the compilation process, the ______ combines partial programs and libraries into a single executable. ANS
✅ Linker
Which of the follow best matches the function of the Linker in the compilation process? ANS ✅ Combines
partial programs and libraries into a single executable.
The ______ translates assembly language code into machine code. ANS ✅ Assembler
Select the hardware that is active during the Writeback stage of the instruction cycle: ANS ✅ Register File
Select the hardware that is active during the Memory Access stage of the instruction cycle: ANS ✅ Data
Memory
During an Instruction Fetch step which elements are used? ANS ✅ - Instruction Memory
= Program Counter
During an Instruction Decode step which elements are used? ANS ✅ - Read from register file
- Control Unit
Given an 8-word, 2-way set associative cache, and the sequence of address accesses below, enter the number
of misses.
5
,19
19
24
24
24 ANS ✅ 3
Given an 8-word, direct mapped cache, and the sequence of address accesses below, enter the number of
misses.
2
23
24
2
2
2 ANS ✅ 3
Given an 8-word, direct mapped cache, and the sequence of address accesses below, enter the number of
misses.
5
23
1
24
23
11 ANS ✅ 5
Given an 8-word, direct mapped cache, and the sequence of address accesses below, enter the number of
misses.
6
2
14
, 20
20
10 ANS ✅ 5
Given an 8-word, 4-way set associative cache, and the sequence of address accesses below, enter the number
of misses.
7
12
7
12
2
8 ANS ✅ 4
A level 2 cache is focused on supporting what kind of locality?
Dimensional Locality
Temporal Locality
Web Locality
Spatial Locality ANS ✅ Spatial Locality
In a multilevel cache system, the primary (level-1) cache focuses on
Low miss rate
Short miss penalty
Large block size