AP Computer Science Principles Ultimate Guide

0.0(0)
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/109

flashcard set

Earn XP

Description and Tags

:O FOR AP EXAM

110 Terms

1
New cards

Programming

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

2
New cards

Software development processes

used in the industry often require students to work together in teams.

3
New cards

computing innovation

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

4
New cards

Collaboration

can occur in the planning, designing, or testing (debugging) part of the development process.

5
New cards

Collaborative learning

can occur peer-to-peer or in larger groups.

6
New cards

Syntax Error

A mistake in which the rules of the programming language are not followed.

7
New cards

Runtime Error

A mistake that occurs during the execution of a program that ceases the execution.

8
New cards

Logic Error

A mistake in the algorithm or program that causes it to behave incorrectly or unexpectedly.

9
New cards

Overflow Error

A mistake that occurs when a computer attempts to handle a number that is outside of the defined range of values.

10
New cards

Debugging

is the process of finding and fixing errors.

11
New cards

bit

is the smallest unit of information stored or manipulated on a computer; it consists of either zero or one.

12
New cards

Digital images

are a collection of pixels. where each pixel consists of binary numbers.

13
New cards

Color

is based on light.

14
New cards

Images

are not often just black and white.

15
New cards

analog signal

exists throughout a continuous interval of time and takes on a continuous range of values.

16
New cards

digital signal

is a sequence of discrete symbols.

17
New cards

Sampling

is recording an analog signal at regular discrete moments and converting them to a digital signal.

18
New cards

Data compression

is useful in computing to save disk space, or to reduce the bandwidth used when sending data (eg, over the Internet).

19
New cards

Compression

is also an important consideration when it comes to backing up and archiving your important files, particularly for uploading over the Internet.

20
New cards

Lossless algorithms

are those that can reconstruct the original message exactly from the compressed message, and lossy algorithms can only reconstruct an appsimation of the original message.

21
New cards

Lossless compression

packs data in such a way that the compressed package can be decompressed, and the data can be pulled out exactly the same as it went in.

22
New cards

Text compression

is another important area for lossless compression.

23
New cards

Lossy compression

is a technique that does not decompress digital data back to 100% of the original.

24
New cards

Images

high image compression loss can be observed in photos when enlarged

25
New cards

Music

there is a difference between an MP3 music and a high-resolution audio file

26
New cards

Video

moving frames of video can handle a greater loss of pixels compared to an image

27
New cards

Data extraction

is the process of obtaining data from a database or software such as a social media website so that it can transport it to another software (such as spreadsheets) designed to support online analytical processing.

28
New cards

graph

is a pictorial representation, a diagram used to represent data.

29
New cards

Graphs and charts

represent data in points, lines, bars, pie charts, and scatter plots.

30
New cards

Picture graphs

use pictures to represent values.

31
New cards

Bar graphs

use either vertical or horizontal bars to represent the values.

32
New cards

Line graphs

use lines to represent the values.

33
New cards

Scatter plots

represent the data with points, and then a best-fit line is drawn through some of the points.

34
New cards

Algorithm

is a set of steps to do a task.

35
New cards

Computer science algorithms

are the set of steps to solve a problem or complete a task.

36
New cards

Algorithms

are implemented with software.

37
New cards

Section of code

may work independently or can be used with other programming modules.

38
New cards

Variables

are placeholders for values a program needs to use.

39
New cards

Strings

are text fields that are just a series of characters and are denoted with quotation marks around the string field.

40
New cards

Expressions

are calculations to be evaluated to an answer or single value.

41
New cards

Boolean values

are one of the foundations of computer code.

42
New cards

Iterative statements

are also referred to as repetitive statements or loops.

43
New cards

Combining Algorithms

One of the key features of algorithms is that once they are created, you can use them over and over, combine them for more complex problem solving, or modify them for a new use.

44
New cards

Lists

are a collection of items, such as a grocery list or a playlist of music.

45
New cards

Index positions

are always integers and are enclosed within square brackets [index].

46
New cards

Length

The length of a list is the number of elements in the list.

47
New cards

Searching

deals with finding the needed element from everything in the dataset or determining that it is not there.

48
New cards

Linear Search

also called sequential searches, check each individual record, starting at the beginning and going to the end, one after the other in order to either find the desired data or to determine it is not in the dataset.

49
New cards

Binary Search

are far more efficient than linear searches.

50
New cards

Procedures

are also called functions in some programming languages.

51
New cards

Parameters

allow the calling program to send values to the procedure.

52
New cards

Procedural abstraction

You only need to know the name of the procedure, the number and type of parameters, and the output to expect.

53
New cards

Random number generator programs

are useful tools for writing software, mainly in designing games.

54
New cards

Procedures

have an optional feature called a return statement.

55
New cards

Built-in Procedures

Built-in procedures are prewritten and tested code that are included with the programming language.

56
New cards

DISPLAY()

is a built-in procedure used for this course on the exam.

57
New cards

INPUT()

It accepts data from the user, usually from the keyboard.

58
New cards

Simulations

Simulations are designed to represent and mirror the real world for testing.

59
New cards

Efficiency

can be determined by mathematically proving it and informally measured by actually running it on datasets of different sizes and measuring how long it took and the memory resources needed.

60
New cards

Heuristic approach

This is an approach that may not be optimal or the best but is close enough to use as a solution.

61
New cards

Internet

is a network of networks.

62
New cards

Routers

are computing devices along a path that send the information along to the next stop on the path.

63
New cards

Routing

is the process of finding a path from sender to receiver

64
New cards

Bandwidth

is a measure of the maximum amount of data that can be transferred through a channel or network connection.

65
New cards

Internet protocol (IP)

is responsible for addressing and routing your online requests.

66
New cards

Transmission control protocol (TCP)

is a protocol that defines how computers send packets of data to each other.

67
New cards

User datagram protocol (UDP)

is a protocol that allows computer applications to send messages without checking for missing packets to save on time needed to retransmit missing packets.

68
New cards

Scalability

is the ability for a system, network or process to handle a growing amount of work in an efficient manner.

69
New cards

Hardware failure

is when a hardware device, such as a computer or printer, stops working properly due to an issue with the physical components.

70
New cards

Operational failures

are any issues or breakdowns in the operation of a business, machine, system, process, etc.

71
New cards

Cyberattacks

are malicious attempts to damage or disrupt computer systems, networks, and data.

72
New cards

Natural disasters

could cause the hardware to be destroyed, bringing the network activity to a halt.

73
New cards

Solar Flare

is an intense radiation that is released from the sun.

74
New cards

Parallel computing

can consist of a parallel portion and a sequential portion.

75
New cards

Multiple processors

can operate independently but share the same memory resources.

76
New cards

Distributed computing

allows problems to be solved that could not be solved on a single computer because of either the processing time or storage needs involved.

77
New cards

World Wide Web

which was originally designed for scientists to share their research.

78
New cards

Targeted advertising

which can be helpful for businesses and consumers when looking for a specific item.

79
New cards

Social media

which has been used to stream events across the globe, sometimes helps to change history.

80
New cards

Machine learning and data mining

help find patterns and identify insights in data, leading to new innovations.

81
New cards

Online learning

is an education model that would not be possible without the tools of communication available via the Internet.

82
New cards

Programmers and businesses

try to identify potential negative uses, but it is seldom possible to think of all the ways other people could use an innovation.

83
New cards

Cloud computing

offers new ways for people to communicate, making collaboration easier and more efficient.

84
New cards

Technology

has had a major impact on the world, enabling innovation through the sharing of resources and computational artifacts.

85
New cards

Bias

which is intentional or unintentional prejudice for or against certain groups of people, shows up in computing innovations too.

86
New cards

Humans

write the algorithms, and our biases can make their way into the algorithms and the data used by innovations without us realizing it.

87
New cards

Artificial intelligence programs

are used more and more in ways such as screening applications of job candidates, determining if a person merits credit to purchase a house, and locating what areas have more crime.

88
New cards

Crowdsourcing

allows people to share information and ask the “crowd”— anyone who accesses the site—for feedback, to help solve problems, find employment, or for funding.

89
New cards

Peer-to-peer networks

exist that are used to illegally share files of all types.

90
New cards

Creative Commons

provides a way for creators of software, images, music, videos, and any computational artifact to share their creations with stipulations for sharing and permission from the author clearly indicated.

91
New cards

Digital data

is easy to find, copy, and paste, so ensuring you have written permission from the creator or owner is important.

92
New cards

Open source software

is software that is freely shared, updated, and supported by anyone who wants to do so.

93
New cards

Social media sites

as well as search engines publish what the most frequent searches and posts are about.

94
New cards

Analytics

identify trends for marketing purposes and help businesses determine what and where customers are searching for their products and their competitors’ products, how long an item sits in a virtual shopping cart, and when people buy.

95
New cards

Data mining

is a field of study that analyzes large datasets.

96
New cards

Machine learning

is a subset of data mining.

97
New cards

Digital footprints and fingerprints

are the trail of little pieces of data we leave behind as a sign of our presence as we go through our daily lives.

98
New cards

Cybersecurity

has a global impact because now anyone from anywhere can attempt to gain unauthorized entry to someone else’s computer, data, servers, or network.

99
New cards

Strong passwords

help block those trying to gain unauthorized access.

100
New cards

Multifactor authentication

is another layer that is increasingly used.