No student devices needed. Know more
31 questions
Translates low level assembly language mnemonic into machine code
Assembler
Compiler
Interpreter
Translates source code from high level languages into object code and then into machine code
Assembler
Compiler
Interpreter
Program is translated line by line as the program is running
Assembler
Compiler
Interpreter
What is a MNEMONIC?
A single action that can be performed by a computer.
A symbol that represents an instruction in assembly code.
A high level language keyword.
A register used inside a CPU A register used inside a CPU.
Which of the following is NOT a translator?
Assembler
Compiler
Interpreter
Executable
It is a computer program that links and merges various object files together in order to make an executable file.
Assembler
Compiler
Linker
Loader
This phase scans the source code as a stream of characters and converts it into meaningful lexemes.
Lexical Analyzer
Syntax Analyzer
Semantic Analyzer
Code Generator
Which of the following is false:
INTERPRETED programs run slower than COMPILED programs
ASSEMBLY LANGUAGE is easier to read then MACHINE CODE
COMPILED programs are easier to debug
MACHINE CODE programs are usually HARDWARE SPECIFIC
What is machine code?
Instructions and data in binary
Serial number of the CPU
Instructions and data in human readable form
Instructions and data in assembly code mnemonics
What is the problem writing machine code?
Quick to learn
Easy to debug
Easy to read
Hard to remember the binary codes Hard to remember the binary codes
What is a MNEMONIC?
A single action that can be performed by a computer.
A symbol that represents an instruction in assembly code.
A high level language keyword.
A register used inside a CPU A register used inside a CPU.
What is assembly code?
Another name for machine code
High-level programming language
Low-level programming language
Type of object code Type of object code
Which of the following is NOT a High Level Language?
Python
Java
x86 Assembly
C++
Which of the following is NOT a High Level Language?
Python
Java
x86 Assembly
C++
Why were high-level languages developed?
Low-level language was too easy
They were created by accident
Low-level languages are hard to remember and use
Computers were getting too advanced
What does a translator do?
Swaps between different high-level languages
Swaps between different machine code types
Converts pseudocode to machine code
Converts programs to machine code
Which of the following is NOT a translator?
Assembler
Compiler
Interpreter
Executable
Why do we need translators?
Computers only understand program's in assembly code.
Computers only understand program's in high-level language.
Computers only understand Norwegian.
Computers only understand program's in machine language.
It translates the whole program into machine code before it runs.
Assembler
Compiler
Interpreter
Linker
It translates code into machine code instruction by instruction.
Assembler
Compiler
Interpreter
Linker
It translates code into machine code instruction by instruction
Assembler
Compiler
Interpreter
Linker
It translates assembly code into machine code.
Assembler
Compiler
Interpreter
Linker
In general, compiled code is quicker than interpreted code.
True
False
In general, compiled code is smaller than interpreted code.
True
False
In general, compiled code is easier to debug than interpreted code.
True
False
In general, compiled code is easier to debug than interpreted code.
True
False
You do not get access to the source code with compiled code.
True
False
What does IDE stand for?
Internal Development Environment
Integrated Design Environment
Internal Design Environment
Integrated Development Environment
Which of the following is NOT part of an IDE?
Debugger
Communicator
Code Editor
Auto-completion
IDE's contain a ________ environment which allows you to execute the program
runtime
outtime
walktime
linetime
What does auto-completion do?
Deletes the function, arguments or variables
Formats the function, arguments or variables
Suggests or completes the function, arguments or variables
Suggests or completes the program
Explore all questions with a free account