1/21
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
What is an algorithm?
A step-by-step process where raw data is converted into refined data through logical instructions to solve a problem.
What is a flowchart?
A diagram that shows an algorithm using standard symbols and arrows to represent control flow.
What is pseudocode?
Pseudocode means "false code"; it's a way to write out an algorithm in structured English before actual programming.
What is a program?
A set of coded instructions written in a programming language to perform a specific task.
What is source code?
Human-readable code written in a high-level language like Python.
What is machine code?
Binary code (0s and 1s) that a computer can directly understand and execute.
What is a compiler?
A tool that converts the entire source code into machine code before execution.
What is an interpreter?
A tool that reads and executes source code line by line.
What are relational operators?
Symbols used to compare values, like ==, !=, >,
What are logical operators?
Operators like AND, OR, and NOT used to combine or reverse conditions.
What is iteration?
Repeating a set of instructions using loops until a condition is met.
What is a FOR loop?
A loop that repeats instructions a set number of times.
What is a WHILE loop?
A loop that runs as long as a condition is true.
What is a subroutine?
A small, reusable block of code that performs a specific task.
What is a function?
A named subroutine that runs when called and can return a value.
What is a parameter?
A value passed into a function to be used in its operation.
What is a return value?
The result a function gives back after it finishes.
What is looping in text-based programs?
Using loops like FOR and WHILE in languages such as Python to repeat instructions.
What is an infinite loop?
A loop that never ends because the condition is always true.
What is a condition?
A logical expression that decides whether code runs or not.
What is an iteration variable?
The variable that changes during each loop cycle (e.g., i in for i in range).