CSE 675: Exams and Homeworks
- In general, the questions will require some type of short discussion answer.
- The most important feature of your answer should be the reasoning behind
your actual answer. I have been known to accept both 'YES' and 'NO' answers
for the same questions, if the reasons given demonstrate an understanding
of the material. I'm not looking for you to regurgitate equations or phrases;
I'm looking for you to demonstrate that you have a grasp of the material by
being able to use it to explain things. Be forewarned: If you just answer
'YES or 'NO' to a question without giving any reasons, I am apt to give you
little or no credit for your answer. Your answer needs to convince me that
you understand the material, not that you can guess what the correct answer
is.
Midterm I Study Guide
The Midterm will cover Chapters 1-4 and Appendix B. Particular readings include:
- Chapter 2 Instructions: (Sections 2.1-2.6, 2.9, 2.17
- Chapter 3 Arithmetic: (Sections 3.1-3.4, 2.6)
- Chapter 4 Performance: (Sections 4.1-4.7)
- Appendix B Logic Design: (Sections B.1-B.5)
- In particular, the Check Yourself questions are rather interesting
- The homework exercises that were assigned for the class should be studied.
- The lecture notes (of course).
Topics
- Instruction Set Architectures
- Two predominant types of ISA's
- CISC
- RISC
- The three types of instructions in the MIPS ISA
- The five addressing modes in the MIPS ISA
- Rational for instruction formats
- Rational for the particular set of instructions
- Why not additional instructions?
- Why not fewer?
- The difference between assembly instructions and machine instructions.
- Updates to the Program Counter (PC)
- Applying the instructions
- User instructions versus kernel instructions
- What are they?
- How is this enforced in hardware?
- Exceptions
- The four types of exceptions
- Loading an exception handling routine.
- Determining the type of exception.
- Returning from the exception handler.
- Pseudo-instructions
- MIPS hardware
- MIP data types
- Registers
- Special constraints, for instance, r0=0
- Size
- Addressing
- The two co-processors
- Registers
- Instructions associated with each
- Memory
- Addressing (byte, word, ...)
- Maximum size
- Instructions for accessing
- Data alignment
- Arithmetic
- MIP data types (again)
- Twos-complement representation
- Integer addition
- Integer subtraction
- Integer multiplication
- Floating point will not be on the exam.
- Performance
- Amdahl's Law
- Clock rate
- CPI
- Throughput versus response time
- Various benchmarks
- Interpreting benchmarks
- Logic Design
- Boolean algebra
- Logic equations
- Laws of boolean algebra
- Truth tables
- Karnough Maps and minimization
- Sum of products form
- Product of sums form
- Basic gates and building blocks
- The two universal gates
- ALU's
- 1-bit ALU
- 32-bit ALU
- Carry-in / Carry-out
- Operations supported
- Control
- Decoders
- Multiplexors
Example problems:
This is incomplete. I will have more exercises in class, but ones from the
book would include:
Last Modified: October
24, 2005