[Link]@torontomu.
ca
Homework Assignment 2
ITM207 Computer Enabled Problem Solving
Information Technology Management
Ted Rogers School of Management
Toronto Metropolitan University
Submission Policy
• Submit through D2L (submission through email is not allowed)
• Submit the report as a .docx or pdf file
• Your report should contain your Name and ID
Problem 1: 2x8=16 points
Perform 1’s complement of the following binary numbers. Show detail calculations.
i) 1101 0010
ii) 0010 1110
Problem 2: 2x8=16 points
Perform 2’s complement of the following binary numbers. Show detail calculations.
i) 1101 0010
ii) 0010 1110
Problem 3: 2x8=16 points
Represent -60 (decimal) in binary using - (Show calculations in detail)
i) 8-bits
ii) 6-bits
Problem 4: 2x8=16 points
Perform the following binary addition. Show calculations in detail.
i) 111001 + 101101
ii) 11011001 + 11100011 + 10011
Problem 5: 2x8=16 points
Perform the following binary subtractions. Show calculations in detail.
i) 111001 - 101101
ii) 60 – 120 (use 8 bits)
Problem 6: 2x10=20 points
Convert the following decimal numbers in binary. Show calculations in detail.
i) 17.456 (use 5 bits to represent the fractional part)
[Link]@[Link]
ii) -25.23 (use total 8 bits to represent the integer part including the sign bit. Use 8
bits to represent the fractional part)
Note:
- Late submissions are not allowed. So, submit the homework at least one or two days before the
deadline in order to avoid technical difficulties or unwelcome incidents.
- If you have any question regarding the homework please ask during class sessions or during office
hours. Please do not send emails.