Learn to Code 1
Learn the vocabulary in Swift Playgrounds!
Terms in this set (14)
Code that tells an application to perform a specific action.
A set of related events, movements, or things that follow each other in a particular order.
Closed switches are OFF and awaiting activation.
Open switches are ON and glowing with light.
An error in code that prevents an application from running as expected.
To find and fix errors in code that prevent an application from running correctly.
A named set of commands that can be
run whenever needed.
A block of repeated code that runs a
certain number of times.
The process of combining small parts of a program to solve a larger problem.
To tell a program to run a function. For example, calling the moveForward( ) function in your code tells the program to perform actions defined in that function.
Code that runs only when specific conditions are met. For example, IF statements and WHILE loops contain conditional code that runs only if or while a condition is TRUE.
A type that has a value of either true or false.
A symbol, such as &&, ||, or !, that modifies or combines the Boolean logic values true and false.
A block of code that runs for as long as a given condition is true. When the condition changes to false, the loop stops running.
A step-by-step set of instructions or rules
for solving a problem.