Free Online Flashcard Deck

6 Data Representation Free Online FlashCards

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

12 cards
01
Front

What is a bit?

Back

A bit is a binary digit with one of two values: 00 or 11.

02
Front

How many bit patterns can one byte represent?

Back

A byte contains eight bits and can represent 28=2562^8 = 256 possible bit patterns.

03
Front

Convert 00101101200101101_2 to decimal.

Back

001011012=451000101101_2 = 45_{10}, because 32+8+4+1=4532 + 8 + 4 + 1 = 45.

04
Front

How many patterns can an nn-bit value represent?

Back

An nn-bit value can represent 2n2^n different bit patterns.

05
Front

What is the difference between big-endian and little-endian storage?

Back

In big-endian storage, the most significant byte comes first; in little-endian storage, the least significant byte comes first.

06
Front

What range does an nn-bit unsigned integer represent?

Back

The range is 00 to 2n−12^n - 1. For eight bits, that is 00–255255.

07
Front

How is a negative value formed in two’s complement?

Back

Invert every bit of the positive value, then add 11. For eight-bit +5+5, this produces 1111101111111011, or −5-5.

08
Front

What does floating-point representation store?

Back

Floating-point representation stores a sign, a significant portion, and a scale or exponent, allowing a wide range of values.

09
Front

What does a Boolean value represent?

Back

A Boolean represents a logical condition with two states: true and false. It can often be stored as 00 for false and 11 for true.

10
Front

How does ASCII represent the character A?

Back

ASCII assigns numeric codes to common English characters; uppercase A has decimal code 6565, or binary 0100000101000001.

11
Front

How do Unicode and UTF-8 differ?

Back

Unicode assigns code points to characters across many languages and symbol systems. UTF-8 encodes each code point as one to four bytes.

12
Front

What distinguishes a nibble from a byte?

Back

A nibble is four bits; a byte is eight bits.