AP Computer Science Principles Vocabulary

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

1/48

flashcard set

Earn XP

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

49 Terms

1
New cards

syntax error

a mistake in typed code that violates the rules of the programming language. Typically, code with syntax error will not run.

2
New cards

logic error

a mistake in an algorithm or program that causes it to behave unexpectedly or return the incorrect value.

3
New cards

run-time error

a mistake in a program that happens only when the program is actually run, such as a program attempting to access memory that does not exist.

4
New cards

overflow error

error that results when the number of bits is not enough to represent the number (like a car’s odometer “rolling over”)

5
New cards

bit

a binary digit, either 0 or 1

6
New cards

byte

a sequence of 8 bits

7
New cards

roundoff

error that results when the number of bits is not enough to represent the number with full precision

8
New cards

analog data

values that change smoothly, rather than in discrete intervals, over time. For example, the pitch and volume of a live concert

9
New cards

lossless

compression data that reserves all data away and allows full recovery of the original

10
New cards

lossy

compression data in a way that discards some data and makes it impossible to recover the original

11
New cards

metadata

data about data, like descriptive information about a file or a row in a database

12
New cards

sequencing

the sequential execution of steps in an algorithm or code in a program (like steps in a recipe) or it is the application of each step of an algorithm in order in which the code statements are given

13
New cards

selection

a boolean condition to determine which of two paths are taken in an algorithm or program

14
New cards

iteration

the repetition of steps in an algorithm or program for a certain amount of times or until a certain condition is met

15
New cards

linear search

an algorithm that iterates through each item in a list until it finds the target value

16
New cards

binary search

an algorithm that searches a sorted list for a value by repeatedly splitting the list in half

17
New cards

reasonable time

a run time for an algorithm that doesn’t increase faster than a polynomial function of the input size (like 10n or n²). an unreasonable run time would increase superpolynomial (like 2n or n!)

18
New cards

heuristic

a technique that helps an algorithm find a good solution in a hard problem (like always walking toward the north star when you are stuck in a forest)

19
New cards

undecidable

a problem that is so logically difficult, we can’t ever create an algorithm that would be able to answer “yes” or “no” for all inputs (like the halting problem)

20
New cards

library

a collection of procedures that are useful in creating programs

21
New cards

API (Application Programming Interface)

a library of procedures and a description of how to call each procedure

22
New cards

modularity

the separation of a program into independent modules that are each responsible for one aspect of the program’s functionality

23
New cards

traversal

the iteration over the items in a list. a full transversal iterates over every item, while a partial traversal iterates over a subset of the items

24
New cards

computing device

a physical device that can run a program, such as a computer, smart phone, or smart sensor

25
New cards

computer network

a group of interconnected computing device capable of sending or receiving data

26
New cards

bandwidth

the maximum amount of data that can be sent in a fixed period of time over a network connection, typically measured in bits per second.

27
New cards

protocol

an agreed upon set of rules that specify the behavior of a system

28
New cards

scalability

The ability of a system to adjust in scale to meet new demands.

29
New cards

IP (internet Protocol)

the protocol that determines how to address nodes on the network with the IP address and how to route data from one node to a destination node using routers

30
New cards

TCP (transmission control protocol)

a data transport protocol that includes mechanisms for reliably transmitting packets to a destination

31
New cards

UDP (user datagram protocol)

a lightweight data transport protocol with minimal error checking

32
New cards

World Wide Web

a system of linked pages, media, and files browsable over HTTP

33
New cards

HTTP (Hypertext Transfer Protocol)

the protocol that powers the web, used to request web pages from servers and submit form data to servers

34
New cards

Parallel computing

a computational model which splits a program into multiple tasks, some of which can be executed simultaneously

35
New cards

speedup

the improvement in the amount of time a parallelized program takes to solve a problem, computed as the amount of time to complete the task sequentially divided by the amount of time the task when run in parallel

36
New cards

digital divide

the idea that some communities or populations have less access to computing than others, typically due to limitations or Internet speed or computer hardware access

37
New cards

crowdsourcing

a model in which many online users combine efforts to help fund projects, generate ideas, or create goods or services

38
New cards

citizen science

crowdsourcing for science; the participation of volunteers from the public in a scientific research project (like collecting rain samples or counting butterflies)

39
New cards

creative commons

an alternative to copyright that allows people to declare how they want their artistic creations to be shared, remixed, used in non commercial contexts, and how the policy should propagate with remixed versions

40
New cards

open access

a policy that allows people to have access to documents like research papers for reading or data like government datasets for analysis

41
New cards

PII (personal identifiable information)

information about an individual that can be used to uniquely identify them directly or indirectly

42
New cards

multi factor authentication (MFA)

a method for user authentication which requires the user to present multiple pieces of evidence in multiple categories such as knowledge and possession

43
New cards

encryption

the process of scrambling data to prevent unauthorized access

44
New cards

symmetric encryption

a technique for encrypting data where the same key is used to both encrypt and decrypt data

45
New cards

public key encryption

an asymmetric encryption technique that uses different keys for encrypting versus decrypting data

46
New cards

cookie

a small amount of text that tracks information about a user visiting aa website

47
New cards

virus

a type of computer malware that can make copies of itself

48
New cards

phishing

an attack where a user is tricked into revealing private information, often via a deceptive email

49
New cards

rogue access point

a wireless access point that provides an attacker with unauthorized access to traffic going over the network