What is a variable?
It is a named memory address that holds a value.
What do you call a variable name?
Identifier
What criteria must a variable meet?
What is an integer?
A whole number.
What is a float?
Decimal numbers.
What is a character?
A single alphanumeric character.
Define algorithm.
A step-by-step procedure for solving a problem or performing a task.
True or false: Variables can store different types of data.
TRUE
Variables can hold integers, strings, booleans, and more.
Fill in the blank: A loop is used to _______ a set of instructions repeatedly.
execute
What is a function in programming?
A reusable block of code that performs a specific task.
Define syntax.
The set of rules that defines the combinations of symbols in a programming language.
What does debugging mean?
The process of identifying and removing errors from computer code.
True or false: Comments in code are executed by the program.
FALSE
Comments are ignored by the compiler or interpreter.
Fill in the blank: A conditional statement allows the program to _______ based on a condition.
branch
What is a data structure?
A way of organizing and storing data for efficient access and modification.
Define array.
A collection of items stored at contiguous memory locations.
What is iteration?
The repetition of a process or set of instructions in programming.
True or false: Object-oriented programming focuses on objects rather than actions.
TRUE
It emphasizes encapsulation, inheritance, and polymorphism.
Fill in the blank: A boolean data type can hold _______.
true or false
What is compilation?
The process of converting source code into executable code.
Define syntax error.
An error in the code that violates the rules of the programming language.
What is a loop control variable?
A variable that determines how many times a loop will execute.