• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 2 out of 15 pages
Exam (elaborations)

CSE 230 All Questions with Correct Answers (Grade A+)

Document preview thumbnail
Preview 2 out of 15 pages

CSE 230 All Questions with Correct Answers (Grade A+)

Content preview

CSE 230 All Questions with Correct Answers (Grade A+)

Question 1: In the compilation process, the ______ separates the input source code text into tokens.

Answer: Lexical Analyzer (lexer)

Question 2: Select which of the following are NOT part of the compilation process:

Answer: Program Execution Testing Debugging

Question 3: In the compilation process, the ______ combines partial programs and libraries into a
single executable.

Answer: Linker

Question 4: Which of the follow best matches the function of the Linker in the compilation process?

Answer: Combines partial programs and libraries into a single executable.

Question 5: The ______ translates assembly language code into machine code.

Answer: Assembler

Question 6: Select the hardware that is active during the Writeback stage of the instruction cycle:

Answer: Register File

Question 7: Select the hardware that is active during the Memory Access stage of the instruction cycle:

Answer: Data Memory

Question 8: During an Instruction Fetch step which elements are used?

Answer: - Instruction Memory = Program Counter

Question 9: During an Instruction Decode step which elements are used?

Answer: - Read from register file - Control Unit

Question 10: 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

Answer: 3




Page 1

, Question 11: 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

Answer: 3

Question 12: 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

Answer: 5

Question 13: 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

Answer: 5

Question 14: 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

Answer: 4

Question 15: A level 2 cache is focused on supporting what kind of locality? Dimensional Locality
Temporal Locality Web Locality Spatial Locality

Answer: Spatial Locality

Question 16: In a multilevel cache system, the primary (level-1) cache focuses on Low miss rate Short
miss penalty Large block size Short hit time

Answer: Short hit time

Question 17: A level 1 cache is focused on supporting what kind of locality? Web Locality Temporal
Locality Dimensional Locality Spatial Locality

Answer: Temporal Locality

Question 18: The pre-loading of instructions into a cache that are near the instruction currently being
executed is an example of what kind of locality? Web Locality Dimensional Locality Temporal Locality
Spatial Locality

Answer: Spatial Locality

Question 19: In a multilevel cache system, the level-2 cache focuses on Short hit time Large block size
Short miss penalty Low miss rate

Answer: Low miss rate



Page 2

Document information

Uploaded on
September 16, 2026
Number of pages
15
Written in
2026/2027
Type
Exam (elaborations)
Contains
Questions & answers
$10.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
DrJon
3.8
(159)
Sold
600
Followers
188
Items
24731
Last sold
1 day ago




Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions