Vocabulary Flashcards

1
Q

lowerCamelCase

A

lowerCamelCase is a naming convention where the first letter is lower case, subsequent start of a word is upper case.

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

World

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
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
4
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
5
Q

Define A Function

A

Defining the function means to teach the computer a new command what it should do when receiving that command

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

Call A Function

A

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

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

Indentation

A

Indentation is the visual structure of how your code is laid out. It uses tabs to organize code into a hierarchy

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

Curly Brackets

A

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

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

Parentheses

A

( and )

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
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
11
Q

Break Down (Decompose)

A

Breaking down (decomposing) your code is splitting it into more functions

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

Read like a story

A

Programs that “Read like a story” have a good decomposition and make the code easy to follow

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

Decomposition

A

Decomposition is breaking your program into smaller parts

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

Top Down Design

A

Top down design is a method for breaking our program into smaller parts.

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

Loop

A

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

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

For Loop

A

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

17
Q

Control Structure

A

A control structure let us change the flow of the code

18
Q

loop

A

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

19
Q

While loop

A

Let us repeat code that you put inside an if statement or while loop

20
Q

Condition

A

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

21
Q

Control Structure

A

A control structure lets us change the flow of a code

22
Q

Fencepost Problem

A

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

23
Q

If else Statement

A

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

24
Q

If statement

A

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