Lecture 3 Flashcards

1
Q

Which part of the computer does all the calculations, and where is it located?

A
  • ALU
  • In the CPU
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the two main parts of an ALU?

A
  • Integer unit
  • Floating point unit
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Define “carry overflow

A

When the result of a calculation contains too many digits for the hardware.

1001+111010111

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How can you tell if overflow has occurred in Two’s Complement?

A

If two numbers with the same sign are added, then overflow occurs **iff **the result has the opposite sign.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly