Go Back   Computer Forums > Welcome To Computer Forums .org > Social Lounge | Off Topic
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 05-27-2007, 07:01 PM   #1
Beta Member
 
Join Date: May 2007
Posts: 2
Default Computer Science help...2's complement, binary, addition, overflow...etc

Hey,

Im doing another worksheet and I have about 75% of it done, but these are giving me some problems! The book is not very good at explaining things and its an online class! This is just a practice worksheet though...

Can anyone help me with these problems???
  • Convert the number 11 from base 10 to binary
  • Convert from 2's complement to base 10
01111 and 10011
  • Add the 2's comp together...overflow error?
11111 + 00001 = ?
01111 + 00001 = ?
  • Convert binary to base 10
100.0101
  • What is 1/16 in binary?

I will rep anyone who helps out!!!!! Thanks alot!
__________________

BC2210 is offline   Reply With Quote
Old 05-27-2007, 10:10 PM   #2
Golden Master
 
borat_sagdiyev's Avatar
 
Join Date: Feb 2006
Posts: 8,986
Send a message via AIM to borat_sagdiyev Send a message via MSN to borat_sagdiyev
Default Re: Computer Science help...2's complement, binary, addition, overflow...etc

honestly, what is the point of learning this?
__________________

__________________
Core 2 Duo e4500 2.2ghz @ 2.8ghz
evga 650i ultra
2gb 400mhz ram OC'ed to 450
evga geforce 7600GT overclocked
borat_sagdiyev is offline   Reply With Quote
Old 05-27-2007, 10:25 PM   #3
Fully Optimized
 
UK31337's Avatar
 
Join Date: Feb 2005
Posts: 2,776
Default Re: Computer Science help...2's complement, binary, addition, overflow...etc

1) 11 in base 10 is just the number 11. So, in binary it would be 00001011

2) ...

None of the other questions make any sense, TBH; I know the theory but don't understand the questions so can't answer them, I'm afraid. But you got one of them at least.
__________________
Master of common sense. If you don't like it, stop reading.
UK31337 is offline   Reply With Quote
Old 05-27-2007, 10:31 PM   #4
Golden Master
 
borat_sagdiyev's Avatar
 
Join Date: Feb 2006
Posts: 8,986
Send a message via AIM to borat_sagdiyev Send a message via MSN to borat_sagdiyev
Default Re: Computer Science help...2's complement, binary, addition, overflow...etc

here
this is for the converting 1/16 to binary

http://www.everything2.com/index.pl?node_id=1826122
__________________
Core 2 Duo e4500 2.2ghz @ 2.8ghz
evga 650i ultra
2gb 400mhz ram OC'ed to 450
evga geforce 7600GT overclocked
borat_sagdiyev is offline   Reply With Quote
Old 05-27-2007, 10:33 PM   #5
Golden Master
 
borat_sagdiyev's Avatar
 
Join Date: Feb 2006
Posts: 8,986
Send a message via AIM to borat_sagdiyev Send a message via MSN to borat_sagdiyev
Default Re: Computer Science help...2's complement, binary, addition, overflow...etc

100.0101 in base 10 is 69

and 1/16 in binary (when converted to 6.25 decimal number) is 110
__________________
Core 2 Duo e4500 2.2ghz @ 2.8ghz
evga 650i ultra
2gb 400mhz ram OC'ed to 450
evga geforce 7600GT overclocked
borat_sagdiyev is offline   Reply With Quote
Old 05-29-2007, 11:46 AM   #6
In Runtime
 
dan7777's Avatar
 
Join Date: Feb 2007
Posts: 133
Default Re: Computer Science help...2's complement, binary, addition, overflow...etc

Quote:
Originally Posted by BC2210 View Post
  • Convert from 2's complement to base 10
01111 and 10011
01111 = 15
10011 - (-16+3=-13) = -13

I think that's right, I should be more confident really but I'm really tired and a bit rusty with theory.
__________________

__________________
Intel Q6600@2.4Ghz | ASUS P5N32-E SLI PLUS | 2x2GB Buffalo PC26400 Dual Channel | Dual Nvidia GeForce 6800GS @ x16 SLI | 2x250gb 7200RPM Maxtor RAID 1 | OCZ500SXS 500W PSU | NZXT Hush Case | Vista Ultimate 32bit.
dan7777 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 09:43 AM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0