พบครู ภาษาอังกฤษ คน
Minhi
Does "8 bit quantities" mean '8 digit quantities'?
Suppose we're working with 8 bit quantities (for simplicity's sake) and suppose we want to find how -28 would be expressed in two's complement notation. First we write out 28 in binary form.
00011100
20 ม.ค. 2016 เวลา 7:41
คำตอบ · 5
1
"Does "8 bit quantities" mean '8 digit quantities'?"
digit == numerals 0 to 9 in the decimal system.
bit = digits 0 or 1 in the binary system.
Although the binary "bit" is a subset of the decimal digit, strictly speaking "8 bit quantities" are not "8 digit quantities", because the two terms refer to two different numeral systems. Here is a random 8 bit quantity (0111 1010) and an 8 digit quantity(21,364,759).
The range of integers represented by 8 bits can be 0 (0000 0000) to 255 (1111 1111) for unsigned integers, or from -128( 1000 0000) to 127(0111 1111) for signed integers.
21 มกราคม 2016
1
The answer is both yes and no.
A bit is a binary digit (base 2, or I think they're calling it "two's complement notation" here) and has either the value 0 or 1. In this case, the quantity 28 in base 10 "translates" to 11100 in the binary number system.
Computers like chunks of 8 bits -- called a byte -- so the first three zeroes are placeholders to make a complete byte of 8 bits.
Obviously the sequence 00011100 is also "eight digits" in a very literal sense, but the text is clearly talking about computer language.
Is that confusing enough? ;-)
20 มกราคม 2016
1
It means quantities that can be expressed with 8 bits, i.e. 8 *binary* digits (0 or 1). So that's the range from 0 to 127.
20 มกราคม 2016
Ah sorry, I misread your title. My mistake.
20 มกราคม 2016
If you want your English to be corrected, I'm happy to say there are no mistakes here. If you want someone to check your math, you might be in the wrong place, however :)
20 มกราคม 2016
ยังไม่พบคำตอบของคุณใช่ไหม
เขียนคำถามของคุณเพื่อให้เจ้าของภาษาช่วยคุณ!
Minhi
ทักษะด้านภาษา
ภาษาจีน (กลาง), ภาษาเกาหลี
ภาษาที่เรียน
ภาษาจีน (กลาง)
บทความที่คุณอาจชอบ

How to Read and Understand a Business Contract in English
3 ถูกใจ · 0 ความคิดเห็น

6 Ways italki Can Help You Succeed in Your School Language Classes
8 ถูกใจ · 6 ความคิดเห็น

The Power of Storytelling in Business Communication
46 ถูกใจ · 13 ความคิดเห็น
บทความเพิ่มเติม