Chapter 01 Checkpoints Flashcards
1.1 Why is the computer used by so many different people, in so many different professions?
1.1 Because the computer can be programmed to do so many different tasks.
1.2 List the five major hardware components of a computer system.
1.2 The Central Processing Unit (CPU), main memory, secondary storage devices, input devices, output devices.
1.3 Internally, the CPU consists of what two units?
1.3 Arithmetic and Logic Unit (ALU), and Control Unit
1.4 Describe the steps in the fetch/decode/execute cycle.
1.4 Fetch: The CPU’s control unit fetches the program’s next instruction from main memory. Decode: The control unit decodes the instruction, which is encoded in the form of a number. An electrical signal is generated. Execute: The signal is routed to the appropriate component of the computer, which causes a device to perform an operation.
1.5 What is a memory address? What is its purpose?
1.5 A unique number assigned to each section of memory.
1.6 Explain why computers have both main memory and secondary storage.
1.6 Program instructions and data are stored in main memory while the program is operating. Main memory is volatile, and loses its contents when power is removed from the computer. Secondary storage holds data for long periods of time?even when there is no power to the computer.
1.7 What are the two general categories of software?
1.7 Operating Systems and Application Software
1.8 What fundamental set of programs control the internal operations of the computer’s hardware?
1.8 The operating system
1.9 What do you call a program that performs a specialized task, such as a virus scanner, a de-compression program, or a data-backup program?
1.9 A utility program
1.10 Word processing programs, spreadsheet programs, e-mail programs, Web browsers, and game programs belong to what category of software?
1.10 application software
1.11 What is an algorithm?
1.11 A set of well-defined steps for performing a task or solving a problem.
1.12 Why were computer programming languages invented?
1.12 To ease the task of programming. Programs may be written in a programming language, and then converted to machine language.
1.13 What is the difference between a high-level language and a low-level language?
1.13 A low-level language is close to the level of the computer, and resembles the system?s numeric machine language. A high-level language is closer to the level of human readability, and resemble natural languages.
1.14 What does portability mean?
1.14 That a program may be written on one type of computer and run on another type.
1.15 Explain the operations carried out by the preprocessor, compiler, and linker.
1.15 The preprocessor reads the source file searching for commands that begin with the # symbol. These are commands that cause the preprocessor to modify the source file in some way. The compiler translates each source code instruction into the appropriate machine language instruction, and creates an object file. The linker combines the object file with necessary library routines.