Swift Playgrounds Quiz 2

Swift Playgrounds Quiz 2

memorize.aimemorize.ai (lvl 286)
Section 1

Preview this deck

Command

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

0

All-time users

0

Favorites

0

Last updated

6 years ago

Date created

Mar 1, 2020

Cards (25)

Section 1

(25 cards)

Command

Front

A specific action for the computer to perform.

Back

Function

Front

A collection of commands grouped together and given a name. The set of commands can then be run with just the name of the function whenever that set is needed.

Back

Coding

Front

Telling the computer what to do.

Back

conditional

Front

Code that runs when specific conditions are true

Back

for i in 1...4

Front

Example of a for loop

Back

if/else statements

Front

one or the other is DEFINITELY true

Back

Sequence

Front

The order in which the commands are given.

Back

Swift

Front

Newest programming language from Apple that's used to create apps.

Back

The Number 2 in binary.

Front

10

Back

Algorithm

Front

a process or set of rules to be followed in calculations or other problem-solving operations, especially by a computer.

Back

if/else if statements

Front

one or none may be true

Back

Developers

Front

People who write code to build their own apps and games.

Back

for loop

Front

keyword for writing a for loop

Back

func

Front

keyword for naming a function

Back

moveForward( )

Front

Example of a command

Back

Open-sourced code

Front

Code that is available for developing on other platforms, not just those designed by Apple.

Back

( )

Front

indicates that this line of code is a command

Back

func turnRight( )

Front

Example of naming a function

Back

Bug

Front

An error in your code.

Back

onAGem{ }

Front

Example of a condition

Back

Binary

Front

The binary number system is base 2, using only bits 0 and 1.

Back

Debugging

Front

The process of identifying and fixing the error.

Back

JavaScript

Front

One of the most commonly used scripting language for use in web pages.

Back

{ }

Front

indicates that this line of code is a condition

Back

For loop

Front

Runs a block of code over and over for a set number of times.

Back