Define compound operations.
What kind of code does a compiler generate?
What is machine code?
Differentiate the AND and OR operators.
- AND: All conditions must be true.
- OR: At least one condition must be true.
Define what an IF-ELSE statement is.
- ELSE: Fallback code that runs when a certain condition is not met
State at least two (2) needs for higher-level languages.
- Fixed vocabulary
- Unambiguous meaning
- Consistent grammar and syntax
- Abstraction
- Simplicity
Differentiate compilers and interpreters.
- Batch translation vs. per-line translation
- Runtime after translation vs. runtime during translation
- Fast vs. slow
- Difficult error handling vs. easy error handling
Define the % operation.
What is modulo (remainder)?
What will a FOR (i = 0; i < 5; i++) loop do?
What is run 5 times?
What are ADD, RETRIEVE/LOAD, SAVE/STORE, and COMPARE?
Define how an assembler operates.
What is the translation of assembly language to machine code?
What is decrement the variable 'i'?
What are parameters (input) and output?
What kind of information can computers access?
What is machine code/binary?
Define how a Virtual Machine operates.
What is the translation to and execution of intermediate bytecode?
What is the output when NOT ((23 > 7) AND (4 < 6)) is run in a machine?
What is FALSE?
Define a SWITCH conditional.
Checks across different cases to run certain code
Order the following in the flow of compilation: Assembly Language, Machine Code, Binary Code, Scripting Languages
Differentiate between a class and an object.
What does the code NOT (24 !=7 OR 3 = 3) result to?
What is SyntaxError?
Differentiate a WHILE and DO-WHILE loop.
- WHILE: Checks the condition BEFORE executing code
- DO-WHILE: Checks the condition AFTER executing code