Data Representation Homework Exercise

Homework

1. Write a paseudocode algorithm when given a number X, outputs the binary equivalent. [3 marks]

2. using a similar method demonstrated in class today, show the 8bit twos complement subtraction of 7 and 6. [3 marks]

3. Show the octal representation of  6  and 3. [4 marks]

© 2023  Vedesh Kungebeharry. All rights reserved. 

Leave a comment