Lesson3 (Codechum)
Lesson3 (Codechum)
) This is a program that converts source code from one programming language to machine code,
bytecode, or another programming language.
A. Assembler
B. Compiler
C. Translator
D. Interpreter
2.) This is made up of strings of numbers that are eventually converted to 1s and 0s, which cause the
computer to do certain processes.
A. Machine Language
B. High-level code
C. Assembly code
D. Source code
3.) This converts a program written in assembly language into machine language.
A. Assembler
B. Compiler
C. Translator
D. Interpreter
4.) This includes declarations, instructions, functions, loops, and other statements that serve as
instructions for the program.
A. Machine Language
B. High-level code
C. Assembly code
D. Source code
5.) This uses one of the numerous high-level programming languages to directly execute program
instructions.
A. Assembler
B. Compiler
C. Translator
D. Interpreter
6.) Select the item that does not belong to the list.
A. Basic code
B. Java code
C. Assembly code
D. Python code
7.) Select the item that does not belong to the list.
A. Machine code
B. Fortran code
C. C++ code
D. Python code
8.) One of the words below is an umbrella term for the rest of the words in the list. Select the general
term.
A. Assembler
B. Interpreter
C. Translator
D. Compiler
A. Assembly code
B. Machine code
C. High-level code
D. Source code
10.) Select the item that does not belong to the list.
A. Machine code
B. Assembly language
C. Python code
D. Low-level language
A. Decompiler
B. Cross compiler
C. Bootstrap compiler
D. Transcompiler
12.) This compiler self-compiles and is written in the programming language that it chooses to compile.
A. Decompiler
B. Cross compiler
C. Bootstrap compiler
D. Transcompiler
13.) A certain compiler works on a MacOS laptop, but produces code that runs on an Apple phone. What
kind of compiler is this?
A. Decompiler
B. Cross compiler
C. Bootstrap compiler
D. Transcompiler
14.) This compiler takes the source code of a program written in a programming language as its input
and generates an equivalent source code in the same or a different programming language.
A. Decompiler
B. Cross compiler
C. Bootstrap compiler
D. Transcompiler
15.) This is the act of transforming source code into machine code.
A. Decompilation
B. Transformation
C. Compilation
D. Translation
16.) In the event that a language lacks a compiler, these programs are developed.
A. Bytecode Interpreters
D. Self Interpreters
17.) In these programs, pointers are employed, and every directive is a term that serves as a pointer.
A. Bytecode Interpreters
D. Self Interpreters
18.) Python, Ruby, and JavaScript often use programs that are frequently employed as debugging tools
in software development tools. What are these programs called?
A. Translators
B. Compilers
C. Interpreters
D. Assemblers
19.) In these programs, the relationship between statements and the program’s structure are both
unchanged.
A. Bytecode Interpreters
D. Self Interpreters
20.) These programs run on a compressed and efficient version of source code.
A. Bytecode Interpreters
D. Self Interpreters
21.) This step converts the intermediate file into an assembly file.
A. Pre-processing
B. Compiling
C. Assembling
D. Linking
22.) This step is where the object file containing machine-level code is created.
A. Pre-processing
B. Compiling
C. Assembling
D. Linking
23.) This is the process of transforming a high-level language into a low-level language.
A. Translation
B. Interpretation
C. Assembly
D. Compilation
24.) This step is where an executable file is created.
A. Pre-processing
B. Compiling
C. Assembling
D. Linking
25.) This step aids in the deletion of comments, expansion of macros, including files, and conditional
compilation.
A. Pre-processing
B. Compiling
C. Assembling
D. Linking
1.) The foundation of a computer program is its source code. The following statements serve as
guidelines for how the program should run, except for one:
A. Comments
B. Declarations
C. Translations
D. Functions
A. Source code
B. Object code
C. Machine code
D. Assembly code
3.) These statements are included in the source code to guide and help other developers in the
understanding of the source code.
A. Comments
B. Declarations
C. Translations
D. Functions
4.) Programmers often use scripting engines to run short scripts directly from the source code. What is
an example of a scripting engine?
A. PHP
B. HTML
C. CSS
D. Windows
A. Source code
B. Object code
C. Machine code
D. Assembly code
1.) This was a form of low-level programming language that made machine code easier to understand.
A. Assembly language
B. Machine language
C. Source language
D. Interpreted language
2.) This programming language was created by Dennis Ritchie in 1972 to construct the UNIX operating
system.
A. Java
B. Python
C. C
D. SQL
3.) Bjarne Stroustrup created this language in 1985, which is used in systems software, operating
systems, and many others.
A. C#
B. C
C. SQL
D. C++
4.) This language is similar to the previous languages in syntax, but it features a simpler object model.
A. Java
B. Python
C. C
D. SQL
5.) The first generation programming language is known as ___ ; the native language of the computer
system.
A. Assembly language
B. Machine language
C. Source language
D. Interpreted language