Warm Up
1. A computer of that the operation may be re-purposed is called a programmable computer.
2. Arithmetic and Logic Unit (ALU) is a major component of a programmable computer which execution instructions.
3. Memory is a component that supports store data , _______________ and overwrite a previously stored
data.
4. __________ and ___________ are two components that connect the programmable computer and the
outside world.
5. The ALU and the programmable computer uses __________ ____________ to code data in electrical
signals.
6. The ALU uses ____________ ______________ ______________ to code numbers for arithmetic and logic
operations.
7. The ALU uses _________ ___________ __________ _____________ for addition and subtraction of
positive and negative numbers. Two's complement binary representation is a variant of binary numeral
system.
1. programmable
2. Arithmetic and Logic Unit
3. retrieve data
4. Input, output
5. digital representation
6. binary numeral system
7. two's complement binary representation
Get Real
1. Convert the following positive binary numbers into decimal.
a. 1010 1010
b. 0011 0011
c. 0000 0000
a.1010 1010 = 1x2 7 +0x2 6 +1x2 5 +0x2 4 +1x2 3 +0x2 2 +1x2 1 +0x2 0 = 128+0+32+0+8+0+2+0 = 170
b. 0011 0011 = 0x2 7 +0x2 6 +1x2 5 +1x2 4 +0x2 3 +0x2 2 +1x2 1 +1x2 0 = 0+0+32+16+0+0+2+1 = 51
c. 0000 0000 = 0x2 7 +0x2 6 +0x2 5 +0x2 4 +0x2 3 +0x2 2 +0x2 1 +0x2 0 = 0
沒有留言:
張貼留言