1.1 InfoRepr&Multimedia.data_representation Flashcards

1
Q

What is the binary number system?

A

A base-two system using only the digits 0 and 1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is a bit?

A

A binary digit, the smallest unit of data in computing.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is one’s complement?

A

A method of representing negative numbers by inverting all bits in a binary number.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is two’s complement?

A

A method of representing negative numbers by inverting all bits and adding 1 to the right-most position.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is sign and magnitude representation?

A

A binary number system where the left-most bit indicates the sign (0 = positive, 1 = negative).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is hexadecimal?

A

A base-16 number system using digits 0-9 and letters A-F.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is a memory dump?

A

The contents of a computer’s memory output to a screen or printer.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is binary-coded decimal (BCD)?

A

A system that represents each decimal digit using 4 bits.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is ASCII?

A

A character encoding system for keyboard characters and control codes.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is a character set?

A

A list of characters defined by computer hardware and software with a coding method for interpretation.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is Unicode?

A

A universal character encoding system supporting all world languages (first 128 characters match ASCII).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

How does one’s complement work?

A

Each binary digit is inverted (0 becomes 1, 1 becomes 0) to represent negative numbers.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

How does two’s complement work?

A

Each binary digit is inverted, and 1 is added to the right-most bit.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Why is two’s complement preferred to one’s complement?

A

It simplifies binary addition and subtraction.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What are the weightings for an 8-bit two’s complement representation?

A

-128, 64, 32, 16, 8, 4, 2, 1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is the smallest unit of memory in a computer?

A

A byte

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

What are common multiples of a byte?

A

16-bit, 32-bit, and other multiples of 8

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

How many bytes are in 1 KB (kilobyte) using the SI system?

A

1000

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

How many bytes are in 1 MB (megabyte) using the SI system?

A

1,000,000 bytes.

20
Q

How many bytes are in 1 GB (gigabyte) using the SI system?

A

1,000,000,000 bytes

21
Q

How many bytes are in 1 TB (terabyte) using the SI system?

A

1,000,000,000,000 bytes

22
Q

How many bytes are in 1 PB (petabyte) using the SI system?

A

1,000,000,000,000,000 bytes

23
Q

What is the IEC (International Electrotechnical Commission) binary system for memory measurement?

A

A system based on powers of 2 rather than 10

24
Q

How many bytes are in 1 KiB (kibibyte) using the IEC system?

A

1,024 bytes (2¹⁰)

25
Q

How many bytes are in 1 MiB (mebibyte) using the IEC system?

A

1,048,576 bytes (2²⁰)

26
Q

How many bytes are in 1 GiB (gibibyte) using the IEC system?

A

1,073,741,824 bytes (2³⁰)

27
Q

How many bytes are in 1 TiB (tebibyte) using the IEC system?

A

1,099,511,627,776 bytes (2⁴⁰)

28
Q

How many bytes are in 1 PiB (pebibyte) using the IEC system?

A

1,125,899,906,842,624 bytes (2⁵⁰)

29
Q

What system should be used to measure internal memory like RAM?

A

The IEC binary system

30
Q

How many bytes are in 64 GiB of RAM?

A

64 × 2³⁰ = 68,719,476,736 bytes

31
Q

Why is hexadecimal often used instead of binary?

A

It is easier to read and manage compared to long binary sequences.

32
Q

What is a memory dump?

A

The process of outputting the contents of memory to a screen or printer.

33
Q

Why is hexadecimal used in memory dumps?

A

It makes fault tracing and debugging easier for developers.

34
Q

What is Binary-Coded Decimal (BCD)?

A

A number system where each denary digit is represented by a 4-bit binary equivalent.

35
Q

Where is BCD commonly used?

A

In calculator and clock displays for easy conversion between computer output and denary.

36
Q

Why is Binary-Coded Decimal (BCD) used for monetary values?

A

It ensures exact representation of decimal values, preventing significant errors in accounting.

37
Q

How does BCD handle sums that produce non-denary digits?

A

By adding 0110 (denary 6) when necessary to maintain correct decimal representation.

38
Q

What does ASCII stand for?

A

American Standard Code for Information Interchange.

39
Q

When was ASCII originally set up and later updated?

A

Set up in 1963 and updated in 1986

40
Q

How many bits are used in the standard ASCII code?

A

7-bit codes (0 to 127 in denary or 0 to 7F in hexadecimal)

41
Q

What does the ASCII character set include?

A

Letters, numbers, standard keyboard characters, and 32 control codes

42
Q

How does the ASCII code distinguish between uppercase and lowercase letters?

A

The sixth bit changes from 1 (lowercase) to 0 (uppercase), making conversion easy.

43
Q

What is Extended ASCII, and why was it introduced?

A

It uses 8-bit codes (128 to 255 in denary or 80 to FF in hex) to support non-English characters and drawing symbols.

44
Q

What is Unicode, and why was it developed?

A

A coding system designed to represent all languages globally, overcoming ASCII’s limitations.

45
Q

How does Unicode differ from ASCII in terms of storage?

A

Unicode supports up to four bytes per character, while ASCII uses only one byte.

46
Q

What are the five goals of Unicode Version 1.0 (1991)?

A
  • Universal standard covering all languages and writing systems.
  • More efficient than ASCII.
  • Uniform 16-bit or 32-bit encoding.
  • Unambiguous encoding for consistent character representation.
  • Reserved code space for private character assignments.
47
Q

How does Unicode benefit languages like Russian, Greek, and Japanese?

A

It allows these languages to be represented in a computer, supporting diverse writing systems.