Mod 11 Tech + Flashcards
What is the main advantage of using bytecode?
It can run on any computer with a runtime engine
What should be done before starting to code a program?
Decide what the program should do.
What is the result of the expression !True?
False
How is an array and vector different
An array has a fixed size, while a vector can change size dynamically
What does the term “syntax” refer to in computer programming?
The rules for how to write the language.
Which of the following is NOT a programming language?
HTML
What is the main purpose of query languages?
To get information from databases
What is the main purpose of pseudocode?
To describe what the code will do using plain language
What does a diamond shape in a flowchart indicate?
A decision point
What keyword is used in pseudocode to represent a loop with a condition at its beginning?
While
What is a binary executable file?
A file that can be directly executed by the computer’s processor
Why is code written in assembly language more efficient?
It allows direct access to hardware.
What is sequential flow in a program?
Code that runs in the order it is written
Which number type is similar to a float but can store larger and more precise numbers?
Double
What do you put inside the parentheses when using a function?
The arguments or values the function needs to process
What is a container in programming?
A set of values held by an identifier
Which number type would you use for precise financial calculations?
Fixed-point
If condition A is True and condition B is False, what does the OR operation return?
True
Which of the following is an example of a character variable?
‘7’
What happens when the condition in a While loop is no longer met?
The loop stops running.
What is the purpose of adding comments to your code?
To explain what each part of the code does
What is object-oriented programming (OOP)?
A way to model real-world objects in computer code.
LAB
What is debugging?
Fixing mistakes in code