Feb. 7, 2019 Flashcards

(6 cards)

1
Q

Define a function

A

Define a function means to teach the computer a new command and explain what it should do when receiving that command.

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

Call a function

A

Calling a function actually gives the command, so the computer will run that code for the function.

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

Indentation

A

Indentation is the visual structure of how your code is laid out.

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

curly bracket

A

An open curly bracket is {and a close curly bracket is}

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

Parentheses

A

(and)

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

Function body

A

The part of a function that contains the commands

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