CSE100 Quiz Number 1

10 minutes, no notes

<quiz>

  1. The IP address for Snyder’s office Macintosh is 128.95.1.207, while its host name is spiff.cs.washington.edu. Briefly state the phenomenon illustrated by these two names and say what connects them.
  2. Answer: The phenomenon is the physical/logical separation of Internet addresses. The physical form refers to the form used in the implementation; the logical form refers to our concept of the Internet, as a hierarchy of domains. These two forms are connected by the DNS, domain name server (or service).

  3. Give the five steps of the fetch/execute cycle.
  4. Answer: The five steps interpret a program’s instructions stored in memory using the PC as the pointer to the currently executing instruction.

    Fetch an instruction from the memory address PC.

    Decode the instruction to find out what operations are to be performed.

    Fetch the data needed for performing the instruction.

    Execute the operations specified by the instruction.

    Increment or otherwise set the PC to refer to the next instruction.

  5. It is essential to programming, it has a value and it has a name. In most computer languages the name must begin with a letter. What it is?
  6. Answer: A variable.

  7. If, following the style of the hypertext markup language, this quiz is started with the red text shown above, how should it end?

Answer: </quiz>