
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
12 questions
Python Functions & Library
Quiz
•
12th Grade
11 questions
Understanding Image Representation and Compression
Quiz
•
10th Grade - University
13 questions
CCIS 104 Quiz #1.2
Quiz
•
12th Grade
10 questions
Elements of Programming Test
Quiz
•
12th Grade
11 questions
Evaluación de Computación de 6to
Quiz
•
12th Grade
14 questions
Polymorphism in OOP
Quiz
•
12th Grade
10 questions
Topic 4: Pengurusan Sistem Pejabat
Quiz
•
12th Grade
10 questions
Fundamentals of Computing - Unit 5 Quiz 1 Review
Quiz
•
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
