Binary Worksheet for AP CSP

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/19

flashcard set

Earn XP

Description and Tags

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.

Last updated 11:31 AM on 9/4/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

20 Terms

1
New cards
<p>Based on the AP CSP powers of two table, what are the values of $$2^n$$ for exponents $$n = 0$$ through $$10$$?</p>

Based on the AP CSP powers of two table, what are the values of 2n2^n for exponents n=0n = 0 through 1010?

n=0:1n=0: 1, n=1:2n=1: 2, n=2:4n=2: 4, n=3:8n=3: 8, n=4:16n=4: 16, n=5:32n=5: 32, n=6:64n=6: 64, n=7:128n=7: 128, n=8:256n=8: 256, n=9:512n=9: 512, n=10:1024n=10: 1024

<p>$$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$$</p>
2
New cards

How is the binary number 101121011_2 converted to decimal?

(1×8)+(0×4)+(1×2)+(1×1)=8+0+2+1=1110(1 \times 8) + (0 \times 4) + (1 \times 2) + (1 \times 1) = 8 + 0 + 2 + 1 = 11_{10}

3
New cards

How is the binary number 11010211010_2 converted to decimal?

(1×16)+(1×8)+(0×4)+(1×2)+(0×1)=16+8+0+2+0=2610(1 \times 16) + (1 \times 8) + (0 \times 4) + (1 \times 2) + (0 \times 1) = 16 + 8 + 0 + 2 + 0 = 26_{10}

4
New cards

How is the binary number 1001012100101_2 converted to decimal?

(1×32)+(0×16)+(0×8)+(1×4)+(0×2)+(1×1)=32+4+1=3710(1 \times 32) + (0 \times 16) + (0 \times 8) + (1 \times 4) + (0 \times 2) + (1 \times 1) = 32 + 4 + 1 = 37_{10}

5
New cards

How is the binary number 0111112011111_2 converted to decimal?

(0×32)+(1×16)+(1×8)+(1×4)+(1×2)+(1×1)=16+8+4+2+1=3110(0 \times 32) + (1 \times 16) + (1 \times 8) + (1 \times 4) + (1 \times 2) + (1 \times 1) = 16 + 8 + 4 + 2 + 1 = 31_{10}

6
New cards

How is the decimal number 131013_{10} converted to binary?

8+4+1=110128 + 4 + 1 = 1101_2

7
New cards

How is the decimal number 221022_{10} converted to binary?

16+4+2=10110216 + 4 + 2 = 10110_2

8
New cards

How is the decimal number 311031_{10} converted to binary?

16+8+4+2+1=11111216 + 8 + 4 + 2 + 1 = 11111_2

9
New cards

How is the decimal number 451045_{10} converted to binary?

32+8+4+1=101101232 + 8 + 4 + 1 = 101101_2

10
New cards

What is the largest value that can be represented with 4 bits?

151015_{10} (111121111_2)

11
New cards

What are the five standard binary addition rules?

0+0=00 + 0 = 0, 0+1=10 + 1 = 1, 1+0=11 + 0 = 1, 1+1=101 + 1 = 10 (00, carry the 11), and 1+1+1=111 + 1 + 1 = 11 (11, carry the 11)

12
New cards

What is the result of the binary addition 01012(5)+00112(3)0101_2 (5) + 0011_2 (3)?

100021000_2 (8108_{10})

13
New cards

What is the result and register value for the 4-bit addition 10102(10)+01112(7)1010_2 (10) + 0111_2 (7)?

The exact result is 10001210001_2 (171017_{10}). Since it requires 5 bits, an overflow occurs and the 4-bit register holds 000120001_2.

14
New cards

What is the result and register value for the 4-bit addition 11112(15)+00012(1)1111_2 (15) + 0001_2 (1)?

The exact result is 10000210000_2 (161016_{10}). Since it requires 5 bits, an overflow occurs and the 4-bit register holds 000020000_2.

15
New cards

What is the result and register value for the 4-bit addition 10012(9)+10012(9)1001_2 (9) + 1001_2 (9)?

The exact result is 10010210010_2 (181018_{10}). Since it requires 5 bits, an overflow occurs and the 4-bit register holds 001020010_2.

16
New cards

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.

17
New cards

How many unique values can be represented with 55 bits?

55 bits can represent 25=322^5 = 32 unique values.

18
New cards

How many bits are required to represent at least 66 distinct patterns?

33 bits are required (23=82^3 = 8), because 22 bits only provide 44 patterns.

19
New cards

How many bits are needed to represent scores from 00 to 100100 inclusive (101101 values)?

77 bits are needed (27=1282^7 = 128).

20
New cards

Why are 66 bits not enough to represent scores from 00 to 100100 inclusive?

66 bits are not enough because 26=642^6 = 64, which is less than the 101101 required values.