Topic 1-Data Representation Flashcards
1 Byte(B) equals to
8 bits(b)
Bit
one binary digit
Nibble
4 bits
Byte
8 bits
Word
16/32/64 bits
Kilobye(KB)
1024 bytes
Megabyte(MB)
1024 KB
GIgabyte(GB)
1024 MB
Terabyte(TB)
1024 GB
Petabyte(PB)
1024 TB
0+0=
0
1+0=
1
0+1=
1
1+1=
0, carry the 1 to the left
1+1+1=
1, carry the 1 to the left
1010+1001=
10011
101101+111101=
1101010
What number system do these facts describe: 0 or 1(2 digits) - base 2 - Used by computers - Uses more digits for the same number
Binary
Name 4 facts about the denary number system
0, 1, 2, 3, 4, 5, 6, 7, 8, 9(10 digits) - Base 10 - Used by humans - Uses less digits for the same number
a bit is either a _ or a _
1 or 0
Binary digit can be shortened to
bit
The smallest piece of computer memory is
a bit
A single 1 or 0 is called a
bit
Computers convert ____ data to ____ data
analogue to digital
How many megabytes in a gigabyte?
1024 MB
what comes after Kilobyte?
megabyte
One Byte can store a single ___
character
?
?
32
16
8
?
2
?
1, 4, 64, 128
0+0+0=
carry 0, sum 0
0+0+1=
carry 0, sum 1
0+1+0=
carry 0, sum 1
0+1+1=
carry 1, sum 0
1+0+0=
carry 0, sum 1
1+0+1=
carry 1, sum 0
1+1+0=
carry 1, sum 0
What is the logical (binary) shift?
Moving the binary number to the left/right. Each shift left is equivalent to multiplying the binary number by 2 and each shift right is equivalent to dividing the binary number by 2.
10010101 in a denary number
149
how to convert from denary to binary
- keep dividing by 2
- use INTEGERS only
- write down the REMAINDERS
- write the remainders from BOTTOM to TOP
177 in a binary number
10110001
what is two’s complement for?
to convert negative denary numbers
name 4 facts about the hexadecimal system
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A(10), B(11), C(12), D(13), E(14), F(15) (16 digits) - Base 16 - FOUR binary digits are equivalent to each hexadecimal digit
1 1 1 1 =
F, 15
0 1 0 0 =
4, 4
how to convert from Binary to Hexadecimal:
- from RIGHT to LEFT, split the binary into groups of 4 BITS.
- write BASE 2 headings(8, 4, 2, 1) for each group of bits.
- work out the DECIMAL value for each group.
- replace any value above 9 with its HEX code.
1011010101 in HEX code=
2D5
how to convert from Hexadecimal to Denary:
- write the Base 16 headings(256, 16, 1).
- Multiply out(HEADING x HEX code).
define MEMORY DUMP
when the memory contents are output to a printer or monitor