AP Computer Science Principles Full Study Guide

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

1/242

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 3:25 AM on 5/5/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

243 Terms

1
New cards

Effective Collaboration

Avoids bias and produces innovations that reflect diversity of talents and perspectives

2
New cards

Computing Innovation

Includes a program as an integral part of its function and can be physical or non-physical software or concepts; solve problems or pursue interests through creative expression

3
New cards

Hardware

Physical components of a computing device

4
New cards

Inputs

Data sent to a computer for processing by a program through tactile, audio, visual, text, etc. to affect the output; can come from user or other program

5
New cards

Event

Generated when a defined action occurs and are associated with an action

6
New cards

Event-Driven Programming

Program statements that get executed when triggered rather than running in a sequential flow

7
New cards

Outputs

Data sent from a program to a device through tactile, audio, visual, text, etc.

8
New cards

Program/Software

Collection of program statements that perform a specific task when run by a computer; can be described broadly (what it does) or detailed (what it does and how it does it)

9
New cards

Code Segment

Portion of a program that performs a dedicated task

10
New cards

Development Process

Investigating and reflecting, designing, prototyping, and testing that requires refinement and revision throughout the process

11
New cards

Iterative and Incremental Development

A program design process that builds a program in small, tested parts (incremental) while constantly refining them through cycles of feedback and testing (iterative); Allows programmers to identify errors as components are added to a program

12
New cards

Investigation

Understanding/identifying program constraints, concerns, and purpose through data surveys, user testing, interviews, and direct observations

13
New cards

Program Requirements

Outlined in program specifications; describe how a program functions and may include a description of user interactions

14
New cards

Design Phase

How to accomplish a given program specification; done through brainstorming, storyboarding, breaking up into modules, diagrams, and coming up with strategies

15
New cards

Testing

Done at micro and macro level to identify needed revisions

16
New cards

Load Testing

Simulating high amounts of traffic in a short period of time to see if a system crashes/buckles under the load

17
New cards

Acknowledgment

Code segments from outside collaborators or sources must be acknowledged in program’s documentation

18
New cards

Program Documentation

Written description of function of a code segment, event, procedure, or program and how it was developed; Most often in comments and should be done throughout development

19
New cards

Logic Error

Mistake in the algorithm or program causing it to behave incorrectly or unexpectedly

20
New cards

Syntax Error

Mistake in the program where the rules of the programming language aren’t followed

21
New cards

Run-time Error

Mistake in program that occurs during the execution of a program

22
New cards

Roundoff Error

Produces a number that is too precise and must be simplified

23
New cards

Off-by-one Error

Common kind of logic error when dealing with indices and accidentally sue too high or low an index

24
New cards

Overflow Error

Mistake when a computer attempts to handle a number outside of the defined range of value; Produces a number that is too large for designated space and either gets capped or wraps around

25
New cards

Floating Point Representation

Typically used for non-integer real numbers in computer memory that uses scientific notation to handle a large range of values

26
New cards

Correcting Errors

Test cases, hand tracing, visualizations, debuggers, and extra output statements

27
New cards

Bit

Shorthand for binary digit and is either a 0 or 1 (on or off) that represent all digital data, where one bit is one unit of data

28
New cards

Alphanumeric Character

Anything on keyboard that can be on a computer

29
New cards

Bitmap

Mapping certain pixels to 0 and others to 1

30
New cards

Bit Rate

Number of bits of data that are sent per second; used to measure speed of network connections sending bits

31
New cards

Byte

8 bits often used to represent information in computers

32
New cards

Byte Pair Encoding

Replaces the most common pairs of characters with the outside character, making a table of replacement mappings

33
New cards

Run-length encoding (RLE)

Replaces “runs” or sequences of bits with the same value with a number representing the length of the run; popular technique for images with limited color palettes

34
New cards

Binary System

Uses bits with values that are powers of 2

35
New cards

Abstraction

Reduces complexity and allows programmers to focus on the main idea of a larger problem; Examples where digital data is used to approximate real world analog data

36
New cards

Analog

Mechanism, device, or technology that represents data by measurement of a continuous, physical variable; A continuous stream of varying data

37
New cards

Sampling

Measures the values of the analog signal at regular intervals to represent “smoothness” of a piece of analog data; Reduces continuous domain into a series of discrete intervals

38
New cards

Sampling Rate

Number of samples in a second (or other unit of time)

39
New cards

Quantization

Reduces the continuous amplitude domain into discrete intervals

40
New cards

Bit Depth

The number of bits per sample

41
New cards

Integers in Programming

Represented by a fixed number of bits (where limitation can occur) or only by the size of the computer’s memory

42
New cards

Binary

Base 2 that only uses a combination of 0 and 1

43
New cards

Decimal

Base 10 that only uses a combination of 0-9

44
New cards

Data Compression

Can reduce size (number of bits) of transmitted or stored data to save transmission time and storage space; Fewer bits does not always mean less information

45
New cards

Lossy Compression

Reduces size of files by discarding less important information; More size reduced but more information lost than comparable Lossless Compression

46
New cards

Lossless Compression

Reduces size of files without losing any information, allowing full reconstruction

47
New cards

Lossless Text Compression

Finds repeated sequences and replaces with shorter representations

48
New cards

Lossless Image Compression

Uses run-length encoding (RLE) and bitmap

49
New cards

Data Challenges

Need to clean or combine sources, and data can be incomplete or invalid

50
New cards

Cleaning Data

Process that makes the data uniform without changing their meaning

51
New cards

Problems of Bias

Often created by the type or source of data being collected; Bias not eliminated simply by collecting more data

52
New cards

Size of Data

Affects the amount of information that can be extracted from it; Large data sets are difficult to process using a simple computer and may require parallel systems

53
New cards

Scalability of Systems

Important as computational capacity (ability to manage, process, and scale to meet demands) of a system affects how data sets can be processed and stored

54
New cards

Information

Collection of facts and patterns extracted from data

55
New cards

Opportunities through Data

Identifying trends, making connections, and addressing problems

56
New cards

Metadata

Data about data used for finding, organizing, and managing information, allowing data to be structured and organizing, which can increase the effective use of data; changes to metadata doesn’t change primary data

57
New cards

Correlation

Variables tend to follow same relationship (increase/decrease at a similar rate) but aren’t causing each other

58
New cards

Causation

One variable directly causes change in another

59
New cards

Programs with Data

Used to process data to acquire information in iterative and interactive ways, through filtering or cleaning data, combining data sources, clustering data, and classifying data

60
New cards

User Interaction with Data

Filter, sort, combine, transform, cluster, or classify in order to gain more knowledge or insight; Can be communicated through tables, diagrams, texts, and other visual tools

61
New cards

Data Filtering Systems

Important tools for finding information and recognizing patterns

62
New cards

Processes for Data

Transforming, filtering, combining, comparing, or visualizing

63
New cards

Database

A system that stores data on a computer in a way that can be easily accessed, updated, queried, or deleted

64
New cards

Big Data Sets

So large that traditional ways of storing and processing data are no longer adequate; challenges include storage, processing, and responsible use

65
New cards

ASCII

First standardized encoding that transmits 128 characters into 7 bits for computer use; only has English alphabet and limited symbols

66
New cards

UTF-8

Encoding that is compatible with ASCII but solves its problems

67
New cards

Variable

Abstraction inside a program that can hold a value and change over time; each variable has a name, value, and type

68
New cards

Variable Names

Meaningful variable names help readability of program code

69
New cards

Data Types

Referenced using variables; include Booleans, Lists, Strings, Integers, etc.

70
New cards

Assignment Operator

Shown as ← on exam; changes the value represented by a variable

71
New cards

List

Ordered sequence of elements and related information

72
New cards

Append Items

Adding a new item to the end of the list

73
New cards

Inserting Items

Adding an item at a specific place in the list

74
New cards

Removing Items

Often uses splice() method to remove a specific item

75
New cards

Element

Individual value in a list assigned a unique index

76
New cards

Index

Common method for referencing list/string elements using natural numbers; starts at 1 on AP exam

77
New cards

String

Ordered sequence of characters

78
New cards

String Literals

Fixed sequence of characters within quotation marks

79
New cards

Character

Each letter or piece of a string

80
New cards

Data Abstraction

Hides representation details to simplify development and maintenance

81
New cards

Lists as Data Abstraction

Bundle variables together and treat multiple related items as one value

82
New cards

Sequencing

Applying algorithm steps in the correct order

83
New cards

Code Statement

Instruction carried out by the computer

84
New cards

Expression

Value, variable, operator, or procedure call evaluated to produce one value

85
New cards

Arithmetic Operator

Used to create mathematical expressions

86
New cards

Remainder or MOD operator

Calculates remainder of division

87
New cards

Mathematical Procedure and Constants

Advanced math functions/constants like absolute value or pi

88
New cards

String Concatenation

Joins strings together

89
New cards

Slicing Operator

Extracts part of a string

90
New cards

Substring

Part of an existing string

91
New cards

Boolean Value

Expression that evaluates to true or false

92
New cards

Relational Operators

Compare variables, expressions, or values

93
New cards

Logical Operators

AND, OR, NOT combine boolean expressions

94
New cards

Logical Equivalence

Different expressions with same meaning

95
New cards

NOT Operator

Negates truth value

96
New cards

AND Operator

Both conditions must be true

97
New cards

OR Operator

At least one condition must be true

98
New cards

Selection

Executes code based on a condition

99
New cards

Conditional/If Statements

Execute different statements based on boolean expression

100
New cards

Nested Conditional

Conditional statements inside other conditionals