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 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
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 in to a hierarchy .

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

Parenthesis

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 (decompose) 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 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

Indentation

A

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

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

Start Function

A

This is the function that is called when you click run

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

Top Down Design

A

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

17
Q

Algorithm

A

An algorithm is a set of steps or rules to follow to solve a particular problem.

18
Q

Loop

A

A loop is a way to repeat code in your program

19
Q

For loop

A

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

20
Q

Control Structure

A

A control structure lets us change the flow of the code

21
Q

While loop

A

Lets us repeat code as long as something is true

22
Q

Condition

A

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

23
Q

Fencepost Problem

A

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

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

25
Q

If/Else Statement

A

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