Binary, Hexidecimal, Bytes And Words Flashcards

1
Q

Two states a memory location can be in

A

1 and 0

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

What does bits stand for

A

Binary digITS

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

What are bits

A

The fundamental unit of data storage in a computer

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

How many bits make up a byte

A

8 bits

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

What are bytes

A

The smallest addressable units of memory storage

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

To what base is the decimal number system

A

10

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

What are the digits in the decimal number system,

A

0-9

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

What is the most significant number in a number that contains multiple digits

A

The leftmost digit

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

What is the least significant digit in a number which has multiple digits

A

The rightmost digit (@x10^0)

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

To what base is the binary numeral system

A

Base 2

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

Why is the decimal numeral system to the base 10

A

Because there are 10 possible digits that we can use

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

Why is the binary numeral system to the base 2

A

Because there are 2 possible digits that can be used

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

how to convert a binary number to it’s decimal equivalent

A

for each digit, muktiply it by 2^x, x being the position it holds in the number

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

how to convert a decimal to its binary equivalent

A

divide by two and keep the remainder, keep dividing the answer by 2, read the remainders upwards

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

to what base is the hexidecimal numeral system

A

16

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

what are the 16 symbols in hexadecimal

A

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

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

why is hexadecimal system useful

A

16 is a power of 2, so one hex digit corresponds to exactly 4 bits, making conversion easy

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

decimal 0 in binary

A

0000

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

decimal 1 in binary

A

0001

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

decimal 2 in binary

A

0010

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

decimal 3 in binary

A

0011

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

decimal 4 in binary

A

0100

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

decimal 5 in binary

A

0101

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

decimal 6 in binary

A

0110

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
decimal 7 in binary
0111
26
decimal 8 in binary
1000
27
decimal 9 in binary
1001
28
decimal 10 in binary
1010
29
decimal 11 in binary
1011
30
decimal 11 in hex
B
31
decimal 10 in hex
A
32
decimal 12 in binary
1100
33
decimal 12 in hex
C
34
decimal 13 in binary
1101
35
decimal 13 in hex
D
36
decimal 14 in binary
1110
37
DECIMAL 14 in hex
E
38
decimal 15 in binary
1111
39
decimal 15 in hex
F
40
what do odd numbers in binary end in
1
41
what do even numbers in binary end in
0
42
a binary digit which has three 0s and one 1 is...
a power of 2
43
no base notation, we assume
decimal
44
0x base notation is for
hexadecimal
45
& base notation is for
hexadecimal
46
2_ base notation is for
binary
47
n_ base notatioon is for
base n
48
how to convert between binary and hexidecimal
group bits in 4s from right to left, pad with 0s if necessary, convert each group, add characters
49
how many bits in 1 byte
8 bits
50
how many different values can be represented in 8 bites
2^8=256
51
hwo many bits in a halfword
16 bits
52
how many bytes in a halfword
2 bytes
53
how many bits in a word
32 bits
54
how many bytes in a word
4 bytes
55
how many bytes are in a kilobyte
2^10=1024
56
how many bytes are in a mebibyte
2^20
57
how many bytes are in a gigabyte
2^30
58
place in order from smallest to biggest: bit, mebi/megabyte, kilobyte, word, byte, halfword, gigabyte
``` bit byte halfword word kilobyte megabyte gigabyte ```
59
what are the two larger units used for data rates
1 kilobit | 1 megabit
60
how many bits in a kilobit
1000
61
how many bits in a megabit
1000000
62
how many kilobits in a megabit
1000 KiB
63
how many kilobytes in a megabyte
1024 kB
64
How many mega/mebibytes in a gigabyte
1024 MB
65
how many unique values can be represented using a binary numeral system with 4 bits
2^4 = 16
66
how many unique values can be represented using a binary numeral system with 12 bits
2^12 = 4096
67
how many unique values can be represented using a hexadecimal numeral system with 4 digits
16^4
68
how many unique values can be represented using a hexadecimal system with 6 bits
16^6
69
in the arm architecture, what is the number of unique values that can be stored in a halfword
half word has 16 bits, 2^16
70
in the arm architecture, what is the range of integers that can be stored in a halfword
half word has 16 bits, -2^16.....0.....2^16-1
71
formula for the range of non negative integers can be stored in a n sized storage
0.......[(2^n -1)]
72
how to find out how many binary digits are needed for decimal values
log_2(number) round ceiling