Mod 3 - Digital Information Flashcards
What is discrete information?
It is digital information.
Ex. Digital thermometer b/c you can have either 22.2° or 22.3°, but no temperature in between (can’t have any decimal place more than 0.1
Anything counted is discrete (ex. money)
What is continuous information?
It is analog information.
Ex. Mercury thermometer b/c if you look close enough, you can get infinite precision (22.23645° & so on)
Most things are continuous (ex. light, time, distance) but we often digitize values, making them discrete because it’s more convenient.
Is a computer discrete or continuous?
It is discrete because a computer cannot have infinite precision. Info is digitized for this purpose, giving a fixed number.
Explain computer switches.
Computers use many (billions) internal switches/transistors for logic and memory.. Each switch is off=0 or on=1.
How do switches in memory work?
The switches are used to store memory. Each 0 or 1 stored is known as a bit (binary digit). 8 bits=byte
What are the binary equivalents?
0 = 0 1 = 1 2 = 10 3 = 11 4 = 100 5 = 101 6 = 110 7 = 111 8 =1000 etc.
I can’t add photos of binary to decimal and vice versa so make sure you look at your notes for that!
Aye, Aye Captain!
What is hexadecimal?
It is a numbering system that is by base 16. Its order is: 0-9, A, B, C, D, E, F, 16, 17, 18, etc.
It’s easy to convert b/w hexadecimal & binary, but again, look at your notes for this :)
How do you represent a hex number?
Put a # in front of the number (can be seen as 0x42).
ex. #42 (so it doesn’t get confused with decimal number 42)
What are the bases of decimal, binary & hexadecimal?
decimal: 10
binary: 2
hexadecimal: 16
What is ASCII?
The American Standard Code for Information Interchange (ASCII) is a standard code for going back and forth between characters and numbers. The hardware understands numbers while the software interprets the meaning of words. The ASCII was later extended to include extra characters that all fit into a single byte.
What is Unicode?
It was developed to support characters from around the world (including emojis & accent marks). This system also uses multiple bytes per character.
What is UTF-8?
It is used by webpages & websites to insert unicode characters (very versatile). It basically mixes ASCII & Unicode together.