Name:_______________________
Math 1310 – Technical Math for IT
Set:_________________________
ASSIGNMENT 2 – 41 MARKS
Due: Start of class, Set A (Sep 29), Set B and C (Oct 3)
♦ All work must be done individually. Any evidence of copying will result in zero for all involved.
♦ To receive any credit whatsoever, your answers must be neat and legible. Add brief explanatory comments as
necessary to make sure your answers are clear and unambiguous to the grader. When you solve a problem,
show all the steps as is done in class. No marks are given for just the answer. BUT: work need not be
shown for basic conversions between decimal and binary/hexadecimal.
This is how I mark this assignment:
50 percent: I will scan all the questions to see they are solved or not. This part includes the
question in the next part.
50 percent: I select one or two questions randomly and mark them in detail. If you didn’t submit
that specific question, you will lose this 50 percent, even if all other questions are answered
correctly.
Place all answers on THIS sheet as directed and attach your work showing all
intermediate steps for full credit.
1. [15] Use an 8-bit representation to write the following decimal numbers in each of the listed
representations, where possible. Indicate if it is not possible to represent the number in a particular
representation.
Decimal Unsigned Signed Ones Twos
Bias 127
Number Binary Magnitude Complement Complement
0
53
128
- 69
– 128
– 53
Math 1310 – Technical Math for IT
2. [15] Find the decimal number represented by each of the following binary expansions when they
are interpreted in the given representations.
Binary Unsigned Signed Ones Twos
Bias 127
Expansion Binary Magnitude Complement Complement
0101 0001
1111 1111
1000 0000
0000 0000
1010 1010
1000 0001
3. [6 marks] On a separate piece of paper, set out the following items for each of the four arithmetic
operations labeled (a) through (c) below in a step-by-step well-organized fashion.
i. rewrite the operation as an addition, and state the decimal result of the operation
ii. demonstrate the conversion of the two values to be added into 8-bit twos complement binary
form
iii. demonstrate the addition of the binary numbers, including carries
iv. comment on whether or not overflow has occurred by citing the appropriate evidence
(a) 6910 + 10710 (b) -4710 – 4910 (c) 10310 - 4010
4. [5 marks] Repeat the steps listed for each part of Question 3 for the calculation
415510 - 1170010
but use 16-bit twos complement binary form.