Vocab pt 2 Flashcards

1
Q

simplify complex programming tasks by providing sets of clearly defined methods of communication among various computing components.

A

Application Programming Interfaces

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

Managing complexity by “abstracting away” information and detail, to focus on the relevant concepts.

A

Abstraction

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

Logical operator that ANDs two boolean values. Written as &&. a && b will be true if both a and b are true.

A

and operator

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

Written instructions detailing the functions, methods, and variables available and how to use them.

A

documentation

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

the study of computational thinking, the thinking humans need to in order to describe a step-by-step process to a computer.

A

computer science

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

breaking your program into smaller parts.

A

Decomposition

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

A loop, most often set with while(true), that has a break statement in the loop body.

A

loop and a half

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

Using a condition to determine which part of an algorithm is executed.

A

Selection

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

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

A

Calling a Function

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

The part of a function that contains the commands

A

Function Body

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

Used to make logical associations between boolean values

A

Logical operator

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

Assumptions we make about what must be true before the function is called.

A

Precondition

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

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

A

Algorithm

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

lets us repeat code a fixed number of times

A

For Loops

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

repeat code as long as something is true.

A

While loops

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

A loop that has no way of stopping, and will keep looping forever.

A

infinite loops

17
Q

a mistake in the algorithm or program that causes it to behave incorrectly or unexpectedly.

A

logic error

18
Q

breaks out of the current loop, without executing any more code in the loop.

A

break statement

19
Q

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

A

If Statement

20
Q

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

A

Defining a Function

21
Q

Programs like this have good decomposition and make the code easy to follow.

A

Read Like a Story

22
Q

lets us change the flow of the code.

A

control structures