2. Data Representation

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/49

flashcard set

Earn XP

Description and Tags

Flashcards based on lecture material. Made by Gemini 2.5 Pro.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

50 Terms

1
New cards

What is the most basic unit of information in a digital computer?

A bit (binary digit).

2
New cards

How many bits are in a byte?

8 bits.

3
New cards

A group of 4 bits is also known as a…?

Nibble.

4
New cards

What is the natural unit of data used by a particular processor design, typically 32 or 64 bits in modern computers?

A word.

5
New cards

What is the binary representation of the decimal number 21?

10101

6
New cards

What is the binary representation of the decimal number 74?

1001010

7
New cards

What is the binary representation of the decimal number 234?

11101010

8
New cards

What is the decimal equivalent of the unsigned binary number 10010101?

149

9
New cards

What is the largest unsigned number that can be stored in a 4-bit word?

15 (2⁴ - 1)

10
New cards

What is the largest unsigned number that can be stored in an 8-bit word?

255 (2⁸ - 1)

11
New cards

What is the largest unsigned number that can be stored in a 16-bit word?

65,535 (2¹⁶ - 1)

12
New cards

What is the largest unsigned number that can be stored in a 32-bit word?

4,294,967,295 (2³² - 1)

13
New cards

What is the one's complement of the binary number 10101100?

1010011

14
New cards

What is the one's complement of the binary number 01010100?

10101011

15
New cards

In 2's complement, what is the range of numbers that can be stored in a 3-bit word?

-4 to 3

16
New cards

In 2's complement, what is the range of numbers that can be stored in a 4-bit word?

-8 to 7

17
New cards

In 2's complement, what is the range of numbers that can be stored in an 8-bit word?

-128 to 127

18
New cards

How do you find the negative of a number using two's complement arithmetic?

Invert all the bits (one's complement) and then add 1.

19
New cards

What is the negative of the binary number 01010011 using 2's complement?

10101101

20
New cards

What is the decimal equivalent of the 5-bit two's complement number 00011?

3

21
New cards

What is the decimal equivalent of the 5-bit two's complement number 01111?

15

22
New cards

What is the decimal equivalent of the 5-bit two's complement number 11100?

-4

23
New cards

What is the decimal equivalent of the 5-bit two's complement number 11010?

-6

24
New cards

What is the decimal equivalent of the 5-bit two's complement number 10000?

-16

25
New cards

What is the 8-bit two's complement representation of the decimal number 12?

1100

26
New cards

What is the 8-bit two's complement representation of the decimal number -15?

11110001

27
New cards

What is the 8-bit two's complement representation of the decimal number -117?

10001011

28
New cards

The hexadecimal number C6 is used to represent a two's complement binary number. What is its decimal value?

-58

29
New cards

Can the addition of two negative numbers (e.g., 1??? + 1???) in 2's Complement produce an overflow?

Yes, if the result appears to be positive (i.e., the sign bit becomes 0).

30
New cards

Can subtracting a positive number from another positive number (e.g., 0??? - 0???) in 2's Complement produce an overflow?

No. This is treated as adding a positive and a negative, which can never cause an overflow.

31
New cards

What is the numerical value of the Least Significant Bit (LSB) when it is set to 1?

1 (representing 2⁰)

32
New cards

What is the binary representation of the hexadecimal number BC?

10111100

33
New cards

What is the binary representation of the hexadecimal number F0?

11110000

34
New cards

What is the decimal equivalent of the hexadecimal number 3F?

63

35
New cards

Express the binary number 101010101010 in hexadecimal notation.

AAA

36
New cards

Express the binary number 110010110111 in hexadecimal notation.

CB7

37
New cards

What is the octal representation of the decimal number 37?

45

38
New cards

What is the octal representation of the decimal number 89?

131

39
New cards

What is the result of adding the unsigned binary numbers 01010101 + 00111111?

10010100

40
New cards

What is the term for when the result of an arithmetic operation is too large to be represented by the available number of bits?

Overflow.

41
New cards

In this storage system, the most significant byte is stored at the lowest memory address.

Big-Endian.

42
New cards

In this storage system, the least significant byte is stored at the lowest memory address.

Little-Endian.

43
New cards

What is the primary advantage of using two's complement for representing signed integers in computers?

It simplifies arithmetic operations, allowing subtraction to be performed via addition.

44
New cards

In signed-magnitude representation, what is a significant disadvantage related to the number zero?

There are two representations for zero (+0 and -0), which complicates logic and wastes a bit pattern.

45
New cards

How are real numbers (including fractions and very large/small numbers) typically represented in computers?

Floating-Point Representation (a form of scientific notation).

46
New cards

What are the three components of a floating-point number?

Sign, Mantissa (or Significand), and Exponent.

47
New cards

This character encoding standard includes representations for characters from almost all of the world's writing systems.

Unicode.

48
New cards

The rule of thumb for detecting overflow in a signed 2's complement addition is when the 'carry in' to the sign bit is … from the 'carry out'.

different

49
New cards

Each digit in the hexadecimal (base-16) system represents how many binary bits?

4 bits.

50
New cards

Each digit in the octal (base-8) system represents how many binary bits?

3 bits.