1. Number Systems Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

Hexadecimal

A

Base 16
0-9 ABCDEF
A representing 10
and F representing 15

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

Denary/Decimal

A

Base 10

0-9

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

Binary

A

Base 2

Represented in 1’s and 0’s

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

ASCII Codes

A

American Standard Code for Information Interchange

.0 | 48 | A | 65 | a | 97
..1 | 49 | B | 66 | b | 98
.2 | 50 | C | 67 | c | 99
...........................................
.9 | 57 | Z | 90 | z | 122

(Character | Code)

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

The ASCII character set uses 7 bits to encode every character. How many characters can be represented?

A

128 Characters

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

Bit Conversions

A
Bit = Binary Digit
8 bits = 1 byte
1000 bytes = 1 kilobyte 10^3
1000 kilobytes = 1 megabyte 10^6
1000 megabytes = 1 gigabyte 10^9
1000 gigabytes = 1 terabyte 10^12
1000 terabytes = 1 petabyte 10^15
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Binary Addition

A

0 + 1 = 1
1 + 0 = 1
1 + 1 = 1 0 (Carries the one)
1 + 1 + 1 = 11

. 00001111 (15)
+00001111 (15)
—————-
00011110 (30)

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

Signed

Unsigned

A

Signed - Can be negative or positive

Unsigned - Always positive

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

Multiply in Binary

a) 3 x 6
b) 5 x 11
c) 13 x 21

A

a) ‭0001 0010‬
b) ‭0011 0111‬
c) ‭0001 0001 0001‬

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

Subtract in binary

a) 10 - 5
b) 4 - 7
c) 11 - 13

A

a) 000 1010
b) 1111 1101 (Signed)
d) ‬ 1111 1110 (Signed)

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

What is the range of unsigned numbers?

A

0 - 255

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

What is the range of signed numbers?

A

-128 - 127

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

How to multiply any binary number by 2?

A

Shift the binary number to the left by one

Add a zero

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

How to divide any binary number 2?

A

Shift binary number to the right by one

Take away a zero, if there is a one, put a decimal point in between

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

What are these number types:

ℤ, ℕ, ℚ, I, ξ, ℝ

A

ℤ - Integer (Whole numbers)
ℕ - Natural Number (Whole numbers => 0)
ℚ - Rational Number (Can be in a fraction or ratio)
ℝ - Real Numbers (All numbers excluding imaginary)

I - Irrational Number (Cannot be a fraction or ratio)
ξ - Ordinal Number (A number used to identify position like in arrays)

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