Binary Systems
• Recognise the use of binary numbers in computer systems
• Convert positive denary integers into binary and positive binary integers into denary (a maximum of
16 bits will be used)
• Show understanding of the concept of a byte and how the byte is used to measure memory size
• Use binary in computer registers for a given application (such as in robotics, digital instruments and
counting systems)
1.1.2
Hexadecimal
• Represent positive numbers in hexadecimal notation
• Show understanding of the reasons for choosing hexadecimal notation to represent numbers
• Convert positive hexadecimal integers to and from denary (a maximum of four hexadecimal digits will be required)
• Convert positive hexadecimal integers to and from binary (a maximum of 16 bit binary numbers will be required)
• Represent numbers stored in registers and main memory as hexadecimal
• Identify current uses of hexadecimal numbers in computing, such as defining colours in Hypertext Markup Language
(HTML), Media Access Control (MAC) addresses, assembly languages and machine code, debugging
, hear
burning
• Binary = Computer 1’s + 0’s w/ Base 2 • Base 16
• Denary = English w/ base 10 • Uses 0-9 + A-F
• data + program instructions stored binary Denary 0 1112151415
/Oi23456789ABCDt
I 2 3 4 56 7 8 9 10
• number to left x2
Hex
7- 6 5 4
3 2 1 : Number of bits
Set up : Denary Hex Ivia binary1
***
→
256 128 64 32 16 8 4 2 1
1) 89 12864 3216 8 4 2 I
←
Number of bits
oI = 89 : Denary
Largest representable : 12h ) I -
= 01011001 : Binary
Number of values can be presented : 2
"
%IYIi = 59 : Hexadecimal
Number of bits Largest Representable
number
Number of values can
be represented
-59
128 64 32 16 8 4 2 I
2) 197 o I = 197
8 4 2 I 8 4 2 I =11000101
10110011 →
Denary = CF
-
256 128 64 32 16 8 4 2 1
= 179 12=6 5
*
1 0 1 1 0 0 1 1 in
If there is 1 in code Hex → Denary 1via binary)
= odd number
128T 32+16+2+1 =
HTML colour codes (Hypertext mark-up language)
173 →
Binary • Red, green, blue = each code 3 bytes memory
173/2 = 86r 1 • Each colour there is 0-255 (0-FF)
86/2 = 43r 0 - 000000 : is black (no colour)
RG1X
43/2 = 21r 1 - FFFFFF : is white (all colour)
= 10101101
# OD FF 34
21/2 = 10r 1
10/2 = 5r 0
5/2 = 2r 1
2/2 = 1r 0
1/2 = 0r 1
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through EFT, credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying this summary from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller keiragraville. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy this summary for R144,36. You're not tied to anything after your purchase.