Jump to content

Computing Homework


Camels

Recommended Posts

The following hexadecimal numbers represent 16-bit two’s complement numbers: B13C, 7010, 1FFF, 8A1E, 9000, F73F. Can you tell which ones represent negative numbers?

B13C – 1011000100111100

7010 – 0111000000010000

1FFF – 0001111111111111

8A1E – 1000101000011110

9000 – 1001000000000000

F73F – 1111011111110011

I've got as far as that^ which may even be wrong, anyone know what I have to do next?

I think it's B13C, 8A1E, 900 and F73F but I can't remember how to do it.

Link to comment

i've only learned computing language as far as neccessary for physics which wasn't a lot yet im sure there's some easy way to find your answer=]

Link to comment

The following hexadecimal numbers represent 16-bit two’s complement numbers: B13C, 7010, 1FFF, 8A1E, 9000, F73F. Can you tell which ones represent negative numbers?

B13C – 1011000100111100

7010 – 0111000000010000

1FFF – 0001111111111111

8A1E – 1000101000011110

9000 – 1001000000000000

F73F – 1111011111110011

I've got as far as that^ which may even be wrong, anyone know what I have to do next?

I think it's B13C, 8A1E, 900 and F73F but I can't remember how to do it.

you're right, negative binary numbers start with 1

so it's B13C, 8A1E, 900 and F73F

Link to comment

The following hexadecimal numbers represent 16-bit two’s complement numbers: B13C, 7010, 1FFF, 8A1E, 9000, F73F. Can you tell which ones represent negative numbers?

B13C – 1011000100111100

7010 – 0111000000010000

1FFF – 0001111111111111

8A1E – 1000101000011110

9000 – 1001000000000000

F73F – 1111011111110011

I've got as far as that^ which may even be wrong, anyone know what I have to do next?

I think it's B13C, 8A1E, 900 and F73F but I can't remember how to do it.

you're right, negative binary numbers start with 1

so it's B13C, 8A1E, 900 and F73F

Cheers man ;D

Link to comment

12) Using one byte to hold each number, with an imaginary binary point fixed after the fourth digit, convert the following decimal numbers to binary:

a) 3.75

00111100

b) 5.1875

c) 7.562

d) 7.5627

Any ideas if a) is right? D:

Edited by Camels
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members, 0 Anonymous, 0 Guests

    No registered users viewing this page.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.