AP COMPSCI PRINCIPLES

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

1/52

flashcard set

Earn XP

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

53 Terms

1
New cards

syntax error

A mistake in typed code that violates the rules of the programming language. (Code won't run because it's written wrong.)

2
New cards

logic error

A mistake in an algorithm or program that causes it to behave unexpectedly. (Code runs but gives wrong results.)

3
New cards

run-time error

A mistake that happens while the program is running. (Code crashes while it’s working.)

4
New cards

overflow error

Error from a number being too big to store. (Like a car’s odometer rolling over.)

5
New cards

bit

A binary digit, 0 or 1. (Smallest unit of data.)

6
New cards

byte

A group of 8 bits. (Basic chunk of data.)

7
New cards

roundoff

Error from not enough bits to show a number exactly. (Losing digits like turning pi into 3.14.)

8
New cards

analog data

Smooth, continuous values. (Changes like sound or light.)

9
New cards

lossless

Compression that keeps all data. (Nothing lost.)

10
New cards

lossy

Compression that loses some data. (Can’t get the original back exactly.)

11
New cards

metadata

Data about other data. (Info like file name or date created.)

12
New cards

Algorithms and Programming

13
New cards

sequencing

Steps done in order. (Like a recipe.)

14
New cards

selection

Choosing between options using a condition. (Like “if this, do that.”)

15
New cards

iteration

Repeating steps. (Like looping.)

16
New cards

linear search

Checking each item one-by-one. (Look through the whole list.)

17
New cards

binary search

Searching a sorted list by cutting it in half repeatedly. (Faster than linear.)

18
New cards

reasonable time

Program finishes in a decent amount of time. (Not super slow as input grows.)

19
New cards

heuristic

A shortcut method to get a good-enough solution. (Not perfect but works fast.)

20
New cards

undecidable

A problem with no possible algorithm to solve all cases. (Like the halting problem.)

21
New cards

library

A collection of pre-written code. (Tools you can use.)

22
New cards

API

A guide to using a library. (Tells you what functions are available and how to use them.)

23
New cards

modularity

Breaking code into parts. (Each part does one job.)

24
New cards

traversal

Going through a list. (Look at each item in a list.)

25
New cards

How the Internet Works

26
New cards

computing device

Anything that runs a program. (Phone, laptop, smart sensor, etc.)

27
New cards

computer network

Devices connected to share data. (Like the internet.)

28
New cards

bandwidth

How much data can go through a network. (Like the size of a pipe.)

29
New cards

protocol

Set of rules for communication. (Everyone follows the same rules to talk.)

30
New cards

scalability

System grows to meet more demand. (Can handle more users or data.)

31
New cards

IP (Internet Protocol)

Rules for addressing and sending data. (Finds the best path to send info.)

32
New cards

TCP

Reliable data delivery protocol. (Makes sure everything arrives correctly.)

33
New cards

UDP

Fast but less reliable data delivery. (Used for things like video calls.)

34
New cards

World Wide Web

System of linked content online. (The part of the internet with websites.)

35
New cards

HTTP

The web’s main communication rule. (Used to get and send website data.)

36
New cards

parallel computing

Doing many tasks at the same time. (Makes things faster.)

37
New cards

speedup

How much faster parallel computing is. (Time saved with multitasking.)

38
New cards

distributed computing

Many computers working together. (Split the job across devices.)

39
New cards

Impact of Computing

40
New cards

digital divide

Unequal access to technology. (Some people can't get online easily.)

41
New cards

crowdsourcing

Getting help or ideas from lots of online people. (Like Kickstarter or Wikipedia.)

42
New cards

citizen science

Public helps with science projects. (Volunteers collect data or report findings.)

43
New cards

Creative Commons

Lets creators share work with rules. (Choose how others can use your work.)

44
New cards

open access

Free public access to info. (No paywall for research or data.)

45
New cards

PII

Info that can identify someone. (Like name, ID, or address.)

46
New cards

multifactor authentication (MFA)

Using two or more ways to prove who you are. (Like password + code sent to phone.)

47
New cards

encryption

Scrambling data to protect it. (Makes it unreadable without the key.)

48
New cards

symmetric encryption

Same key to lock and unlock. (One shared secret.)

49
New cards

public key encryption

One key locks, a different key unlocks. (Safer for sharing.)

50
New cards

cookie

Small file websites use to remember you. (Tracks preferences or logins.)

51
New cards

virus

Malware that copies and spreads. (Can infect many files or systems.)

52
New cards

phishing

Trick to steal info. (Fake email asking for passwords.)

53
New cards

rogue access point

Fake Wi-Fi to spy on users. (Looks real but it’s a trap.)