CS50 Understanding Technology Flashcards
What number system do computers use to represent info?
Binary
How do computers implement the binary number system to represent 0’s and 1’s
Using switches called transistors
A turned off transistor represents what number
0
A turned on transistor represents what number
1
How do computers map numbers to characters
Using ASCII or Unicode
What does ASCII stand for?
American Standard Code for Information Interchange
How many bits are in a byte?
1 byte = 8 bits
Why is Unicode preferred over ASCII?
It uses more bits so it can map to more characters
ASCII: 7bit
Unicode: 8bit, 16bit, or 32 bit
Why are more cores on a CPU better?
The more cores, the more tasks a CPU can do at once
What is hyper-threading?
A single core presenting itself as multiple cores to a computer’s operating system
What is a System on a Chip (SoaC)?
A CPU and more are all interconnected rather than attached to a motherboard (phones, tablets, game consoles, Raspberry Pi)
Fast access memory that only stores data when the power is on
RAM (Random Access Memory)
What does 1.94 GHz mean?
The CPU can perform 1.94 billon operations per second
Slower but permanent computer data storage
Hard disk drive (HDD)
How does a HDD work?
Magnetic particles are used to store data where north pole orientation represents 1 and south pole orientation represents 0.
Metal platters physically spin around while reading heads move back and forth reading data from the device.
How does a SSD differ compared to an HDD?
An SSD uses electronic flash memory and has no moving parts.
SSDs are faster than HDDs but may not last as long.
A tiny amount of memory (bytes) where numbers are stored for operations
Registers
Memory built into the motherboard
L1, L2, L3 cache
Wireless internet
Wifi
Allows devices such as wireless keyboards and headphones to connect to your computer with a limited range
Bluetooth
ISP
Internet Service Provider
How to do home networks connect to the internet via the telephone infrastructure?
Cable modem, DSL modem, or FIOS device
This device could have built in wireless connectivity for your devices or you may need an additional home router
IP
Internet Protocol
.#.#.
What numbers are used in an IPv4 address?
Four numbers separated by dots of the values 0-255
What does an internet protocol address do?
They uniquely identify devices connected to the internet
Any device connected to the internet has an IP address
DHCP
Dynamic Host Configuration Protocol
How does your home computer get an IP address?
It’s assigned by your ISP using DHCP
What does DHCP do?
DHCP is Software that ISPs provide to allow your router to request an IP address
How do devices on your home network get an IP address?
The home router supports DHCP and assigns IP addresses to your devices
DNS
Domain Name Service
What does DNS do?
It converts domain names into IP addresses
How do computers communicate over a network?
Packets of data in binary format
What happens if the ISP’s DNS server doesn’t know a website’s IP address?
It will ask another DNS server.
There are root servers called “Authoritative Name Servers” that will know an IP if exists.
Why wouldn’t you send a large image in one packet?
Sending it in one packet could block internet traffic so it will be split up into smaller packets
TCP
Transmission Control Protocol
What is TCP/IP used for?
A set of conventions computers and servers follow to allow intercommunication
What does TCP do?
TCP ensures packets can get to their destination by allowing a computer to request a missing packet.
TCP standardized numbers that represent different services called ports
Port 80
HTTP
HTTP
hypertext transfer protocol
Port 443
HTTPS
Port 25