CS 231 - Micro Electronics
Review for First Test
The following questions are provided to help you study for
the first test. Do not expect to see these exact questions on the test.
- Why can we say that a computer has to accept numeric inputs?
- In the general definition of a computer, what is meant by "computational functions"?
- Charles Babbage designed at least three computing devices. Which one was eventually built?
- What evolutionary change in the design of computing devices took place around the time of World War II?
- What is the difference between a general-purpose processor
and a special-purpose processor? Which would be considered to be more
- What is the difference between an instruction and a program?
- What is the difference between a formula and an algorithm?
- What programming structure is being used when a program executes a series of instruction in set order?
- What programming structure is being used when a program makes a decision about what to do next based on the value of an input?
- What programming structure is being used when a program
makes a decision to run a portion of itself repeatedly until some
condition tells it to stop doing so?
- Name three common input devices and three common output devices.
- What does chapter 2 tell us the three major components of a Central
Processing Unit are?
- What differences distinguish registers, primary storage, and secondary storage from each other?
- The text presents us with five classes of computer systems.
What is the main difference from one class to another as we go from the
lowest to the highest?
- How is a cluster similar to a grid? How are they usually different?
- What are the base numbers for the binary, octal, decimal, and hexadecimal systems? What are the digits used in each one?
- In decimal notation, we call the character that separates the fractional portion of a number from its integer portion a decimal point. What does chapter 3 call such a character when it is used in binary or hex notation?
- While we are on the subject, what is an integer? What might we call a number that includes a fractional portion, such as 7.25?
- Name three other primitive data types from chapter 3.
- Convert the decimal number 162 to binary notation without using a calculator.
- Add the binary number 1101 to the binary number 1011. What is the
sum, in binary, of those numbers?
- Assume you have the binary number 11000. What is the simple way to convert this to hex notation, and what is the answer?
- Given the questions above, which of the named number systems seems to be the most compact?
- What are the three character code systems discussed in
class? Which do you think is used by the fewest computers? What is the
disadvantage of the one that is used to display the greatest number of
- What is generally used to create a data structure?
- What kind of variable in a program commonly holds the
address of another variable? Why is this a useful kind of variable to
- What are the general characteristics of an array? How is it
different from a linked list? How is it more manageable than a linked
- What distinguishes a doubly linked list from a linked list and from an array?
- What does the text call a data structure that is composed of other data structures?
- What feature does a class have that distinguishes it from simpler structures?
- What is the essence of what a CPU does in a fetch cycle? Which elements of the CPU are involved?
- How is a fetch cycle different from an execution cycle? Which elements of the CPU are involved?
- What may an instruction contain in addition to a command to be processed?
- What is the difference between an addend and an operand?
- What is the difference between the data movement commands load and store? How are they both different from the move command?
- What would be the result of processing the NOT command against the binary string 11000101?
- Assume we are evaluating two bits with the Boolean AND
instruction. Which combinations of bits produce a True result, and
which combinations produce a False result?
- What is the difference between an evaluation of two bits with the
OR instruction and with the XOR instruction?
- How might a user trigger an unconditional branch in the code of an
application that user is currently running?
- What is a hertz? What is a megahertz? What is a gigahertz?
What system component does chapter 4 mention that is measured in these
- What is pipelining, with regard to instructions being executed by a CPU?
- What does branch prediction have to do with pipelining?