1/52
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced |
|---|
No study sessions yet.
Unit 3 Vocabulary
argument:An argument is the actual value supplied to a function’s parameter when the function is called.
Boolean value:A Boolean value represents a true/false condition used to control decisions and logic in a program.
conditional loop:A conditional loop repeats instructions based on a condition; the loop continues as long as the condition is true (or until it becomes true).
conditional statements:Conditional statements execute certain blocks of code only if specified conditions are met (true).
counting loop:A counting loop repeats a block of code a set number of times, often using a loop variable to keep track of how many times it has run.
elif statement:An elif statement tests a new condition if the previous if or elif condition was false. It allows the program to choose between more than two paths.
else statement:An else statement provides an alternative set of commands that run only if the condition in an if statement is false
for loop:A for loop allows a program to repeat a set of instructions a fixed number of times, using a loop variable that changes with each repetition.
function:A function is a named group of instructions that can be called (used) multiple times to perform a specific task.
if statement:An if statement runs a block of code only if a specified condition is true.
infinite loop:An infinite loop is a loop that continues to run forever because its stopping condition is never true or because it has no condition to stop.
iteration:Iteration is the repetition of a set of instructions in a program until a condition is met or for a certain number of times.
logical operators:Logic operators connect or change Boolean values or expressions to create new Boolean results.
manage complexity:Managing complexity means dividing a program or problem into smaller pieces, often using functions, procedures, or abstractions, so it’s simpler to solve and modify.
modularity:Modularity means dividing a program into separate pieces (modules) that can be developed, tested, and understood independently but work together to solve a problem.
nested conditional statements:Nested conditional statements occur when one conditional statement is located inside the block of another conditional statement.
parameters:Parameters are placeholders in a function that receive values (arguments) passed into the function when it is called.
procedural abstraction:Procedural abstraction means defining a procedure that performs a specific task, so the user of that procedure only needs to know what it does, not how it does it.
procedure:A procedure is a reusable set of instructions that can be executed whenever it is called, often to perform a particular task.
procedure call:A procedure call is when the program runs the instructions inside a named procedure by using the procedure’s name.
relational operators:Relational operators compare two values and produce a Boolean result based on the comparison.
selection:Selection is the process where a program makes decisions by executing certain instructions only if specific conditions are met.
while loop:A while loop runs the instructions inside it repeatedly while a condition remains true.