Binary Data

Quiz
•
Computers
•
11th - 12th Grade
•
Hard
Richard Jr.
Used 94+ times
FREE Resource
6 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
A certain programming language uses 4-bit binary sequences to represent nonnegative integers. For example, the binary sequence 0101 represents the corresponding decimal value 5. Using this programming language, a programmer attempts to add the decimal values 14 and 15 and assign the sum to the variable total. Which of the following best describes the result of this operation?
The correct sum of 29 will be assigned to the variable total
An overflow error will occur because 4 bits is not large enough to represent either of the values 14 or 15
An overflow error will occur because 4 bits is not large enough to represent 29, the sum of 14 and 15.
A round-off error will occur because the decimal values 14 and 15 are represented as approximations due to the fixed number of bits used to represent numbers.
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
A video game character can face toward one of four directions: north, south, east, and west. Each direction is stored in memory as a sequence of four bits. A new version of the game is created in which the character can face toward one of eight directions, adding northwest, northeast, southwest, and southeast to the original four possibilities. Which of the following statements is true about how the eight directions must be stored in memory?
Four bits are not enough to store the eight directions. Five bits are needed for the new version of the game
Four bits are not enough to store the eight directions. Eight bits are needed for the new version of the game.
Four bits are not enough to store the eight directions. Sixteen bits are needed for the new version of the game.
Four bits are enough to store the eight directions.
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which of the following are true statements about the data that can be represented using binary sequences?
1. Binary sequences can be used to represent strings of characters.
2. Binary sequences can be used to represent colors.
3. Binary sequences can be used to represent audio recordings.
1 only
1 and 2 only
2 and 3 only
1, 2, and 3
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Consider the 4-bit binary numbers 0011, 0110, and 1111. Which of the following decimal values is NOT equal to one of these binary numbers?
3
6
9
15
5.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
The position of a runner in a race is a type of analog data. The runner’s position is tracked using sensors. Which of the following best describes how the position of the runner is represented digitally?
The position of the runner is determined by calculating the time difference between the start and the end of the race and making an estimation based on the runner’s average speed.
The position of the runner is measured and rounded to either 0 or 1 depending on whether the runner is closer to the starting line or closer to the finish line.
The position of the runner is predicted using a model based on performance data captured from previous races.
The position of the runner is sampled at regular intervals to approximate the real-word position, and a sequence of bits is used to represent each sample.
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Consider the following numeric values.
• Binary 1011
• Binary 1101
• Decimal 5
• Decimal 12
Which of the following lists the values in order from least to greatest?
Decimal 5, binary 1011, decimal 12, binary 1101
Decimal 5, decimal 12, binary 1011, binary 1101
Decimal 5, binary 1011, binary 1101, decimal 12
Binary 1011, binary 1101, decimal 5, decimal 12
Similar Resources on Wayground
10 questions
AP-CSP Binary Conversions

Quiz
•
7th - 12th Grade
11 questions
AP Computer Science Principles Unit 1

Quiz
•
10th - 12th Grade
10 questions
Binary conversion

Quiz
•
7th - 12th Grade
10 questions
Number System Conversions 1

Quiz
•
9th - 12th Grade
10 questions
Data Representation - Character Sets

Quiz
•
2nd - 12th Grade
10 questions
Code.org Unit 1 Review

Quiz
•
9th - 12th Grade
10 questions
Bitwise Operators in C Language

Quiz
•
12th Grade
10 questions
Binary to Hex

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
15 questions
Hersheys' Travels Quiz (AM)

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
30 questions
Lufkin Road Middle School Student Handbook & Policies Assessment

Quiz
•
7th Grade
20 questions
Multiplication Facts

Quiz
•
3rd Grade
17 questions
MIXED Factoring Review

Quiz
•
KG - University
10 questions
Laws of Exponents

Quiz
•
9th Grade
10 questions
Characterization

Quiz
•
3rd - 7th Grade
10 questions
Multiply Fractions

Quiz
•
6th Grade