FIT1047 Lecture Notes - Lecture 1: Negative Number, Moodle
Week 1
Carsten.rudolph@monash.edu
Guido.tack@monash.edu
5% Moodle Quizzes (complete before Tuesday lecture
45% Assignments
• 20 April
• 18 May
50% Exam
Passing mark (all required):
• 40% in exam
• 40% in non-examination assessment
• 50% overall
Tuesday, 27 February 2018
9:28 AM
Numbering systems
• Distinguished by base [base 10]
Computers use base 2. (Binary)
Hexadecimal you can separate 4 bits and change that to binary.
Numbers go from 0-9, and then continues with letters up to F (15)
N bit is 2^n numbers
3 bits is 2^3-1=7
5 bits is 2^5-1 = 31 31
Adding binary numbers
0+0 = 0
0+1 = 1
1+0 = 1
1+1 = 10
Sign (positive/negative)
First number of the bit is taken as the sign
Eg.
00001000
10001000
^first number is sign, rest is magnitude
find more resources at oneclass.com
find more resources at oneclass.com