9691 Discussion Group
unread,Aug 15, 2011, 2:01:30 AM8/15/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Computing (9691 CIE Syllabus)
Rule 1:
- Find the binary value of the equivalent positive decimal number.
- Change all the 0s to 1s and all the 1s to 0s.
- Add 1 to result.
Rule 2:
- Starting from right, leave all the digits alone up to and including
the first '1'.
- Change all the other digits from 0 to 1 or from 1 to 0.
Example: -00110100 = 11001100
Practices:
- Covert following to binary: -5, -10, -20
- What is the largest negative number that can be held in 8 bits,
assuming the leftmost bit is a sign bit?