Computer Science 1st Semester Final Exam
World Wide Web
a collection of pages and files that is shared between computers using HTTP
Protocol
a shared rule so two or more computing devices can work together or share information
Lossless compression
allows for perfect reconstruction
Packet
chunk of data and it' metadata, used to route and reassemble information on the internet
Lossy compression
does not allow perfect reconstruction
Lossless compression can produce smaller file sizes than lossy compression
false
What is "0-0-1" in RGB pixels?
Blue
What is 2 in binary
0-0-1-0
What is 5 in binary
0-1-0-1
What is 14 in binary
1-1-1-0
What is "1-1-0-1" as a number
13
What is "0-0-1-0" as a number
2
What is the largest number you can represent in binary by 4 digits?
63
What is the smallest number that will cause an overflow error in binary using 4 digits
64
What is "1-0-0-1" as a number
9
What is an overflow error?
An error in which a value is too large for the program to handle (64 with just 4 digits)
Why should you care about intellectual property theft?
Because it's stealing, we wouldn't want other people to do it to use, it won't encourage people to be creative
What does a "0" stand for in black and white pixels?
Black
What is "0-1-0" in RGB pixels?
Green
What is "0-1-1" in RGB pixels?
Green and Blue
Digital Information
Information that can be expressed in a numerical form (on a device)
Analog Information
Information that is represented in a continuous but varying form (a painting or a spoken words)
What is "1-0-0" in RGB pixels?
Red
What is "1-0-1" in RGB pixels?
Red and Blue
What are the 3 colors used in RGB pixel colors?
Red, Green, and Blue
How is information sent over the internet?
Sent through packet with metadata and a packet number so when they arrive at destination, they are reassembled.
What is a rounding error?
When the number cannot be represented by the binary code (3.5 with just 4 digits)
What does a "1" stand for in black and white pixels?
White
Router
a networking device that forwards data packets between computer networks
Internet Protocol (IP) Address
a unique number assigned to each device on the internet
Hypertext Transfer Protocol (HTTP)
protocol used to send and receive pages and files on the World Wide Web
User Datagram Protocol (UDP)
sends all packets without checking whether they were received or ordered properly
Transmission Control Protocol (TCP)
takes inventory of all packets in the datastream to ensure they are successfully sent and received
Fault-tolerance
the ability of a network to continue working even when one or more devices or connections stop working
Datastream
the way in which information travels on the internet, not as a single piece but in chunks
Lossy compression can produce smaller file sizes than lossless compression
true
The protocols of the internet are open and used by all devices connected to the network
true
Domain Name System (DNS)
used to translate domain names into IP addresses