AP Computer Science- Binary and Hex

¡Supera tus tareas y exámenes ahora con Quizwiz!

00000000

0 in binary

What are the 16 numbers used by hexadecimal?

0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F

00000001

1 in 8 bit binary

10000000

128 in 8 bit binary

00010000

16 in 8 bit binary

11111111

255 in binary

00000011

3 in 8 bit binary

01000001

65 in 8 bit binary

00000111

7 in 8 bit binary

What is hexadecimal?

A base-16 number system used in computer science

Bit

A binary digit, either 0 or 1.

Byte

A group of eight bits.

ASCII

A type of binary that can represent letters

Binary

A way of storing information using only 1s and 0s.

binary

What is the lowest level language within a computer?

Base 2

binary

hex AA

decimal 170

hexadecimal 14

decimal 20

hex 5A

decimal 90

Base 10

decimal number system

decimal 5

hex 5

decimal 101

hex 65

decimal 180

hex B4

decimal 40

hexadecimal 28

How to convert from binary to hexadecimal.

split the number into two nibbles, work out the denary equivalent, then convert into hexadecimal by multiplying the first number by 16 and adding the rest on.

255

Highest representable number in 8 bit binary

Why is hexadecimal used?

It is used to simplify binary, and simplify writing numbers.

When is hexadecimal used?

It is used when writing colours, and identifying errors on a computer.


Conjuntos de estudio relacionados

Chapter 26 - Postpartum Complication Practice Questions

View Set

USF BSC 2210: Cell Cycle - Mitosis and Meiosis

View Set

Exam 3 - Comps 6, 7, 9 leadership

View Set

Communication Practice Assessment

View Set

Ch. 31 Endocrine disorders PrepU

View Set