Log in
Sign up for FREE
arrow_back
Library

AP CSP BINARY NUMBERS

star
star
star
star
star
Last updated 8 months ago
16 questions
1
1
1
3
1
1
1
1
5
1
1
1
1
1
1
1
Question 1
1.

Question 2
2.

Question 3
3.

Question 4
4.

Question 5
5.

Question 6
6.

Question 7
7.

Question 8
8.

Question 9
9.

Question 10
10.

Do not use online binary converters

Convert 2336 in base 10 to binary

Question 11
11.

Do not use online binary calculators

What is the sum of the two binary numbers below?

11011
11100

Question 12
12.

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

Question 13
13.

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

Question 14
14.

Question 15
15.

Question 16
16.

How many bits make a byte?

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?
The correct sum of 13 will be assigned to the variable.
An overflow error will occur because 3 bits is not large enough to represent 6 or 7.
An overflow error will occur because 3 bits is not large enough to represent 13, the sum of 6 and 7.
A round-off error will occur because of approximations due to the fixed number of bits.
In a system using 5-bit binary sequences to represent integers, what happens if you try to add 17 and 15?
The sum 32 will be correctly represented.
An overflow error will occur because 5 bits is not large enough to represent 32
An overflow error will occur because 5 bits is not large enough to represent 17 or 15
A round-off error will occur due to the fixed number of bits.
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?
The result 70 will be correctly stored in a 6-bit variable.
An overflow error will occur because 6 bits cannot represent 70.
The values 45 and 25 cannot be represented in 6 bits, so an error occurs before addition.
A round-off error will occur due to the limitations of the binary system.
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
7+8
6+5
10+5
2+2
A robot can operate in one of 10 different modes. How many bits are the minimum required to represent all possible modes?
3 bits
4 bits
5 bits
10 bits
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?
3 configurations
6 configurations
8 configurations
16 configurations
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?
3 bits
4 bits
5 bits
6 bits
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?
4 bits
5 bits
6 bits
20 bits
Which of the following statements about the use of binary sequences in digital systems is not true?

This is a 5 point question!!!
Binary sequences can represent images.
Binary sequences can represent text.
Binary sequences can represent video by encoding each frame as a binary sequence.
Binary sequences can represent numerical values.
Binary sequences can represent musical notes.
Binary sequences can represent colors
Binary sequences can represent a webpage’s HTML content.
Binary sequences can only represent numerical data such as integers and floating numbers
A sound wave is captured by a microphone. How is the analog sound wave represented digitally for storage?
The sound wave is converted into a binary sequence by taking samples at regular intervals.
The sound wave is stored as a continuous waveform in binary form.
The sound wave is approximated by measuring the volume at regular intervals.
The sound wave is predicted using a model based on previous sound recordings.
11111101 (base 2) is greater that 254 (base 10)
True
False