A First Book of ANSI C 4e Gary Bronson (Test Bank All Chapters, 100% Original Verified, A+ Grade) 1 / 4
Chapter 1: Introduction to Computer Programming
TRUE/FALSE
- The smallest and most basic data item in a computer is a byte.
ANS: F REF: 6
- Main memory is volatile; whatever is stored in it is lost when the computer’s power is turned off.
ANS: T REF: 8
- The ALU of a computer directs and monitors the overall operation of the computer.
ANS: F REF: 8
- CPUs are constructed as a single microchip, which is referred to as a microprocessor.
ANS: T REF: 9
- A direct access storage device (DASD) allows a computer to read or write any one file or program
independent of its position on the storage medium.
ANS: T REF: 10
- A floppy disk consists of either a single rigid platter or several platters that spin together on a common
spindle.
ANS: F REF: 10
- Initially, the most common magnetic disk storage device was the removable floppy disk.
ANS: T REF: 10
- Compiling is the process of writing instructions in a language that the computer can respond to and
that other programmers can understand.
ANS: F REF: 12
- The set of instructions that can be used to construct a program is called a programming language.
ANS: T REF: 12
- Executable programs are always written as a sequence of binary numbers, which is a computer’s
internal language, and are also referred to as machine language programs.
ANS: T REF: 13
- Both machine and assembly languages are classified as high-level languages; this is because both of
these language types use instructions that are directly tied to one type of computer.
ANS: F REF: 13 2 / 4
- When each statement in a high-level source program is translated individually and executed
immediately upon translation, the programming language is called an compiled language.
ANS: F REF: 14
- The output produced by the compiler is called an executable program, which is a machine language
version of the source code.
ANS: F REF: 14
- In a procedural language, the available instructions are used to create self-contained units, referred to
as procedures.
ANS: T REF: 15
- In C, a procedure is referred to as a method.
ANS: F REF: 15
- Application software consists of programs written to perform particular tasks required by users.
ANS: T REF: 16
- System software is the collection of programs that must be readily available to any computer system to
enable the computer to operate.
ANS: T REF: 16
- The ALU is internally contained in ROM and is a permanent, automatically executed component of
the computer’s system software.
ANS: F REF: 16
- Operating systems that permit each user to run multiple programs are referred to as multiuser systems.
ANS: F REF: 16
- Converting an algorithm into a computer program, using a language such as C, is called coding the
algorithm.
ANS: T REF: 20
- The program instructions resulting from coding an algorithm are referred to as pseudocode.
ANS: F REF: 20
- The technique used by professional software developers for understanding the problem that is being
solved and for creating an effective and appropriate software solution is called the software systems approach.
ANS: F REF: 24
- / 4
- A statement of a problem or a specific request for a program, is referred to as a program requirement.
ANS: T REF: 24
- A first-level structure diagram for an algorithm represents the first attempt at an initial, but not yet
sufficiently detailed, structure for a solution algorithm.
ANS: T REF: 27
- A top-down algorithm development starts at the topmost level and proceeds to develop more and more
detailed algorithms as it proceeds to the final set of algorithms.
ANS: T REF: 27
MULTIPLE CHOICE
- Collectively, the components used to make a computer are referred to as ____.
- algorithms c. hardware
- programs d. software
ANS: C REF: 5
- The grouping of 8 bits to form a larger unit is an almost universal computer standard and is referred to
- byte c. word
- character d. opcode
as a ____.
ANS: A REF: 7
- The collections of patterns consisting of 0s and 1s used to represent letters, single digits, and other
- bytes c. words
- character codes d. opcodes
single characters are called ____.
ANS: B REF: 7
- Main memories combine 1 or more bytes into a single unit, referred to as a(n) ____.
- bit c. opcode
- character d. word
ANS: D REF: 8
- The ____ of a computer performs all of the computations, such as addition, subtraction, comparisons,
- control unit c. ALU
- CPU d. main memory unit
and so on, that a computer provides.
ANS: C REF: 8
- A(n) ____ is a structured combination of data and instructions that is used to operate a computer and
- programming language c. algorithm
- opcode d. computer program
produce a specific result.
ANS: D REF: 12
- / 4