APCSP - Unit 3 Vocabulary

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

1/26

flashcard set

Earn XP

Description and Tags

Vocabulary practice flashcards for AP Computer Science Principles Unit 3 covering programming concepts, data types, variable tracing, math operators, coordinate graphs, and FRQ command terms.

27 Terms

1
New cards

Compiler

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

2
New cards

Variable

Something that stores information in a program so that it can be used later; an abstraction inside a program that can hold a value.

3
New cards

Algorithm

A self-contained step-by-step set of instructions to solve a problem (accomplish a task); can be expressed in natural language, diagrams, or pseudocode, and constructed using sequencing, selection, and iteration.

4
New cards

String

An ordered sequence of characters.

5
New cards

Concatenation

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

Events triggered when a user does something with a mouse, like 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

Used when a value represents a whole number or something being counted, such as the number of students, number of tickets, or number of complete groups.

10
New cards

Float Data Type

Used when a value can contain a decimal, such as a temperature, measurement, average, or price.

11
New cards

String Data Type

Used when a value represents text, such as a name, username, or message.

12
New cards

User Input

Information the user directly enters or selects while using the program; always returned as a string by the input()input() function.

13
New cards

int(input())int(input())

A function call that gets input from the user and converts that input into an integer for numerical calculations.

14
New cards

float(input())float(input())

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

15
New cards

Variable Assignment Evaluation

When evaluating an assignment statement, the right side is calculated first, and the result is stored in the variable on the left side.

16
New cards

Variable Reassignment

Replaces the old value of a variable with a new value. When tracing code, always use the variable's most recently assigned value.

17
New cards

Operator Precedence

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

18
New cards

Regular Division Operator (//)

Performs regular division and creates a floating-point number.

19
New cards

Floor Division Operator (////)

Performs floor division, creating an integer and rounding down to the nearest whole number.

20
New cards

Modulo Operator (%\%)

An arithmetic operator that returns the remainder after division.

21
New cards

Exponentiation Operator (∗∗**)

An arithmetic operator that performs exponentiation (raising a number to a power).

22
New cards

Circle Representation on Coordinates

A circle centered at (4,6)(4, 6) with a radius of 22 means the center point is at (4,6)(4, 6) and the edge of the circle is 22 units away from the center.

<p>A circle centered at $$(4, 6)$$ with a radius of $$2$$ means the center point is at $$(4, 6)$$ and the edge of the circle is $$2$$ units away from the center.</p>
23
New cards

Circle Radius vs. Diameter

Radius measures the distance from the center of the circle to its edge, while diameter measures the distance all the way across the circle (the diameter is twice the radius).

24
New cards

Nested Procedures Evaluation

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

25
New cards

FRQ Prompt: IDENTIFY

Directs the student to state the requested information directly and accurately.

26
New cards

FRQ Prompt: DESCRIBE

Directs the student to give details about what something is or what it does, including how the relevant expression determines its value.

27
New cards

FRQ Prompt: EXPLAIN

Directs the student to connect cause and effect, showing how or why one part of the program leads to the requested result.