Crear juego
Jugar Froggy Jumps
1.
A
B
C
2. What is object code generation?
A
The process of converting assembly code into machine code.
B
The process of debugging code.
C
The process of writing source code.
3. Which phase of the compiler is responsible for object code generation?
A
Code generation phase.
B
Syntax analysis phase.
C
Semantic analysis phase.
4. What is the output of object code generation?
A
Machine code.
B
Source code.
C
Assembly code.
5. What is the purpose of object code generation?
A
To analyze the code structure.
B
To create executable files from source code.
C
To write comments in the code.
6. Which type of code is produced during object code generation?
A
Interpreted code.
B
High-level code.
C
Binary code.
7. What is the role of the linker in object code generation?
A
To convert source code to object code.
B
To combine object files into a single executable.
C
To optimize the generated code.
8. What is the difference between object code and source code?
A
Object code is written in a high-level language.
B
Source code is the final output of the compiler.
C
Object code is machine-readable, while source code is human-readable.
9. Which phase of the compiler comes before object code generation?
A
Code optimization phase.
B
Code translation phase.
C
Code parsing phase.
10. What is the final step after object code generation?
A
Writing comments in the code.
B
Debugging the object code.
C
Execution of the generated executable.
11. What is the primary goal of object code generation?
A
To generate readable code.
B
To produce efficient machine code.
C
To analyze code syntax.