AP Computer Science Principles Exam Review

0.0(0)
studied byStudied by 3 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/109

flashcard set

Earn XP

Description and Tags

Flashcards covering key vocabulary and concepts from the lecture notes, designed to aid in exam preparation.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

110 Terms

1
New cards

Computing Innovation

Uses a computer program to take in data, transform data, and output data.

2
New cards

Collaboration in Programming

Occurs in planning, testing, or designing, and allows for exchange of ideas, multiple perspectives, and clarification of misconceptions.

3
New cards

Pair Programming

Two programmers develop software side-by-side at one computer on the same algorithm.

4
New cards

User Interface

Inputs and outputs that allow a user to interact with a piece of software; should have meaningful names.

5
New cards

Camel Case

A naming convention where words are concatenated, and each word after the first starts with a capital letter (e.g., stopButton).

6
New cards

Input

Data that is sent to a computer for processing.

7
New cards

Output

Data sent from a program to a device.

8
New cards

Program

A collection of instructions that a computing device executes.

9
New cards

Code Segment

A smaller collection of statements that are part of a program.

10
New cards

Program Event

An action or occurrence that takes place within a computer program, triggering specific actions.

11
New cards

Event Driven Program

A program that responds to events triggered by user actions or system events.

12
New cards

Sequential Program

A program that executes instructions in order.

13
New cards

Iterative Development Process

Programmers develop working prototypes and go back through the stages of development.

14
New cards

Incremental Development Process

Programmers break the program into smaller pieces and ensure each piece works before adding it to the whole.

15
New cards

Library

A collection of functions that can be used in different programs, including details on how each function works, parameters, and return values.

16
New cards

Application Program Interface (API)

How each function works with a complete list of parameters and what (if anything) is returned.

17
New cards

Syntax Error

Occurs when the spelling and/or punctuation rules of the programming language are not followed.

18
New cards

Comments

Program documentation crucial for understanding how every part of a program works.

19
New cards

Logic Error

A mistake in a program's base logic that causes unexpected behavior.

20
New cards

Run-Time Error

An error that occurs when the program is running.

21
New cards

Overflow Error

An error that occurs when a computer tries to handle a number outside of its defined range of values.

22
New cards

Debugging

The process of finding and fixing errors in a program.

23
New cards

Number Base

The number of digits or digit combos that a system uses to represent values.

24
New cards

Decimal System

Uses a base 10 with combinations of 0-9.

25
New cards

Binary System

Only uses combinations of 0 and 1.

26
New cards

Bit

Smallest unit of information stored or manipulated on a computer (0/1).

27
New cards

Byte

8 bits form a byte.

28
New cards

Analog Data

Data that is measured continuously and changes very smoothly.

29
New cards

Sampling

Recording an analog signal at regular discrete moments and converting them to digital signals.

30
New cards

Data Abstraction

Filtering out specific details to focus on the information needed to process the data.

31
New cards

Digital Data

Simplified representation that leaves out extra details.

32
New cards

Data Compression

Without it a 3 minute song would be over 100MB.

33
New cards

Lossless Data Compression

Set of steps for packing data into a smaller space while allowing for the original data to be seen.

34
New cards

Run Length Encoding

Replacing repeating data with a run that represents the number and value of the repeated data.

35
New cards

Lossy Data Compression

Sacrifices some data in order to achieve greater compression.

36
New cards

Metadata

Data about data; it does not affect the data itself.

37
New cards

Data Mining

The process of examining very large data sets to find useful information such as patterns.

38
New cards

Data Transformation

Modifying every element of a data set.

39
New cards

Bias

Problems are often created by the type or source of data being collected.

40
New cards

Bar Chart

Presents categorical data with rectangular bars with heights or lengths proportional to the values that they represent.

41
New cards

Scatter Plots

Uses dots to represent values for two different numeric variables.

42
New cards

Global Variable

A variable that can be used anywhere in the program; declared outside of an event.

43
New cards

Local Variable

A variable that is used only in the part of the code it was created and is deleted once the event is done; should be avoided.

44
New cards

Data Types

Different categories of data that your computer can represent (e.g., integers, strings, lists, booleans).

45
New cards

Integers

Can be positive or negative whole numbers.

46
New cards

Strings

Represented by quotation marks.

47
New cards

Substring

Part of an existing string.

48
New cards

Boolean

Can only represent two values: true or false; computers use this to make decisions inside conditionals.

49
New cards

NOT Operator

Used to reverse what the condition evaluates to.

50
New cards

AND Operator

Used to combine two conditions; the operator will only evaluate to true if both conditions are met.

51
New cards

OR Operator

Involves two conditions; evaluates to true if one condition or the other is met.

52
New cards

Nested Conditionals

Conditional statements inside conditional statements.

53
New cards

Lists

An ordered sequence of elements; also known as arrays.

54
New cards

Algorithms

A set of instructions used to accomplish a specific task or solve a problem.

55
New cards

Element

An individual value in a list.

56
New cards

Linear Search

Checks each element of a list in order until the desired value is found or all elements in the list have been checked.

57
New cards

Binary Search

Algorithm starts in the middle of a sorted data set and eliminates half of the data based on what it’s looking for; repeats the process until the desired value is found.

58
New cards

Procedure

A group of programming instructions also called methods or functions.

59
New cards

Parameter

The input variables of a procedure.

60
New cards

Argument

Values passed into the procedure.

61
New cards

Iteration

Refers to the repetition of a set of instructions until a specific condition is met; also called loops.

62
New cards

Sequencing

Consists of steps that go in order.

63
New cards

Infinite Loops

Loops that continue to repeat indefinitely because the condition controlling the loop is always true or there is no condition at all.

64
New cards

While Loops

Runs while a condition is met and ends when that condition is no longer true; checks the condition before executing the code block.

65
New cards

MOD Operator

Modulo: a Mod b: a is divided by b and MOD gives you what the remainder would be.

66
New cards

Simulations

The process of creating a model or representation of a real world system or phenomenon on a computer and an examples of abstraction.

67
New cards

Heuristic

Approximate solution.

68
New cards

Halting Problem

Asks that if a computer is given a random program, can an algorithm ever be written that will answer the question, will this program ever stop running?, for all programs?

69
New cards

Decidable Problem

A decision problem.

70
New cards

Undecidable Problem

If an algorithm can’t be written that’s always capable of providing a correct yes or no answer

71
New cards

Internet

A computer network consisting of interconnected networks that use standardized, open (NONPROPRIETARY) communication protocols.

72
New cards

Computing Network

A group of computing devices that can share data with each other.

73
New cards

Computing System

A group of computing devices and programs working together for a common purpose.

74
New cards

Packets

Contain a section of the data you want to send and comes with a header that contains metadata to tell the routers where the packet is from, where it’s going and how it should be reassembled.

75
New cards

Routers

Sequences of connected computing devices.

76
New cards

Routing

The process of finding a path to take.

77
New cards

Bandwidth

The rate of data transfer it allows from one device to another.

78
New cards

Latency

How late the bits arrive.

79
New cards

Protocol

A standard set of rules that everyone agrees on; they are OPEN or NONPROPRIETARY.

80
New cards

TCP/IP

Transmission Control Protocol/Internet Protocol: Two major protocols: The TCP governs how packets are created and reassembled while the IP moves packets to their destinations.

81
New cards

HTTP

Hypertext Transfer Protocol and the protocol which controls how web page data is transmitted (enables communication between web browsers).

82
New cards

Scalability

The capacity for the system to change in size and scale to meet new demands.

83
New cards

Fault Tolerance

It can function properly even in the event of one part failing.

84
New cards

Redundancy

The inclusion of extra components that can be used to mitigate failure of a system of other components fail.

85
New cards

Parallel Computing

A program is broken into smaller sequential computing operations using multiple PROCESSORS.

86
New cards

Distributed Computing

Multiple DEVICES are used to run a program and allows users to share information.

87
New cards

Digital Divide

Refers to the gaps between those who have access to technology and the internet and those who don’t.

88
New cards

Open Sourcing

Allows for work to be freely distributed, and modified.

89
New cards

Digital Literacy Programs

Programs that teach people how to use the internet.

90
New cards

Machine Learning Models

Computer programs that can learn from data and make predictions or decisions without being programmed.

91
New cards

Citizen Science

Scientific research that the general population helps to conduct and IS A FORM OF CROWDSOURCING.

92
New cards

Crowdsourcing

The practice of getting a large amount of input or information from people on the internet.

93
New cards

Intellectual Property

The creations of the mind such as inventions, literary and artistic works, designs and images used in commerce.

94
New cards

Copyright

The legal right that the creator of a work has to it.

95
New cards

Plagiarism

When you take the content of someone else and claim it as your own.

96
New cards

Creative Commons

Is a public copyright license that creators use when they want to GIVE others the right to use their work.

97
New cards

Fair Use

Allows the use of copyrighted material without permission for limited purposes such as new reporting.

98
New cards

Targeted Marketing

Search engines can track your search history and use it to suggest websites and ads.

99
New cards

Personally Identifiable Information

This is the information that can be used to identify you.

100
New cards

Security Patch

a software or operating-system patch that is intended to correct a vulnerability to hacking or viral infection.