Chapter 1 Review Questions

Chapter 1 Review Questions - Jamel Jenkins CIS 121...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Jamel Jenkins CIS 121 09/09/2008 Chapter 1 Review Questions 1. What is the definition of a digital computer? a. A computer that accepts and processes data that has been converted into binary numbers. 2. What is the definition of a program? a. A sequence of statements whose objective is to accomplish a task. 3. What are the 4 basic computer operations? a. Read data into memory from input devices b. Perform operation including logical, arithmetic and move values c. Control the sequence of operations d. Write output from memory to output devices 4. Name the 6 levels of modern day computers. a. b. Level 1- Micro architecture Level(Micro program, Data path, ALU) c. Level 2-Instruction set of architecture Level(ISA) d. Level 3-Opearating System Level e. Level 4-Assembly Language Level f. Level 5-Program Language Level(Java, C++, C) 5. What functionality does each level of the computer perform? a. Level 0-Is the main hardware and controls the gates and combinations b. Level 1- It fetches examines and executes instructions one by one use the data path that is created from the registers that are connected to the ALU. c. Level 2-It interprets or does direct execution d. Level 3- Some the instructions are then interpreted by the operating system e. Level 4-Programs are translated to the lower levels languages and then interpreted by the actual assembly machine. f. Level 5- Provides data and operations for solving problems in the domain and finishes the translation. 6. Define interpretation and translation and state difference between the two. a. Interpretation- It is when you write a program in Level 0 that takes programs in Level 1 as input data and carries them out by examining each instruction in turn and executing the equivalent sequence of Level 0 instructions directly. It does not require first generating a new program in Level 0. b. Translation- Execute a program in Level 1 first to replace each instruction I it by equivalent sequence of instructions in Level 0. The resulting program consists of Level 0 instructions and the computer then executes the Level 0 program instead of the old Level 0 program. c. The difference is that, in translation, the entire Level 1 program is first converted to an Level 0 program, the L1 program is thrown away and then the new L0 is loaded into the computer’s memory and executed and after each L1 instruction in interpretation it is examined and decoded and it is carried out immediately. 7.
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 4

Chapter 1 Review Questions - Jamel Jenkins CIS 121...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online