AP CSP BINARY NUMBERS

Last updated 3 months ago
16 questions
1

A programming language uses 3-bit binary sequences to represent nonnegative integers. The binary sequence 101 represents the decimal value 5. A programmer attempts to add the decimal values 6 and 7. Which of the following best describes the result of this operation?

1

In a system using 5-bit binary sequences to represent integers, what happens if you try to add 17 and 15?

1

A programming language uses 6-bit binary sequences to represent integers. The maximum representable value is 63. What happens if a programmer attempts to calculate 45 + 25?

3

If a computer uses 3-bit binary sequences to represent unsigned integers, which of the following operations will result in an overflow?

3 point question

1

A robot can operate in one of 10 different modes. How many bits are the minimum required to represent all possible modes?

1

A light system uses 3 bits to represent its state. If each state corresponds to a unique light configuration, how many different light configurations can the system represent?

1

A weather application stores the weather conditions for a city using binary values. There are 12 possible weather conditions. What is the minimum number of bits required to represent all these conditions?

1

A character in a game can have one of 20 different outfits. If each outfit is stored as a unique binary sequence, what is the minimum number of bits needed to store the outfit information?

5

Which of the following statements about the use of binary sequences in digital systems is not true?

This is a 5 point question!!!

1

Do not use online binary converters

Convert 2336 in base 10 to binary

1

Do not use online binary calculators

What is the sum of the two binary numbers below?

11011
11100

1

When using 8 bit encoding, what is the maximum possible value you can get in decimal?

1

When using 8 bit encoding, How many different combinations is possible?

1

A sound wave is captured by a microphone. How is the analog sound wave represented digitally for storage?

1

11111101 (base 2) is greater that 254 (base 10)

1

How many bits make a byte?