1/19
Flashcards covering powers of two, binary to decimal conversion, decimal to binary conversion, 4-bit overflow addition, and bit requirements from the AP CSP Binary Worksheet.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai | Chat |
|---|
No analytics yet
Send a link to your students to track their progress

Based on the AP CSP powers of two table, what are the values of 2n for exponents n=0 through 10?
n=0:1, n=1:2, n=2:4, n=3:8, n=4:16, n=5:32, n=6:64, n=7:128, n=8:256, n=9:512, n=10:1024

How is the binary number 10112 converted to decimal?
(1×8)+(0×4)+(1×2)+(1×1)=8+0+2+1=1110
How is the binary number 110102 converted to decimal?
(1×16)+(1×8)+(0×4)+(1×2)+(0×1)=16+8+0+2+0=2610
How is the binary number 1001012 converted to decimal?
(1×32)+(0×16)+(0×8)+(1×4)+(0×2)+(1×1)=32+4+1=3710
How is the binary number 0111112 converted to decimal?
(0×32)+(1×16)+(1×8)+(1×4)+(1×2)+(1×1)=16+8+4+2+1=3110
How is the decimal number 1310 converted to binary?
8+4+1=11012
How is the decimal number 2210 converted to binary?
16+4+2=101102
How is the decimal number 3110 converted to binary?
16+8+4+2+1=111112
How is the decimal number 4510 converted to binary?
32+8+4+1=1011012
What is the largest value that can be represented with 4 bits?
1510 (11112)
What are the five standard binary addition rules?
0+0=0, 0+1=1, 1+0=1, 1+1=10 (0, carry the 1), and 1+1+1=11 (1, carry the 1)
What is the result of the binary addition 01012(5)+00112(3)?
10002 (810)
What is the result and register value for the 4-bit addition 10102(10)+01112(7)?
The exact result is 100012 (1710). Since it requires 5 bits, an overflow occurs and the 4-bit register holds 00012.
What is the result and register value for the 4-bit addition 11112(15)+00012(1)?
The exact result is 100002 (1610). Since it requires 5 bits, an overflow occurs and the 4-bit register holds 00002.
What is the result and register value for the 4-bit addition 10012(9)+10012(9)?
The exact result is 100102 (1810). Since it requires 5 bits, an overflow occurs and the 4-bit register holds 00102.
What is a register value as defined in the worksheet?
A register value is the data currently held within a specific storage location in a computer's processor (CPU), known as a register.
How many unique values can be represented with 5 bits?
5 bits can represent 25=32 unique values.
How many bits are required to represent at least 6 distinct patterns?
3 bits are required (23=8), because 2 bits only provide 4 patterns.
How many bits are needed to represent scores from 0 to 100 inclusive (101 values)?
7 bits are needed (27=128).
Why are 6 bits not enough to represent scores from 0 to 100 inclusive?
6 bits are not enough because 26=64, which is less than the 101 required values.