• 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 9 pages
Exam (elaborations)

CSE 230 Questions with Correct Answers (Grade A+)

Document preview thumbnail
Preview 2 out of 9 pages

CSE 230 Questions with Correct Answers (Grade A+)

Content preview

CSE 230 Questions with Correct Answers (Grade A+)

Question 1: In the compilation process, the ______ separates the input source code text into tokens.
Lexical Analyzer (lexer) Middle Stage Assembler Backend Syntax Analyzer (parser)Linker

Answer: Lexical Analyzer (lexer)

Question 2: The ________ translates assembly language code into machine code. Lexical Analysis
Testing Optimization Debugging Syntax Analysis Machine Code Generation Program Execution

Answer: Assembler Debugging Program Execution

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

Answer: Testing

Question 4: In the compilation process, the ______ arranges the symbol table in memory and generates
final executable machine code. Lexical Analyzer (lexer) Middle Stage Backend Linker Syntax Analyzer
(parser)

Answer: Backend

Question 5: Select which of the following are part of the compilation process: Syntax Analysis Machine
Code Generation Program Execution Optimization Testing Debugging Lexical Analysis

Answer: Machine Code Generation Optimization Lexical Analysis Syntax Analysis

Question 6: Which of the follow best matches the function of the Middle Stage in the compilation
process?

Answer: Performs program analysis and optimization.

Question 7: Which of the follow best matches the definition for an Assembler? Translates assembly
language code into machine code. Performs program analysis and optimization. Arranges the symbol
table in memory and generates final executable machine code. Combines partial programs and
libraries into a single executable. Separates the input source code text into tokens. Performs syntax
rules checking and constructs a symbol table and abstract syntax tree.

Answer: Translates assembly language code into machine code.




Page 1

, Question 8: Which of the follow best matches the definition for Syntax Analysis? Combines partial
programs and libraries into a single executable. Separates the input source code text into tokens.
Performs program analysis and optimization. Arranges the symbol table in memory and generates final
executable machine code. Performs syntax rules checking and constructs a symbol table and abstract
syntax tree. Translates assembly language code into machine code.

Answer: Performs syntax rules checking and constructs a symbol table and abstract syntax tree.

Question 9: In the compilation process, the ______ performs program analysis and optimization.

Answer: Middle Stage

Question 10: Which of the follow best matches the definition for Lexical Analysis? Combines partial
programs and libraries into a single executable. Separates the input source code text into tokens.
Performs program analysis and optimization. Arranges the symbol table in memory and generates final
executable machine code. Performs syntax rules checking and constructs a symbol table and abstract
syntax tree. Translates assembly language code into machine code.

Answer: Separates the input source code text into tokens

Question 11: The ______ of the CPU contains the ALU and Registers, and the interconnection between
them. IO / Peripherals ALU Control Unit Datapath Bus Registers Memory

Answer: Datapath

Question 12: Which of the following best matches the definition of the Bus? Stores a large number of
pieces of information, including program data and instructions. Stores a small number of pieces of
information, commonly the temporary results of calculations. Carries data between the ALU, registers,
memory, and peripherals. Coordinates the flow of information around the processor. Operates on one
or more numerical values to perform calculations and operations on data. Acts as an interface between
the processor and the outside world, including long-term storage and user interfaces. Contains the ALU
and Registers, and the interconnection between them.

Answer: Carries data between the ALU, registers, memory, and peripherals.

Question 13: A computer consists of five major modules. What module does ALU belong to? Memory
Control Unit Data Path Peripheral

Answer: Data Path




Page 2

Document information

Uploaded on
September 16, 2026
Number of pages
9
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