What is an Algorithm?
An algorithm is a set of instructions for solving a problem or completing a task
What is Decomposition?
Decomposition involves breaking down a large problem into smaller sub-problems
What is Abstraction?
Abstraction involves removing unnecessary detail from a problem so that you can focus on the essential components
What is an IDENTIFYER?
Another word for a variable name
What is a Variable?
A variable is a name for a memory location that is used to temporarily store data that has been assigned a value.
A variable can be changed while the program is running.
What data type is used for whole numbers?
Integer
What data type is used for fractions?
Float or Real
What data type is used for a single ASCII character?
Char
What data type is used for characters put inside “” marks?
String
What data type can only be true or false?
Boolean
What is a constant?
Aconstantis a location in memory that holds a value. It has a label or name to identify it and its value cannotbe changed as the program runs
What is Sequence in programming?
The order in which an algorithm is executed.
What is Selection in programming?
Selection is a programming construct that allows a program to make decisions and execute specific blocks of code only if certain conditions are met. IF, ELIF, ELSE.
What is MOD used for in programming?
MOD (modulus) is used to find the remainder when dividing one integer by another
What is DIV used for in programming?
The operator DIV is used for integer division, it returns a whole number but no remainder.
What is Iteration in programming?
Iteration means repetition of a section of code
While and For loops
What is an Array in programming?
Stores multiple values of the same data type
(e.g., all integers, all strings, all floats)
What is Concatenation in programming?
Joining two strings together in python we use +
What is casting in programming?
Casting is where we can change a variable from one data type to another.