Free Online Flashcard Deck

1 Binary Representation and Data Free Online FlashCards

Study 1 Binary Representation and Data with 12 free online flashcards. Review key terms, definitions, and concepts with this interactive flashcard deck.

12 cards
01
Front

What are a bit and a byte?

Back

A bit is one binary digit, either 0 or 1. A byte is a group of 8 bits.

02
Front

How do binary place values work?

Back

Binary is base 2, so each position represents a power of 2. For example, 1011012=4510101101_2 = 45_{10}.

03
Front

How does one hexadecimal digit relate to binary?

Back

Each hexadecimal digit corresponds to exactly 4 bits, making hexadecimal a compact way to write binary.

04
Front

Convert 11011010211011010_2 to hexadecimal.

Back

11011101 is D16D_{16}, and 10101010 is A16A_{16}. Therefore, 110110102=DA1611011010_2 = DA_{16}.

05
Front

What is the range of an unsigned nn-bit integer?

Back

An unsigned nn-bit integer ranges from 00 to 2n−12^n - 1, inclusive.

06
Front

What values can an 8-bit unsigned integer represent?

Back

An 8-bit unsigned integer ranges from 00 through 255255.

07
Front

What is the range of an nn-bit two’s-complement integer?

Back

An nn-bit two’s-complement integer ranges from −2n−1-2^{n-1} to 2n−1−12^{n-1}-1, inclusive.

08
Front

How can you form a two’s-complement negative value?

Back

Invert the bits of the positive value, then add 11. For example, 00000101200000101_2 becomes 11111011211111011_2.

09
Front

What value does 11111011211111011_2 represent as an 8-bit two’s-complement integer?

Back

In 8-bit two’s complement, 11111011211111011_2 equals −5-5: its leftmost bit contributes −128-128, and the other bits sum to 123123.

10
Front

How can 11111111211111111_2 have two different integer values?

Back

The same pattern has different values by convention: 11111111211111111_2 is 255255 unsigned and −1-1 as an 8-bit two’s-complement integer.

11
Front

Do bit patterns have fixed meanings on their own?

Back

Bits have no inherent meaning. A format or program determines whether a pattern represents a number, text, or another kind of data.

12
Front

What ASCII value represents uppercase AA?

Back

ASCII assigns numeric values to a limited set of characters. Uppercase AA has value 6565, or 0x410x41.