AP COMP SCI SUPER FLASHCARDS

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/100

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 10:25 PM on 5/10/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

101 Terms

1
New cards

decimal

the base 10 number system we use every day (0-9) used to translate binary numbers into human readable numbers.

2
New cards

Abstraction

the process of reducing complexity by focusing on the essential information and ignoring background details.

3
New cards

number base

the number of distinct digits used to represent numbers in a system like 2^5 and 10^5

4
New cards

ASCII

American Standard Code that uses 8 bits to represent 256 unique characters.

5
New cards

Unicode

an expanded character encoding system that uses 32 bits allowing for way more unique characters then ASCII

6
New cards

binary overflow

when the result of a binary calculation is too large to be stored in the available number of bits, causing an incorrect input.(often wrapping back to a negative number)

7
New cards

metadata

data about data, information used to describe the data(file size, resolution)

8
New cards

Resolution

the number of pixels in an image (width and length)

9
New cards

RGB

Red, Green, and Blue. An additive color model where each color is added to make new colors.

10
New cards

True color

the standard representation using 24 bits per pixel. (8 bits for R,G,B) allowing for around 16.7 million colors

11
New cards

Data compression

the process of reducing the number of bits to represent the data

12
New cards

lossless compression

A compression scheme where the data can go back to the original after being compressed

13
New cards

lossy compression

A compression scheme where some information is permently removed from the data to ruduce file size.

14
New cards

decompression

the process of restoring compressed data to its original decompressed state.

15
New cards

encryption

the process of converting readable data into an unreadable form using an algorithm and a key

16
New cards

Decryption

the process of converting cipher text back into plaintext using a key.

17
New cards

symmetric encryption

uses one single key for Both encryption and decryption. both the send and the receiver must know the shared secret key.

18
New cards

Asymmetric Encryption

uses a pair of keys a public key for encryption and a private key for decryption

19
New cards

digital divide

the unequal access to computers, the internet, and technology, leading to disparities in education, economic opportunity, and information

20
New cards

Record(row)

A single entity in a data set, containing all the related data for one item.

21
New cards

field(column)

a specific category of data that applies to every record

22
New cards

primary key

a special field in a data set that uniquely identifies each record. no two records can hav the same primary key value.

23
New cards

cloud computing

storing and accessing data and programs over the internet instead of on your computers hard drive.

24
New cards

data cleaning

the process of detecting correcting or removing errors and inconsistencies from a data set

25
New cards

invalid data

data that is structurally or logically incorrect a persons age is listed as 150, or a score is entered as a letter instead of a number.

26
New cards

data filtering

selecting and extracting a subset of data based on one or more criteria.

27
New cards

bias

a prejudice in favor of or against one thing, person, or group compared with another, usually in a way considered to be unfair.

28
New cards

analysis

the process of inspecting, cleaning, and transforming and modeling data with the goal of discovering useful information, informing conclusions, and supporting decision making.

29
New cards

corelation

a relationship or connection between two or more fields of data

30
New cards

causation

the act of one event or variable directly causing another

31
New cards

outlier

a data point that is significantly different from other observations.

32
New cards

pattern

a regular and repeatable way in which a sequence of data or events occurs.

33
New cards

visualization

the graphical representation of information and data using visual elements like charts, graphs, and maps

34
New cards

bar chart

uses rectangular bars to represent categories of data. best for comparing discrete, independent categories.

35
New cards

line chart

displays a series of data points connected by straight line segments. best for showing trends over time.

36
New cards

scatter plot

displays values for typically two variables for a set of data. best for showing the relationship or correlation between two variables.

37
New cards

key/legend

the element that explains the colors, symbols, or patterns used in a visualizations

38
New cards

Run length encoding

It goes from AAABBBBC

To 3A4B1C

39
New cards

IP

The Internet Protocol (IP) describes how to split messages into multiple IP packets and route packets to their destination by hopping from router to router.

40
New cards

Transmission Control Protocol (TCP)

is the data transport protocol that's most commonly used on top of IP and it includes strategies for packet ordering, retransmission, and data integrity.

41
New cards

Datagram Protocol (UDP)

is an alternative protocol that solves fewer problems but offers faster data transport.

42
New cards
43
New cards

Parameter

A variable in a function definition. It acts as a placeholder for the data the function will use.

44
New cards

Argument

The actual value that is passed to the function when it is called

45
New cards

Procedural abstraction

The process of providing a name for a process and allowing a procedure to be used only knowing what it does.

46
New cards

Global scope

Variables declared outside of any function.

47
New cards

Local scope

Variables declared inside a function (usually with bar). Only the code inside that specific function can see or use them

48
New cards

Return value

Sends the final cost back to the main program to be subtracted from the global balance

49
New cards

Library

Is a collection of functions that can be shared between different programs

50
New cards

Libraries

Cannot have global variables that the main program interacts with. They must be self contained

51
New cards

Procedural abstraction

Giving a name to a complex process so it can be called without knowing the details

52
New cards

API

Tells you everything you need to know to use a library without looking at the code.

53
New cards

what its the first index when you are in java script

0

54
New cards

what is the first index when you are in AP Pseudocode

1

55
New cards

how do you see the last index in java script

list.length - 1

56
New cards

how do you see the last index in AP pseudocode

LENGTH(list)

57
New cards

how do you access syntax in Java script

list[0]

58
New cards

how do you access syntax in AP pseudocode

list[1]

59
New cards

what does Append mean

to add something to the end of a list

60
New cards

How do you append something in Java script

appenditem(list, value);

61
New cards

how do you append something in AP pseudocode

APPEND(list, value)

62
New cards

how do you insert something in Java script

insertItem(list, index, value)

63
New cards

how do you insert something in AP pseudocode

INSERT(list, index, value)

64
New cards

how do you remove things in Java script

removeList(list, index)

65
New cards

how do you remove things in AP psuedocode

REMOVE(list, index)

66
New cards

how do you update something in Javascript

list[index] = newValue

67
New cards

how do you update something AP pseudocode

list[index] ← newValue

68
New cards

how do you remove something in Javascript

removeItem(list, index)

69
New cards

how do you remove something in AP pseudocode

REMOVE(list, index)

70
New cards

what happens if you try to remove an item form a list that isn’t there.

It will result in an error

71
New cards

what are the three essential parts of a loop

Initialization, Condition, Iteration

72
New cards

What is initialization

A variable to start with

73
New cards

what is a condition

a test to see if the loop should keep going

74
New cards

what is a iteration

a way to change the variable so the condition eventually becomes false.

75
New cards

how do you increment in javascript

i = i + 1 OR i++

76
New cards

how do you increment in AP pseudocode

i ← i + 1

77
New cards

What is the accumalator pattern

We create a variable outside and and update it inside the loop

78
New cards

when can we use an if statement inside a loop?

to preform actions on certain numbers

79
New cards

if you are calculating an average do you divide by length inside or outside the loop

outside

80
New cards

what operator symbol is used to check if a number is even

Modulo % (it divides two numbers an gives you the remainder instead of the answer)

81
New cards

Does a “linear search“ stop as soon as it finds the item, or does it always check the whole list

is stops when it finds the item

82
New cards

what is the purpose of n

it tells how many times the code will run from the list and what value it will have for each time it runs [1,2,3,4,5] sum← sum +1 it will add all 5 numbers together.

83
New cards

how do you call for each item n in AP pseudocode

FOR EACH item in list

84
New cards

how do you call for each item n in Javascript

for (let n of list)

85
New cards

TCP (Transmission Control Protocol)

it makes sure packets arrive in order and that nothing is lost (sending emails, loading a website)

86
New cards

UDP (User Datagram Protocol)

sends packets without checking it is faster because it skips some steps and try to get packets sent the fastest (video calling)

87
New cards

IP header

it tells the network how to deliver the packet

88
New cards

metadata

the data about the data (who sent it, who received it)

89
New cards

TCP header

it tells the receiver how to handle the data and makes sure the data is correct and in order.

90
New cards

DNS (Domain name system)

uses numbers instead of words to identify a website

91
New cards

HTTP (HyperText Transfer Protocol)

the way data is sent between your browser and a website (when you open a website, your browser sends a request , the server responds with an answer.) Used to virtually every individual component.

92
New cards

scalable systems

a system that can grow bigger and still work well

93
New cards

parameter

a placeholder which is used in a function that is later filled out when the code is ran

94
New cards

argument

the actual value you put into a parameter

95
New cards

/

divide

96
New cards

% (mod)

finds reminder

97
New cards

string

things that are in quotes “______“

98
New cards

CONCAT

joins 2 strings together (no spaces)

99
New cards

procedure

a piece of code that does something when you call it

100
New cards

return values

the answer a function gives back after it runs