xiaolunlun 10 發表於 September 30, 2007 檢舉 Share 發表於 September 30, 2007 i have some problem with my IT projects , anyone know or studying IT ? pls help me thanks ====1/ Perform the following base conversion , showing all workingsa / 3345 hexadecimal to denaryb/ 5714 octal to hexadecimal c/ 5971 denary ro binaryd / evaluate F9D + 56A , showing all working notice : F9D , 56A are hexadecimal =========pls help me , thanks i dun know how to do T_T 鏈接文章 分享到其他網站
andertlin 10 發表於 September 30, 2007 檢舉 Share 發表於 September 30, 2007 二進位就是只有0和1,超過1就前進一個digit...以此類推八進位只有0到7,超過7就前進一個digit16進位超過0-9所以加入ABC...這是很基礎的東西,看看課本還是講義應該就可以搞懂了吧... 鏈接文章 分享到其他網站
MikiRei 10 發表於 October 1, 2007 檢舉 Share 發表於 October 1, 2007 Errrrrm - yeah - this is....basic....very basic.Google a bit - there's plenty of tutorials online. You can even use google calculator and they convert for you:pIn fact *sigh* - here it is:http://www.permadi.com/tutorial/numHexToDec/index.htmlhttp://www.purplemath.com/modules/numbbase3.htmDecimal to binary is REALLY easy. I'll show you converting 12 to binary.12 = 2 * 6 remainder 06 = 2 * 3 remainder 03 = 2 * 1 remainder 11 Therefore, 12 in binary is 1100 (ie. combine the remainders from bottom up). It's not hard at all.For hexadecimal arithmetic, it's exactly the same as what you will do in decimals except you do it in base 16. (well - duh)So the normal arithmetic in decimal goes as follows:12 + 19:Firstly, from the ones, 2 + 9 = 11. Since you're in base 10, you promote one 10 to the tens.Hence, in the tens, the arithmetic is 1 + 1 + (the promoted 1) = 3.Therefore, the answer is 31. Ok - I know - this is primary stuff so I shouldn't need to explain this but this is to just put you in the correct mode of thinking.Now, for hexadecimal, it's EXACTLY THE SAME, but you're doing it in 16So, we'll do 0x18 + 0x8 (the 0x means hexadecimal. So you should of wrote your question F9D + 56A as 0xF9D + 0x56A )So, again, we first start with the ones, 8 + 8 = 16. Now, since we're in base 16, this is exactly the same as saying 5 + 5 = 10 (well - not really - I meant the concept is the same). In decimal's case, 5 + 5 = 10, you promote the 10 to the next unit. So, back to our hexadecimal8 + 8 = 16. Since we're in base 16, we promote a 1 to the tens unit (well, in this case, it would be called the sixteens unit :p).Now, the arithmetic for the tens (or rather, the sixteens unit) 1 + (the promoted 1 from the ones unit) = 2Therefore, the answer is 0x20I'll do another example.0xFD + 0x2D.So, first the arithmetic for the ones unit:D + D = 13 + 13 = 26. Now for 26, there's one 16 in there. Take away 16 from 26, you are left with 10. Promote that sixteen to the next unit.So, for the arithmetic in the tens unit:F + 2 + (the promoted 1) = 15 + 2 + 1 = 18. Now, again, take away 16 from 18 and you're left with 2. Promote the 16 to the next unit.Therefore, the answer is 12 and 10. But 10 in hex is A. Therefore, the final answer is 0x12AI hope you can understand this. It's much better when I can demonstrate on paper.General note - don't think it's something crazy from planet X. It's EXACTLY THE SAME as doing arithmetic in decimals. The only difference is, you're using a different base. 鏈接文章 分享到其他網站
xiaolunlun 10 發表於 October 1, 2007 作者 檢舉 Share 發表於 October 1, 2007 thansk so , i know how to do now . thanks a lot . i hope i can pass my exam T_T 鏈接文章 分享到其他網站
xiaolunlun 10 發表於 October 2, 2007 作者 檢舉 Share 發表於 October 2, 2007 谢谢。。。不好意思。 目前本人学校打不出繁体的。 鏈接文章 分享到其他網站
MikiRei 10 發表於 October 3, 2007 檢舉 Share 發表於 October 3, 2007 No matter. If you can read traditional, simplified isn't hard to work out. 鏈接文章 分享到其他網站
Recommended Posts
請登入後來留意見
在登入之後,您才能留意見
立即登入