DT Coding Test 7 Flashcards

1
Q

Algorithm

A

a list of commands or steps given to the computer so it can perform a task

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Sequence

A

the order the commands are given

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Command

A

a specific action used to control Byte (or anything else)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

camelCase

A

a computer language where instead of using spaces between words you use a capital letter

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Pseudo Code

A

writing down codes in basic English (ex. moveForward() is camelCase, and move forward is Pseudo code)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Functions

A

A set of instructions that you would like to use all under a single command name.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Function Declaration

A

The keyword of ‘func’ is used to declare a Function

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Function Name

A

The name which follows the Function declaration and by which the Function will be referred to e.g. func turnRight()

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Function Body

A

The instructions to be followed when the function is called, this is the code in-between the curly braces

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Function Call

A

The act of calling a Function to perform a task e.g. turnRight()

How well did you know this?
1
Not at all
2
3
4
5
Perfectly