Number systems

studied byStudied by 0 people
0.0(0)
learn
LearnA personalized and smart learning plan
exam
Practice TestTake a test on your terms and definitions
spaced repetition
Spaced RepetitionScientifically backed study method
heart puzzle
Matching GameHow quick can you match all your cards?
flashcards
FlashcardsStudy terms and definitions

1 / 34

encourage image

There's no tags or description

Looks like no one added any tags here yet for you.

35 Terms

1

Convert denary to binary

Divide by 2 for x remainder y. Write y in place value and divide x by 2 again. Repeat

New cards
2

Convert denary to hex

Divide by 16 for x remainder y. Write y in hex form in place value and divide x by 16 again. Repeat

New cards
3

What is a bit?

A single 0 or 1

New cards
4

What is a nibble?

4 bits (1010)

New cards
5

What is a byte?

8 bits (10101010) / 2 nibbles

New cards
6

Hex to binary

Map values one digit at a time

New cards
7

Binary to hex

Map values one nibble at a time

New cards
8

Why use hexadecimal?

less display space needed; faster to enter data; easy to convert back to binary; easier to identify values and spot errors

New cards
9

Example usages of hex

Colour coding when formatting web pages in HTML or CSS; low-level code; addresses; error messaging

New cards
10

What indicates that a colour is being coded in hex?

#

New cards
11

How do hex colour codes work?

2 hex digits for each of RGB

New cards
12

White in hex

FFFFFF

New cards
13

Red in hex

FF0000

New cards
14

Black in hex

000000

New cards
15

What does the value of the hex numbers represent?

Intensity of colour

New cards
16

When might you see hex options when setting colour values?

Graphics packages e.g. Adobe creative suite apps

New cards
17

How are hex colour codes used in laser cutters?

Identify how to set laser strength and depth of cut

New cards
18

Why is hex used in assembly code?

Quicker, easier and less error prone for programmers to type assembly code values in hex than long binary strings

New cards
19

How do programmers make it more efficient to troubleshoot low level code?

Using hexadecimal instead of typing out long binary strings

New cards
20

How is hex used in addresses?

Both IP and MAC addresses

New cards
21

What do MAC addresses do?

Media access control - uniquely identify devices on a network

New cards
22

Where do devices get their MAC addresses from?

Assigned by device manufacturer

New cards
23

What are MAC addresses made of?

6 pairs of hex digits NN-NN-NN-DD-DD-DD

New cards
24

What is the NN-NN-NN in MAC addresses

ID of manufacturer

New cards
25

What is the DD-DD-DD in MAC addresses

serial number of device

New cards
26

Which comes first in a MAC address - NN-NN-NN or DD-DD-DD

NN-NN-NN

New cards
27

What do IP addresses do?

Internet Protocol - identify where a device is on a network

New cards
28

What number system are IP version 4 addresses?

decimal

New cards
29

What are IP version 6 addresses?

hex

New cards
30

Which uses hex - IP version 4 or version 6

Version 6

New cards
31

What does IPv6 do?

Provides enough unique addresses for every networked device on the planet

New cards
32

How are IPv6 addresses organised?

128 bits; digits organised in 8 groups; 4 hex digits per group

New cards
33

How many bits in an IPv6 address?

128

New cards
34

Where is hex used in error messaging?

Display of error codes in embedded systems e.g. lifts

New cards
35

Why are hex codes used in error messaging?

Embedded systems have tiny screens if any; hex takes up less space than binary

New cards
robot