Data Representation Flashcards
What component processes data in a computer?
Logic gates
Where is data in a computer stored temporarily?
A register
What is the range of the hexadecimal number system?
0-9 and A-F
Convert 13 to binary.
1101
What is the maximum binary length?
16-bits
Convert 10010110 t denary and hexadecimal.
150 denary
96 hexadecimal
Convert 01100011 to denary
99
Are there decimals in number systems?
No.
Convert 201 base 10 to hexadecimal.
C9
Why must all data be converted to binary when going into a computer?
A computer can only process binary data.
Convert 5E to denary
94
Convert A2 to a binary number
10100010
How is the use of hexadecimal beneficial? [3]
- it is a shorter way of representing binary.
-it is easier for humans to understand than binary. - it is easier to debug and locate errors in data.
Where is hexadecimal used in computer science? [4]
- ASCII/Unicode
- MAC address
- IP address
- representing colour values in HTML/CSS
- assembly language
Add 10010100 to 00011110.
10110010
Why can computers only use binary?
Computers only understand binary data which uses 1’s and 0’s rather than analogue data.
When does an overflow error occur?
An error that occurs when a number larger than a register can store is generated/returned.
How does the computer know the largest amount of bits it can store?
It has a predefined limit.
What is the effect of one logical shift to the left?
The number is multiplied by 2.
What is the effect of a logical shift to the right?
The number i divided by 2.