Number bases Flashcards Preview

Computer science—Fundamentals of data representation > Number bases > Flashcards

Flashcards in Number bases Deck (22):
1

What defines a number base?

The number of digits available, i.e. base 10 has the digits 0-9 available

2

What is a bit?

A single binary digit; either a zero or a one

3

What is a byte?

A string of eight bits

4

How many different values can be represented by n bits?

2ⁿ

5

How many bytes are in one kibibyte?

2¹⁰

6

What is the symbol for a kibibyte?

Ki

7

How many bytes are in one mebibyte?

2²⁰

8

What is the symbol for a mebibyte?

Mi

9

How many bytes are in one gibibyte?

2³⁰

10

What is the symbol for a gibibyte?

Gi

11

How many bytes are in one tebibyte?

2⁴⁰

12

What is the symbol for a tebibyte?

Ti

13

How many bytes are in one kilobyte?

10³

14

What is the symbol for a kilobyte?

KB

15

How many bytes are in one megabyte?

10⁶

16

What is the symbol for a megabyte?

MB

17

How many bytes are in one gigabyte?

10⁹

18

What is the symbol for a gigabyte?

GB

19

How many bytes are in one terabyte?

10¹²

20

What is the symbol for a terabyte?

TB

21

How is the base a of a number n notated?

nₐ

22

Explain how numbers in a base b are represented

The nth least significant bit, m, is worth m*(bⁿ⁻¹), where m is first converted to decimal, i.e. for A23₁₆, the first digit is worth 10*16²