Twa kɔ nsɛm atitiriw so
Log in
Sign up for FREE
arrow_back
Laabri

AP CSP BINARY NUMBERS

star
star
star
star
star
Last updated 10 months ago
16 Nsɛmmisa
1
1
1
3
1
1
1
1
5
1
1
1
1
1
1
1
Asemmisa {{asɛmmisaAhyɛnsode}}
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?

Asemmisa {{asɛmmisaAhyɛnsode}}
2.

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

Asemmisa {{asɛmmisaAhyɛnsode}}
3.

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?

Asemmisa {{asɛmmisaAhyɛnsode}}
4.

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

Asemmisa {{asɛmmisaAhyɛnsode}}
5.

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

Asemmisa {{asɛmmisaAhyɛnsode}}
6.

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?

Asemmisa {{asɛmmisaAhyɛnsode}}
7.

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?

Asemmisa {{asɛmmisaAhyɛnsode}}
8.

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?

Asemmisa {{asɛmmisaAhyɛnsode}}
9.

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

This is a 5 point question!!!

Asemmisa {{asɛmmisaAhyɛnsode}}
10.

Do not use online binary converters

Convert 2336 in base 10 to binary

Asemmisa {{asɛmmisaAhyɛnsode}}
11.

Do not use online binary calculators

What is the sum of the two binary numbers below?

11011

11100

Asemmisa {{asɛmmisaAhyɛnsode}}
12.

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

Asemmisa {{asɛmmisaAhyɛnsode}}
13.

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

Asemmisa {{asɛmmisaAhyɛnsode}}
14.

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

Asemmisa {{asɛmmisaAhyɛnsode}}
15.

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

Asemmisa {{asɛmmisaAhyɛnsode}}
16.

How many bits make a byte?