Digital Data
(Diagram question 1) 4 types of representations of data are shown. Which statement is true? R: 127 G: 79 B: 201 PURPLE #7F4FC9 0111 111 0100 1111 1100 1001
All four do not represent the same hexadecimal data
(bitmap nine) Which of the following matches the bitmap picture?
00 38 44 3C 04 78 00 00
Computer systems use binary numbers to represent data that it processes. If it has a number in memory represented by the binary number 0010 1001, and it's processing an instruction to add the number 21 to it, what's the resulting number in binary?
0011 1110
"There are 10 types of people in this world: Those who understand binary, and those who don't." Why is this 'funny'?
10 (binary)=2 (decimal)
Which of the following is a potential code for unlocking the door?
100147
Which cannot be represented by the sequence 0100 0001?
1011 1110
(Diagram question 3) 4 different representations of data are shown. What is the decimal representation of the red color value (R)? R: 127 G: 79 B: 201 PURPLE #7F4FC9 0111 111 0100 1111 1100 1001
127
How many color codes can be represented using this color scheme (#RRGGBB)?
16^6
How many less colors are represented using this color code scheme (#RGB) as compared to the original format (#RRGGBB)?
16^6-16^3
The length of an object needs to be stored digitally. What are the minimum #of bits needed to rep. length and unit of measure?
21 bits
Which of the following best describes the number of values we can express using a 64-bit system instead of a 32-bit system?
2^32 times as many values can be represented.
What would this mathematical engine return if it were given the following steam of bits? 0001 0000 0000 0010 0000 0011
48
Translate the following into their hexadecimal equivalent: JPEG
4a 50 45 47
What is the minimum number of binary digits Doris will need to represent 26 letters?
5
What is the hex code for the letter Q?
51
How would the binary number 1001 1111 1011 0010 be represented in hex format?
9FB2
Which statement correctly captures why hexadecimal values are more commonly used to represent colors as compared to binary values?
Hexadecimal representations use fewer digits than binary, making it easier to express values.
Which is not a reason computers use hexadecimals?
Hexadecimal shows no relation to the binary.
The word 'vim' can be represented in a number of ways. They include: hexadecimal: 76 69 6D decimal: 118 105 109 binary: 01110110 01101001 01101101 Why do computer scientists prefer hexadecimal?
Hexadecimal uses fewer digits than binary.
Rachel is planning on writing code that will have to do computations with very large numbers. What should she check before writing her code?
Rachel should look up how many bits are used to store integers and floating point numbers in the programming language she is using.
Which of the following can be represented by a single binary digit?
a)Any integer modulus 2 c)If a grade is passing or failing
(Diagram question 2) 4 different representations of data are shown. Which is at the lowest lvl of abstraction? R: 127 G: 79 B: 201 PURPLE #7F4FC9 0111 111 0100 1111 1100 1001
binary digits 0111 111 0100 1111 1100 1001
The hex code for purple is #7F4FC9. Which of the three components will be the brightest?
blue
Which is not a physical component of a computing system that has two states?
chips
(Diagram question 4) 4 different representations of data are shown. All of the following show an ordering of representations from lower levels of abstraction to higher levels EXCEPT... R: 127 G: 79 B: 201 PURPLE #7F4FC9 0111 111 0100 1111 1100 1001
color-->binary
Which of the following can be represented by two binary digits?
compass directions (North, south, east, west) classifying a student by whether or not they are passing and whether or not they have perfect attendance.
contestant a: 11001 contestant b: 10110 contestant c: 01101 contestant d: 00111 Who won the contest?
contestant D
Which number system uses the symbols A-F?
hexadecimal
No matter what number system is used, the number stays the same. Notation changes, not the number. Which of the following does NOT represent the same number, written in different number system notations?
hexadecimal: 16
When working with the programming language Python, Clinton noticed something strange. when he subtracted 0.1 from 0.3 he did not see the result 0.2 that he expected. Instead, he saw 0.1999999999998. This is because...
...a fixed number of bits representing floating point values, leading to small errors.
0110 1011 0010 1011 This sequence represents...
...something that depends on the context in which it is used.
If the RGB value for a color is (21, 60, 46), what is the color's hex code?
#153c2e
Given that you only have 3 bits to store some data, which of the following can be best represented in these three bits?
The number of dots shown on the top face of a standard die after rolling it in a board game.
Jerry and Ron are using the following binary sequence in their programs: 0110 1100 0100 0111 Which statement is true?
This binary sequence MIGHT represent the same type of data.
What is represented by the hex number 6D?
m
If the company communicates its machine statuses as the decimal number 52, which machines are currently in service?
machine 2, machine 4, and machine 5
Take the hex code for CPU. Add to that number 2f 11 18. then convert the result using the ASCII table. What is the result?
ram
What is the first layer of the OSI (open systems interconnection)?
the physical layer