Week1 Tutorial Chapter1 With Solution
Week1 Tutorial Chapter1 With Solution
COMPOSITION
Course Information
1. Solution
Tutorial/Lab
5
1. Solution
Tutorial/Lab
6
2. Solution
Tutorial/Lab
8
2. Solution
Tutorial/Lab
9
2. Solution
Tutorial/Lab
10
3. Solution
Tutorial/Lab
12
3. Solution
Tutorial/Lab
13
4. Solution
Tutorial/Lab
15
4. Solution
Tutorial/Lab
16
5. Solution
Tutorial/Lab
18
5. Solution
Tutorial/Lab
19
5. Solution
Tutorial/Lab
20
6. Solution
a. E=1110B
b. 1C=00011100B
c. A64=101001100100B
Tutorial/Lab
22
6. Solution
With C++
Tutorial/Lab
23
7. Solution
64-bit
Parallel transmission bits at the same time/moment at
most on the bus
Tutorial/Lab
25
8. Solution
64GB
64*2^30 Bytes
64*2^30 locations
Tutorial/Lab
27
9. Solution
Bit(0 or 1)
Byte(8 bits)
Word(16 bits)
Double word(32 bits).
Tutorial/Lab
29
10. Solution
1K=2^10
1M=2^20
1G=2^30
1T=2^40
Tutorial/Lab
31
11. Solution
Tutorial/Lab
33
12. Solution
Tutorial/Lab
35
13. Solution
Tutorial/Lab
37
14. Solution
Because of the virtual address mode of CPU to access
memory
The virtual address in the figure is not 64-bit physical
address, but 32-bit virtual/linear address.
Tutorial/Lab
39
15. Please tell the size and range for different data
types of integer in language C with your
computer?
Tutorial/Lab
40
15. Solution
Type on 16-bit computer
Tutorial/Lab
41
15. Solution
Type on 32-bit computer
Tutorial/Lab
42
16. Please tell the size and range for different data
types of character in language C with your
computer?
Tutorial/Lab
43
16. Solution
Type on 16-bit computer
Tutorial/Lab
44
16. Solution
Type on 32-bit computer
Tutorial/Lab
45
17. Please tell the size and range for different data
types of float in language C with your computer?
Tutorial/Lab
46
17. Solution
Type on 16-bit computer
Tutorial/Lab
47
17. Solution
Type on 32-bit computer
Tutorial/Lab
48
18. Solution
A-Z, 41H-5AH
a-z, 61H-7AH
The difference between the ASCII code of lower-case
letter and upper-case letter is 61H-41H=20H=32 in
decimal
Tutorial/Lab
50
18. Solution
Tutorial/Lab
51
18. Solution
Tutorial/Lab
52
19. Solution
It is possible.
It usually depends on computer operation system or
compiler
Tutorial/Lab
54
20. Solution
Software has not been updated/developed
Tutorial/Lab
56
21. Solution
The virtual address could be different bits even for the
same computer, because of different compilers.
The virtual address could usually be 32-bit, 48-bit, or
64-bit.