APCSP - Unit 3 Vocabulary Flashcards

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/33

flashcard set

Earn XP

Description and Tags

Vocabulary flashcards covering key computer science terminology, data types, variable rules, operators, geometry graphics, and FRQ command terms for APCSP Unit 3.

34 Terms

1
New cards

Compiler

A special program that takes care of converting programs into binary machine code.

2
New cards

Variable

An abstraction inside a program that stores information in data storage representing one value at a time (or a collection of values) so that it can be used later.

3
New cards

Algorithm

A self-contained step-by-step set of instructions to solve a problem or accomplish a task, which can be constructed using sequencing, selection, and iteration.

4
New cards

String

An ordered sequence of characters.

5
New cards

Concatenation

The operation that joins together two or more strings end-to-end to make a new string.

6
New cards

Input Function

A function that prints a prompt and retrieves text from the user.

7
New cards

Mouse Events

Actions performed when a user does something with a mouse, such as clicking or moving.

8
New cards

Callback Function

A function that gets called by a program in response to some event.

9
New cards

Integer Data Type

A data type used when a value represents a whole number or countable quantity, such as the number of students, tickets, or complete groups.

10
New cards

Float Data Type

A data type used when a value can contain a decimal, such as a temperature, measurement, average, or price.

11
New cards

String Data Type

A data type used when a value represents text, such as a name, username, or message.

12
New cards

Appropriate Variable Name

A variable name that clearly and specifically describes the value being stored.

13
New cards

User Input

Information the user directly enters or selects while using the program.

14
New cards

Return Value of input()

The input() function always returns user input as a string.

15
New cards

int(input())

A combination that gets input from the user and converts that input into an integer.

16
New cards

float(input())

A combination that gets input from the user and converts it into a float so decimal values can be used in calculations.

17
New cards

Variable Reassignment

The process where a variable's old value is replaced by a new value. The right side of the assignment statement is calculated first, then stored in the left variable.

18
New cards

Variable Tracing

Going through code one line at a time and updating each variable's value immediately, always using its most recently assigned value.

19
New cards

Operator Precedence

The order of mathematical operations: Parentheses (), Exponents **, Modulo/Multiplication/Division (evaluated left to right), and Addition/Subtraction (evaluated left to right).

20
New cards

Regular Division (/)

Division operation that creates a floating-point number.

21
New cards

Floor Division (//)

Division operation that creates an integer and rounds down to the nearest whole number.

22
New cards

Modulo Operator (%)

An arithmetic operator that returns the remainder after division.

23
New cards

Exponentiation (**)

An arithmetic operator used to raise a number to a power.

24
New cards

Even Divisibility Test

If n%3=0n \% 3 = 0, then nn is evenly divisible by 3 (the remainder is 0).

25
New cards

Nested Procedures

When one supplied procedure appears inside another, the inner procedure must be evaluated first.

26
New cards

Procedure Argument Order

The requirement that each argument in a procedure call must match its exact position in the procedure definition.

27
New cards

Circle Coordinates

On a coordinate graph, the (x,y)(x, y) values of a circle represent its center point.

28
New cards

Radius

The distance measured from the center of a circle to its edge.

29
New cards

Diameter

The distance all the way across a circle, which is equal to twice the radius.

30
New cards

Circle Centered at (4, 6) with Radius 2

Means the center is at (4,6)(4, 6), and the edge of the circle is 2 units away from the center.

<p>Means the center is at $$(4, 6)$$, and the edge of the circle is 2 units away from the center.</p>
31
New cards

FRQ Prompt: IDENTIFY

An FRQ directive requiring you to state the requested information directly and accurately.

32
New cards

FRQ Prompt: DESCRIBE

An FRQ directive requiring details about what something is or does, including how the relevant expression determines its value.

33
New cards

FRQ Prompt: EXPLAIN

An FRQ directive requiring you to connect cause and effect by showing how or why one part of the program leads to the requested result.

34
New cards

Difference Between DESCRIBE and EXPLAIN

DESCRIBE tells what the expression does and how it determines the value; EXPLAIN connects that value to what happens in the program or what is displayed.