review.pdf - CS 211 Final Review May 2 2019 Computer organization Von Neumann machine 1 Where do hardware and software meet Instruction set

review.pdf - CS 211 Final Review May 2 2019 Computer...

This preview shows page 1 - 44 out of 183 pages.

CS 211 Final Review May 2, 2019
Image of page 1
Computer organization
Image of page 2
Von Neumann machine 1
Image of page 3
Where do hardware and software meet? Instruction set architecture (ISA): native data types instructions interrupt / exception handling I/O 2
Image of page 4
Where do software and software meet? 3
Image of page 5
Where do software and software meet? 4
Image of page 6
Hardware components 5
Image of page 7
CPU execution 6
Image of page 8
Memory layout 7
Image of page 9
Arithmetic
Image of page 10
Number systems Binary – 0b10110101 Octal – 0o265 Decimal – 181 Hexadecimal – 0xb5 8
Image of page 11
Powers of 2 Power of 2 Value 2 0 1 2 1 2 2 2 4 2 3 8 2 4 16 2 5 32 2 6 64 2 7 128 2 8 256 2 9 512 2 10 1024 Power of 2 Value 2 10 1024 2 11 2048 2 12 4096 2 13 8192 2 14 16,384 2 15 32,768 2 16 65,536 2 17 131,072 2 18 262,144 2 19 524,288 2 20 1,048,576 9
Image of page 12
Number conversions Binary octal Binary decimal Binary hex Decimal binary Hex binary Hex decimal Octal binary Octal decimal 10
Image of page 13
Binary octal 1101001011100111 001 101 001 011 100 111 1 5 1 3 4 7 0o151347 11
Image of page 14
12
Image of page 15
Binary hex 1101001011100111 1101 0010 1110 0111 d 2 e 7 0xd2e7 13
Image of page 16
14
Image of page 17
Hex binary 0xd2e7 d 2 e 7 1101 0010 1110 0111 1101001011100111 15
Image of page 18
Hex decimal 0 xd 2 e 7 = 13 · 16 3 + 2 · 16 2 + 14 · 16 1 + 7 · 16 0 = 13 · 4096 + 2 · 256 + 14 · 16 + 7 · 1 = 53248 + 512 + 224 + 7 = 53991 16
Image of page 19
Hex decimal (alternate method) 0 xd 2 e 7 = 0 xd 2 · 256 1 + 0 xe 7 · 256 0 = 210 · 256 1 + 231 · 256 0 = 210 · 256 + 231 · 1 = 53760 + 231 = 53991 17
Image of page 20
Image of page 44

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture