AP Computer Science Principles Flashcards

(14 cards)

1
Q

An innovation that includes a computer or program code as an integral part
of its functionality.

A

Computing Innovation

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

A character or string incorrectly placed in a command or instruction that causes a failure
in execution.

A

Syntax Error

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

Used to store information to be referenced and manipulated in a computer program

A

Variables

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

A special type of subroutine called to create an object. It prepares the new object for use,
often accepting arguments that the constructor uses to set required member variables.

A

Constructor

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

Provide coded instructions for the automatic performance of a task.

A

Program

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

An if statement placed inside another if statement. There are two ways to make
one. We can place an if statement inside the if code of another if statement. Before that nested if
statement executes, both its condition and that of the preceding if statement have to be true.

A

Nested If Statement

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

Collection of statements written in a programming language to describe a specific behavior.

A

Method

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

An action that an object can take or a task it can perform in response to a request from an
external source.

A

Behavior

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

Assumptions of what is true before the method is called.

A

Preconditions

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

What will be true after the method is finished.

A

Post-Conditions

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

(also called a while loop) is used to define a block of code that will be
executed repeatedly as long as a specified condition is true.

A

Pretest While Condition

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

Has one part; formed by invoking a single sensor method.

A

Simple Condition

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

Uses logical operators. The Jeroo language contains the three most commonly
used logical operators: !(NOT), &&(AND), ||(OR).
Boolean: a binary variable, having two possible values called “true” and “false.”.

A

Compound Condition

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

a binary variable, having two possible values called “true” and “false.”

A

Boolean

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