Computer Science - 3 Data Representation - 1 Units and Binary Numbers & 2 Binary Arithmetic and Hexadecimal

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/24

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

25 Terms

1
New cards

1 bit

a single 1 or 0

2
New cards

1 byte

8 bits

3
New cards

1 nibble

4 bits / 1/2 byte

4
New cards

Order of prefixes [4]:

- kilo
- mega
- giga
- tera

5
New cards

One character of text:

1 byte

6
New cards

A full page of text:

30 kB

7
New cards

One small digital colour photograph:

3 MB

8
New cards

Music CD capacity:

650 MB

9
New cards

DVD capacity:

4.5 GB

10
New cards

Hard disc capacity:

1 TB

11
New cards

Most significant bit (MSB)

the leftmost bit in a binary number - which has the highest value

12
New cards

Least significant bit (LSB)

the rightmost bit in a binary number - which has the lowest value

13
New cards

The number of combinations from n bits =

2ⁿ

14
New cards

Hexadecimal

a number system that uses base 16

15
New cards

0 - 15 in hexadecimal =

0 - 9 and A - F

16
New cards

Hexadecimal to decimal conversion [2]:

- multiply value of left digit by 16
- add value of right digit

17
New cards

Decimal to hexadecimal conversion [2]:

- divide using integer division by 16 (value = left digit)
- remainder = right digit

18
New cards

Binary to hexadecimal conversion [3]:

- divide 1 byte into two nibbles (left and right)
- convert the value of each nibble to hexadecimal digits
- combine the two

19
New cards

Hexadecimal to binary conversion [2]:

- represent each digit in turn as 4-bit numbers
- combine them

20
New cards

Advantages of hexadecimal [4]:

- simpler to remember
- quicker to write or type
- less likely to make error
- easy to convert between hex and binary

21
New cards

Rules of binary addition:

- 0 + 0 = 1
- 0 + 1 = 1
- 1 + 0 = 1
- 1 + 1 = 0 (carry 1)
- 1 + 1 + 1 = 1 (carry 1)

22
New cards

1 + 1 + 1 + 1 = ? [3]

- 4
- 100
- 1 carried over by 2

23
New cards

Overflow error

error from attempting to represent a number that is too large.

24
New cards

A right logical shift causes:

a division by 2 (if float, round down)

25
New cards

A left logical shift causes:

a multiplication by 2