AP Computer Science Principlesmediummcq1 pt

With n bits, how many different values can be represented?

A.2 to the power of n
B.2 times n
C.n to the power of 2
D.n

Explanation

Core Concept

Each bit doubles the count.

Correct Answer

A2 to the power of n

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 →