ap csp

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

1/122

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

123 Terms

1
New cards

Programming

Programming is a collaborative and creative process that brings ideas to life through the development of software.

2
New cards

Computing innovation

A computing innovation uses a computer program to take in data, transform data, and output data.

3
New cards

Pair programming

Pair programming is when two programmers develop software side-by-side at one computer on the same algorithm. 🙌

4
New cards

User interface

The inputs and outputs that allow a user to interact with a piece of software.

5
New cards

Meaningful names

It is important for your element to have meaningful names.

6
New cards

Camel case

Camel case is a naming convention where the first word is lowercase and subsequent words are capitalized (e.g., stopButton).

7
New cards

Input

Data that is sent to a computer for processing into a device.

8
New cards

Output

Data sent from a program to a device.

9
New cards

Program

A program is a collection of instructions that a computing device executes.

10
New cards

Code segment

A code segment is a smaller collection of statements that are part of a program.

11
New cards

Program event

A program event refers to an action or occurrence that takes place within a computer program, such as a button click, mouse movement, or keyboard input. It is used to trigger specific actions or behaviors in the program.

12
New cards

Event-driven program

A type of program that responds to events triggered by user actions, system events, or other sources.

13
New cards

Sequential program

A program where execution happens in order.

14
New cards

Iterative development process

A process where programmers develop working prototypes of their programs and go back through the stages of their development method.

15
New cards

Incremental development process

A process where programmers break the program they are working on into smaller pieces and make sure that each piece works before adding it to the whole.

16
New cards

Benefits of collaboration

Benefits of collaboration include the ability to exchange ideas and discuss different solutions to different problems, multiple perspectives allowing for improvements in software, addressing misunderstandings and clarifying misconceptions, development of thinking skills, increased student responsibility, and elimination of bias.

17
New cards

Program documentation

A description of how something in your program works. Benefits include being crucial for understanding how every part of the program works and fostering collaboration.

18
New cards

Library

A collection of functions that can be used in different programs, including how each function works, a complete list of parameters, and what (if anything) is returned. This is known as an Application Program Interface (API).

19
New cards

Syntax errors

A syntax error occurs when the spelling and/or punctuation rules of the programming language aren't followed. For example, forgetting to close a set of parentheses or spelling a variable wrong could cause your entire program to crash. A syntax error could also be failing to indent properly.

20
New cards

Logic errors

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

21
New cards

Run-time errors

An error that occurs when the program is running. You'll be able to start your program if you have a run-time error, but something will go wrong when you're trying to use it.

22
New cards

Overflow errors

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

23
New cards

Debugging

Debugging is the process of finding and fixing errors.

24
New cards

Data

A collection of facts.

25
New cards

Number base

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

26
New cards

Decimal system (base 10)

A system that only uses combinations of 0-9 to represent values (e.g., the number 5,729).

27
New cards

Binary system

A system that only uses combinations of 0 and 1.

28
New cards

Bit

The smallest unit of information stored or manipulated on a computer (short for "binary digit").

29
New cards

Byte

A unit of data consisting of 8 bits.

30
New cards

Analog data

Data that is measured continuously, changing smoothly (e.g., the volume of music or a runner's position). It can be represented digitally using sampling techniques.

31
New cards

Digital data

Data that is measured and stored in discrete values, capturing all necessary information.

32
New cards

Sampling

The process of recording an analog signal at regular discrete moments and converting it into digital signals (for storage on digital media).

33
New cards

Data abstraction

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

34
New cards

Data compression

A set of steps for packing data into a smaller space while allowing the original data to be reconstructed.

35
New cards

Run-length encoding

A compression method that replaces repeating data with a run representing the number and value of the repeated data.

36
New cards

Lossless data compression

A compression method that reduces file size without losing any original data (e.g., run-length encoding).

37
New cards

Lossy data compression

A compression method that sacrifices some data to achieve greater compression (e.g., reducing image resolution).

38
New cards

Correlation

A statistical relationship between two or more variables, ranging from -1 (perfect negative correlation) to 1 (perfect positive correlation). Correlation does not imply causation.

39
New cards

Outliers

Data points that significantly deviate from the overall pattern or trend.

40
New cards

Metadata

Data about data (e.g., file creation date, author). It does not affect the primary data itself but helps in organizing and finding data.

41
New cards

Data cleaning

The process of making data uniform by correcting inconsistencies, removing duplicates, or filling in missing values.

42
New cards

Data mining

The process of examining large data sets to find useful information, such as patterns or trends.

43
New cards

Challenges in data sets

Issues such as incomplete data, invalid data, the need for cleaning, and combining data sources.

44
New cards

Large data sets

Difficult to process using a single computer, often requiring parallel systems. Bias in data collection is not eliminated by simply gathering more data.

45
New cards

Variable

A placeholder in your program for a value, usually represented by letters or words.

46
New cards

Global variable

A variable that can be used anywhere in the program, defined outside of an event.

47
New cards

Local variable

A variable used only in the part of the code where it was created, deleted once the event is done (defined inside an event).

48
New cards

Data types

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

49
New cards

Integer

A whole number that can be positive or negative.

50
New cards

String

A sequence of characters, represented by quotation marks.

51
New cards

Substring

A part of an existing string.

52
New cards

List (Array)

An ordered sequence of elements.

53
New cards

Boolean

A data type that can only represent two values

54
New cards

NOT operator

Reverses a condition’s evaluation (true becomes false, and vice versa).

55
New cards

AND operator

Combines two conditions—only evaluates to true if both conditions are met.

56
New cards

OR operator

Combines two conditions—evaluates to true if at least one condition is met.

57
New cards

Nested conditionals

Conditional statements inside other conditional statements.

58
New cards

Element

An individual value in a list, assigned an index value.

59
New cards

Data abstraction

Simplifies a set of data by representing it in a general way, focusing on essential details.

60
New cards

Linear (sequential) search

A basic search algorithm that checks each list value in order until the target is found.

61
New cards

Binary search

A search algorithm that starts in the middle of a sorted list, eliminates half the data, and repeats until the value is found.

62
New cards

Procedure (Method/Function)

A group of reusable programming instructions.

63
New cards

Parameter

An input variable for a procedure.

64
New cards

Decision problem

A problem with a yes or no answer.

65
New cards

Optimization problem

A problem seeking the best solution (e.g., finding the shortest path between two cities).

66
New cards

Algorithm efficiency

An estimate of computational resources (power, memory, time) an algorithm uses.

67
New cards

Heuristic

An approximate solution used when a problem can’t be solved efficiently with exact methods.

68
New cards

Decidable problem

A decision problem where an algorithm can always provide a correct yes/no answer.

69
New cards

Undecidable problem

A problem with no algorithm that can solve all cases correctly (solvable in some cases but not universally).""

70
New cards

Internet

A computer network consisting of interconnected networks that use standardized, open (nonproprietary) communication protocols, allowing any computing device to join as long as they follow the rules (protocols).

71
New cards

Computing device

A physical machine that can run a program and connect with other devices to form a computing system.

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

Small chunks of data that contain a section of the information being sent, along with a header containing metadata about its origin, destination, and reassembly instructions.

75
New cards

Router

A computing device that forwards data packets along paths between networks.

76
New cards

Routing

The process of finding the best path for data packets to travel across a network.

77
New cards

Bandwidth

The maximum rate of data transfer across a network connection, measured in bits per second.

78
New cards

Latency

The time delay before a transfer of data begins following an instruction, measured in bits per second or megabits per second.

79
New cards

TCP/IP (Transmission Control Protocol/Internet Protocol)

A protocol suite where TCP governs packet creation and reassembly while IP handles addressing and routing, ensuring reliable, ordered, and error-checked delivery of data packets.

80
New cards

IP address

A unique numerical label assigned to each device on a network for identification and communication.

81
New cards

UDP (User Datagram Protocol)

A faster but less reliable protocol that transmits data without error checking or guaranteed delivery/order of packets.

82
New cards

World Wide Web

A system of interconnected web pages, programs, and files accessible via the internet.

83
New cards

HTTP (Hypertext Transfer Protocol)

The protocol governing how web page data is transmitted between browsers and servers.

84
New cards

Scalability

A system's ability to handle growing amounts of work by adding resources.

85
New cards

Fault tolerance

A system's ability to continue functioning properly even when some components fail.

86
New cards

Redundancy

The inclusion of extra components that can take over if primary components fail, increasing fault tolerance.

87
New cards

Parallel computing

Breaking a program into smaller operations that are processed simultaneously by multiple processors to save time and improve scalability.

88
New cards

Sequential computing

The traditional method of executing program instructions one after another in order.

89
New cards

Distributed computing

Using multiple networked devices to solve problems that would be too large for a single system.

90
New cards

Speedup

A measure of how much faster one algorithm or solution performs compared to another when solving the same problem.

91
New cards

Speed limits

Constraints on performance improvements in computing, where not all steps may be independent (must be specified in the problem).

92
New cards

Digital divide

The gap between people who have access to modern information technology and those who don't, which can harm individuals due to technology's increasing importance in society.

93
New cards

Computing bias

When technology reinforces existing human biases, leading to continued inequality in systems and decision-making.

94
New cards

Targeted advertising

Advertising designed to help businesses profit, but which encourages collection of private information and could potentially be misused.

95
New cards

Machine learning and data mining

While beneficial to many fields, these technologies can inherit biases that may unintentionally cause discrimination in their outcomes.

96
New cards

Citizen science

Scientific research conducted with help from the general public, where ordinary people contribute data using computing devices.

97
New cards

Crowdsourcing

The practice of gathering large amounts of input or information from people on the internet (citizen science is one form of this).

98
New cards

Intellectual Property

Legal rights protecting creations of the mind like inventions, artistic works, designs, and commercial images.

99
New cards

Public Domain

Creative works that are free for anyone to use without needing permission.

100
New cards

Copyright

The legal right creators have over their original works.