UNIT 1- DIGITAL INFO

studied byStudied by 5 people
5.0(1)
get a hint
hint

What is the minimum numbers of bits you would need to encode all uppercase and lowercase letters of the English alphabet?

1 / 31

Studying Progress

0%
New cards
32
Still learning
0
Almost done
0
Mastered
0
32 Terms
1
New cards

What is the minimum numbers of bits you would need to encode all uppercase and lowercase letters of the English alphabet?

6 (52 overall letters, 6 bits equals 52 exactly)

New cards
2
New cards

A program uses 4 bits to store numbers.  When it adds 10 and 7, the result is 1.  Which of the following best explains why?

an overflow error led the program to reset to 0 at the number 16 (4 bits equals 15 and 10+7= 17 which is more than 15 so it causes overflow)

New cards
3
New cards

Which binary # is the greatest?

11001

11000

11100

11011

11010

11100 (why? more ones on the left hand side of the binary means greater, so 11000 is the greatest binary)

New cards
4
New cards

The Pokedex currently includes 893 unique Pokemon.  If each Pokemon were provided a unique ID number, what would be the minimum number of bits required?

10 (the 10 bit number that equals exactly 893 is 110111101)

New cards
5
New cards

Why is binary used to encode information?

The difference between 2 states (A or B) is the clearest, most accurate way to send messages.

New cards
6
New cards

If you wrote a program that uses only 4 bits to represent decimal numbers (0, 1, 2, 3, etc.), what is the SMALLEST number for which an overflow error would occur?

16 (4 bits equals 15 so any #>15 will cause overflow and the number after 15 is 16 so thats the smallest that will cause it to reset/overflow)

New cards
7
New cards

For each additional bit in a binary sequence, what happens to the amount of numbers we can make?

it doubles (ex: 4 bits is 0000 turned off and on is 11111, the number made from adding all 1s is 15 because the farthest righthand 1 equals 1 in decimal then the next 1 is multiplied by 1 times 2, then the next by 2 times 2, and the last/farthest lefthand 1 by 4 times 2)

New cards
8
New cards

Which of the following is an 8-bit system for English character encoding?

ASCII

New cards
9
New cards

If someone told you that 97 101 98 was ASCII for "CHS", you could know immediately that this isn't true.  Which is the best explanation?

the letters C, H and S are more spread out in the alphabet than the numbers 97, 98 and 101

New cards
10
New cards

binary digits

0s (off) and 1s (on) used to represent digital data

New cards
11
New cards

The number 30 in binary is

11110

New cards
12
New cards

The smallest piece of information stored or transmitted, usually the difference between two states (A or B, or 0 or 1), is known as a __________.

bit

New cards
13
New cards

A program adds 2 numbers and an overflow error results.  Which of the following is the most likely reason?

the calculated sum is greater than the amount of memory set aside to store it

New cards
14
New cards

Convert this binary number to decimal (base-10): 11110111

247

New cards
15
New cards

The number 9 in binary is

1001

New cards
16
New cards

Does binary 01000001 always represent the capital letter A?

No, that is simply what it represents in ASCII, which is based on English.  01000001 may represent other characters in codes for other languages. (what something represents in one language is very likely going to be different from its equivalent in a different language)

New cards
17
New cards

Your friend is a fabulous poet.  She handwrites all of her poems.  When she writes a poem for you, you use your smarthphone to take a photo of it and post it online.  Which of these statements is true?

the photo is a digital representation of the analog poem (photos are digitized while poems are natural/analog)

New cards
18
New cards

List these hexadecimal RGB colors, in this order:

FFF, F00, 0F0, 00F, 000

white, red, green, blue, black

(FFF is pure and 000 is also pure so they are white and black respectively, red is similar to white so it has F as the farthest left value, green is in the middle of red and blue so it has F in the middle and blue is 00F because its similar to black so its F is the farthest right value)

New cards
19
New cards

24-bit RGB uses...

1 byte for each color channel (r, g, or b to keep it simple)

New cards
20
<p>List the hexadecimal RGB codes for the colors numbered above, in order from 1 to 3:</p>
New cards
<p>List the hexadecimal RGB codes for the colors numbered above, in order from 1 to 3:</p>

List the hexadecimal RGB codes for the colors numbered above, in order from 1 to 3:

F0F, FF0, 0FF

New cards
21
New cards

Which is 12-bit RGB for cyan?

00ffff

New cards
22
New cards

If your friend sent you 64 bits of pixel data (just the 0s and 1s for black and white pixels) that were encoded after sampling an image, which of the following must be true?

The correct width and height must be included in order to produce the image.

New cards
23
New cards
  1. converting hexadecimal to decimal:

  2. converting decimal to hexadecimal:

  1. multiply the tens place by 16 and add the ones place

  2. divide the decimal by 16 and if there is a remainder, multiply the remainder by 16

New cards
24
New cards

1 to A is…

1 to 10

1=1, 2=2, 3=3, 4=4, 5=5, 6=6, 7=7, 8=8, 9=9, A=10

New cards
25
New cards

A to F is…

10 to 16

A = 10, B=11, C=12, D=13, E=14, and F=15

New cards
26
New cards

the base for regular numbers is blank, the base for binary numbers is blank, the base for hexadecimal numbers is blank

10, 2, 16, respectively

New cards
27
New cards

converting hexadecimal to decimal: E5 is…

(14*16) + 5 = 229

E=14 and multiply it by 16 because thats the base then add the ones value which is 5 to get the final conversion.

New cards
28
New cards

The decimal (regular) number 250 is what in hexadecimal?

FA (250/16=15 remainder .625; multiply .625 by 16 =10; F in hex is equal to 15 and A is 10 so the hexadecimal version of decimal 250 is FA; going from hexadecimal to decimal, F multiplied by 16 is 240 and adding A being 10 equals 250)

New cards
29
New cards

The hexadecimal number 25 is what in decimal (regular) numbers?

37 (2 times 16 = 32 + 5 = 37)

New cards
30
New cards

Which is 12-bit RGB for cyan?

00ffff

New cards
31
New cards

Which of the following would result in a better digital approximation of an analog black and white image?

Decrease the size of each sample square, thus increasing the number of samples taken. (more squares means more detailed digital version of the analog)

New cards
32
New cards

What is overflow why does it occur?

overflow is when a computer doesn’t have enough memory or storage space to account for the values you are storing, so it resets to zero.

New cards

Explore top notes

note Note
studied byStudied by 2 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 18 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 34 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 31 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 64 people
Updated ... ago
5.0 Stars(2)
note Note
studied byStudied by 53 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 3 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 1249 people
Updated ... ago
4.9 Stars(8)

Explore top flashcards

flashcards Flashcard127 terms
studied byStudied by 62 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard68 terms
studied byStudied by 40 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard30 terms
studied byStudied by 71 people
Updated ... ago
4.5 Stars(2)
flashcards Flashcard73 terms
studied byStudied by 10 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard100 terms
studied byStudied by 44 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard900 terms
studied byStudied by 20 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard49 terms
studied byStudied by 19 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard40 terms
studied byStudied by 3251 people
Updated ... ago
4.1 Stars(31)