AP CSP Units 1-3 Study Guide

studied byStudied by 9 people
5.0(1)
Get a hint
Hint

What is abstraction? Why does abstraction help programmers in collaboration?

1 / 24

encourage image

There's no tags or description

Looks like no one added any tags here yet for you.

25 Terms

1

What is abstraction? Why does abstraction help programmers in collaboration?

complex things made simple;

it helps by adding to existing code and lets programmers focus on the more important/special parts of their code

New cards
2

What does an onEvent code look like? What does it do?

onEvent("id", "type", "callback");

it tells the computer what to change after a user inputs something (like a click) by having an output

New cards
3

What is top-down design?

a way of designing your program by starting with the biggest problem and continuing to break it down into smaller pieces that are easier to solve

New cards
4

Put kilobytes to terabytes in order from least to greatest.

kilobyte, megabyte, gigabyte, terabyte

New cards
5

What are the benefits and negatives of lossy compression?

benefit: saves storage by reducing the number of bits

negatives: not reversible, some information is discarded

New cards
6

What are the benefits and negatives of lossless compression?

benefits: reversible, doesn't discard any information

negative: doesn't save much storage

New cards
7

What is the Domain Name System (DNS)?

converts URL addresses to the correct IP address; it allows routers to connect computers to websites

example: www.google.com > DNS > 192.168.1.15

New cards
8

What is Hypertext Transfer Protocol (HTTP)?

the protocol for transmitting web pages on the internet;

used for sending and receiving web pages and other web content

New cards
9

What is an IP Address?

the unique number assigned to each device on the internet

example: 192.168.1.15

New cards
10

What is a router?

computer that receives and redirects packets based on addressing info (IP address)

will either deliver a packet to its final destination or forward it to one of several other routers it is connected to

New cards
11

What is the Transmission Control Protocol (TCP)?

slow sending system but accurate through the numbering of packets for reassembly (useful for accuracy things like emails and photos);

multiple back and forth confirmations between sender and receiver;

when a packet is lost it resends the packet

New cards
12

What are packets?

all data is broken down into packets;

they are small chunks of data labeled with metadata;

transmitted over a network from one computer to another

New cards
13

What is network redundancy?

having multiple backups to ensure reliability during cases of high usage or failure

New cards
14

What is fault tolerance?

when a path has traffic or is out of service, additional paths are available;

this is because there are often redundant paths between two locations on the internet

New cards
15

What is protocol?

an agreed-upon set of rules that specify the behavior of some system

New cards
16

How many bits are in a byte?

8 bits

New cards
17

How many bytes are in a kilobyte?

1024 bytes (often rounded to 1000)

New cards
18

Why are we switching to IPv6 from IPv4?

IPv6 has the capability to provide an infinite number of addresses;

we are switching to accommodate the growing number of networks worldwide and help solve the IP address exhaustion problem

New cards
19

What is a subdomain?

a piece of additional information added to the beginning of a website's domain name;

example: https://photos.example.org

"photos" is the subdomain

New cards
20

What is metadata?

data that describes other data

New cards
21

What is RGB? What is the numerical value that represents RGB?

a color model that uses varying intensities of (R)ed, (G)reen, and (B)lue light which are added together to reproduce a broad array of colors;

the values range from 0-255:

rgb(243, 76, 100)

New cards
22

What is a problem in your code called?

bug

New cards
23

Fault tolerance and redudancy is achieved by…

the routers having multiple connections to each other.

New cards
24

how many bits represent a number

With 8 bits u can represent 256 values but highest # u can represent is 255

New cards
25

user datagram protocol (udp)

the speed of the packets arriving matters more than order (ex: livestreaming events)

New cards

Explore top notes

note Note
studied byStudied by 8 people
... ago
5.0(1)
note Note
studied byStudied by 25 people
... ago
5.0(2)
note Note
studied byStudied by 16 people
... ago
5.0(1)
note Note
studied byStudied by 29 people
... ago
5.0(1)
note Note
studied byStudied by 67 people
... ago
4.7(3)
note Note
studied byStudied by 10 people
... ago
5.0(1)
note Note
studied byStudied by 34 people
... ago
5.0(1)
note Note
studied byStudied by 4699 people
... ago
5.0(6)

Explore top flashcards

flashcards Flashcard (69)
studied byStudied by 6 people
... ago
5.0(2)
flashcards Flashcard (81)
studied byStudied by 24 people
... ago
5.0(1)
flashcards Flashcard (31)
studied byStudied by 6 people
... ago
5.0(1)
flashcards Flashcard (75)
studied byStudied by 43 people
... ago
5.0(2)
flashcards Flashcard (335)
studied byStudied by 5 people
... ago
5.0(1)
flashcards Flashcard (20)
studied byStudied by 11 people
... ago
5.0(1)
flashcards Flashcard (30)
studied byStudied by 5 people
... ago
5.0(1)
flashcards Flashcard (33)
studied byStudied by 28 people
... ago
5.0(1)
robot