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 Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s