vocab Flashcards

(12 cards)

1
Q

world

A

A world “ Karel world” is a grid that Karel lives in.

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

karel

A

Karel is a dog who listens to your commands

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

command

A

A command is an instruction you can give to Karel.

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

lower camel case

A

lower camel case is a naming convention where the first letter is lower case, and each subsequent star of a word is upper case.

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

Loop

A

A loop is a way to repeat code in your program.

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

For loop

A

A for loop lets us repeat code a fixed number of times.

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

Control structure

A

A control structure lets us change the flow of the code.

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

while loop

A

Lets us repeat code as long as something is true.

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

condition

A

A condition is a code that you put inside an if statement or while-loop

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

Fencepost problem

A

A problem when using a while loop where you forget on action at the beginning or the end.

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

if statement

A

An it statement lets you ask a question to the program and only run code if the answer is true.

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

if else statement

A

Control structure that lets us do either one section of code or another depending on a test.

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