INTRODUCTION TO COMPUTERS
COMPUTER ARCHITECTURE AND ORGANIZATION
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
For an 8 bit signed integer number, the range of integers is
|
-32 to +31
|
|
-128 to +127
|
|
0 to 256
|
|
-64 to +63
|
Explanation:
Detailed explanation-1: -signed integers. An 8-bit unsigned integer has a range of 0 to 255, while an 8-bit signed integer has a range of-128 to 127-both representing 256 distinct numbers. It is important to note that a computer memory location merely stores a binary pattern.
Detailed explanation-2: -byte: The byte data type is an 8-bit signed two’s complement integer. It has a minimum value of-128 and a maximum value of 127 (inclusive).
Detailed explanation-3: -The char type takes 1 byte of memory (8 bits) and allows expressing in the binary notation 2^8=256 values. The char type can contain both positive and negative values. The range of values is from-128 to 127.
There is 1 question to complete.