Section 1

Preview this deck

logical NOT operator

Front

Star 0%
Star 0%
Star 0%
Star 0%
Star 0%

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Active users

1

All-time users

1

Favorites

0

Last updated

1 year ago

Date created

Mar 1, 2020

Cards (23)

Section 1

(23 cards)

logical NOT operator

Front

a ! symbol that changes the Boolean value of a piece of code, e.g. if isOnGem is True, !isOnGem must be False

Back

right

Front

hand rule - a rule used in maze-solving algorithms that guides the character to go through the maze by following the wall on the right hand side

Back

define

Front

provide commands to create a function

Back

while loop

Front

a block of code that is repeated until a condition is met

Back

inner loop

Front

a block of code inside another block

Back

nest

Front

to place one repeating block of code inside another block, e.g. a loop

Back

logical OR operator

Front

a || symbol that combines two values where only one must be True, e.g. isOnGem || isOnClosedSwitch is True when either isOnGem or isOnClosedSwitch is True

Back

outer loop

Front

a block of code that contains another block

Back

conditional code

Front

code that runs only when certain conditions are met (if and while loops contain conditional code)

Back

pseudocode

Front

a description of code written using everyday language to make it easy to read

Back

Swift

Front

Apple's programming language

Back

debug

Front

to find and fix errors or bug in code

Back

playground

Front

an area to test and learn about the code you write in Swift

Back

command

Front

code that tells an app what to do

Back

composition

Front

combining small parts to solve a problem

Back

for loop

Front

a block of code that is repeated for a certain number of times

Back

logical AND operator

Front

a && symbol that combines two True values for the whole code to be true, e.g. isOnGem && isOnClosedSwitch can only be True if both isOnGem and isOnClosedSwitch are True.

Back

call

Front

to instruct a program to run a function

Back

else if block

Front

a block of code inside an if block that checks for additional conditions that were not checked by the if block

Back

Boolean

Front

a type that can only have the value of True or False, e.g. 8 < 5 returns the Boolean value of false because 8 is not less than 5.

Back

function

Front

a set of commands put in a group to create a new command

Back

bug

Front

an error that stops the app from running

Back

if block

Front

a block of code that checks conditions

Back