AP Computer Science Principleshardmcq1 pt

How many bits are needed to represent the decimal value 300?

A.9
B.8
C.7
D.300

Explanation

Core Concept

2 to the 8th is 256, so 9 bits are required.

Correct Answer

A9

More Unit 2: Data practice questions

Try a random question →

Practice more AP Computer Science Principles questions with full explanations

Practice Unit 2: Data Questions →