
13. Program Construction
Quiz
•
Computers
•
12th Grade
•
Practice Problem
•
Medium
Salehddine Meftah
Used 2+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which stage of the compilation process is responsible for breaking source code into tokens?
Syntax analysis
Semantic analysis
Lexical analysis
Code generation
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the main purpose of the symbol table during compilation?
To store a list of error messages
To hold variable and function names with associated data
To generate binary code
To perform optimisations
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
During which stage does the compiler check that constructs like loops, conditionals, and variable usage make logical sense according to language rules?
Lexical analysis
Syntax analysis
Semantic analysis
Code generation
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is performed during syntax analysis?
Checking if variables have been declared
Creating a parse tree from tokens
Removing white space and comments
Matching identifiers to memory addresses
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which stage of the compilation process transforms intermediate code into efficient machine code?
Code generation
Syntax analysis
Semantic analysis
Lexical analysis
6.
FILL IN THE BLANK QUESTION
30 sec • 1 pt
During lexical analysis, source code is broken down into basic elements called __________.
7.
FILL IN THE BLANK QUESTION
30 sec • 1 pt
The __________ table keeps track of variable names, data types, memory locations, and scope.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
ôn giưa ki 2 tin12
Quiz
•
12th Grade
10 questions
Javascript & Client side scripting
Quiz
•
10th - 12th Grade
10 questions
Introduction To Java: Hello World
Quiz
•
7th - 12th Grade
10 questions
Ôn tập chủ đề 5. Giải quyết vấn đề với sự trợ giúp của máy tính
Quiz
•
12th Grade
15 questions
Grade 12-Python selection&iteration
Quiz
•
11th - 12th Grade
9 questions
1.1.2. Types of Processor
Quiz
•
12th Grade
15 questions
Lua Review Corona SDK with Notepad++
Quiz
•
10th - 12th Grade
13 questions
Python Fundamentals and Programming
Quiz
•
11th - 12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
