, Solution and Answer Guide: Afyouni/Forouzan, Computer Science: A Structured Programming Approach in C, 4e,
©2023, 9780357506134, Chapter 1: Introduction to Computers
Solution and Answer Guide
AFYOUNI/FOROUZAN , C OMPUTER SCIENCE: A STRUCTURED P ROGRAMMING APPROACH IN C, 4e,
©2023, 9780357506134, Chapter 1: I NTRODUCTION TO C OMPUTERS
TABLE OF CONTENTS
Review Questions ........................................................................................................................................ 1
Exercises ......................................................................................................................................................... 6
Problems.......................................................................................................................................................... 9
Note to instructor: It is recommended that students be required to respond, where
appropriate, with answers that are complete sentences.
REVIEW QUESTIONS
1. Computer software is divided into two broad categories: system software and
operational software.
a. True
b. False
Answer: b. False
Feedback: Computer software is divided into two categories: system software and
application software.
2. The operating system provides services such as a user interface, file and database
access, and interfaces to communications systems.
a. True
b. False
Answer: a. True
Feedback: Operating system is the interface between the user and the computer
hardware.
3. The first step in system development is to create a source program.
a. True
b. False
Answer: b. False
Feedback: The first phase in system development is system requirements phase.
,4. The Mprogrammer Mdesign Mtool Mused Mto Mdesign Mthe Mwhole Mprogram Mis Mthe
Mflowchart.
a. True
b. False
Answer: Mb.MFalse
Feedback: M Flowchart M is M a M tool M to M represent M the M flow M of M data M through M a
M program M and M how M it M is M processed.
5. Blackbox Mtesting Mgets Mits Mname Mfrom Mthe M concept Mthat Mthe M program Mis
M being Mtested M without Mknowing Mhow Mit Mworks.
a. True
b. False
Answer:Ma.MTrue
Feedback: M Blackbox M testing M is M a M concept M of M testing M where M the M test
M engineer M and M the M user M perform M the M testing M without M knowing M how M the
M program M is M actually M built.
6. Which Mof Mthe Mfollowing Mis Ma Mcomponent(s) Mof Ma Mcomputer Msystem?
a. Hardware
b. Software
c. Both Mhardware Mand Msoftware
d. Pseudocode
e. System Mtest
Answer: Mc. MBoth Mhardware Mand Msoftware
Feedback: M Pseudocode M is M a M tool M that M describes M in M part M English M the
M algorithm M of M the M program.
7. Which Mof Mthe Mfollowing Mis Mnot Man Mexample Mof Mapplication Msoftware?
a. Database Mmanagement Msystem
b. LanguageMtranslator
c. OperatingMsystem
d. Accounting Msystem
e. Virus Mdetection
Answer:Mc.MOperating MSystem
Feedback: M Operating M system M is M not M an M application; M it M is M a M required
M software M to M interface M with M the M Mcomputer M M hardware.
, 8. Which Mof Mthe Mfollowing Mis Mnot Ma Mcomputer Mlanguage?
a. Assembly/symbolicMlanguage
b. Binary M language
c. High-level Mlanguages
d. MachineMlanguage
e. Natural Mlanguage
Answer:Mb.MBinarylanguage
Feedback: Ma, Mc, Md, Mand Me. MAssembly/symbolic, Mhigh-level, Mmachine, Mand Mnatural
Mare M categories Mof M computer M languages.
9. The Mcomputer Mlanguage Mthat Mmost Mclosely Mresembles Mmachine Mlanguage Mis
M .
a. assembly/symbolic
b. COBOL
c. FORTRAN
d. high Mlevel
Answer: M a.
M assembly/symbolic
M Feedback:
b Mand Mc. MCOBOL Mand MFORTRAN Mare Mhigh-level Mcomputer Mlanguages.
d. MHigh Mlevel Mis Mnot Ma Mcomputer Mlanguage.
10. The Mtool Mused Mby Ma Mprogrammer Mto Mconvert Ma Msource Mprogram Mto Ma
Mmachine Mlanguage M object Mmodule Mis Ma .
a. compiler
b. languageMtranslator
c. linker
d. preprocessor
e. text M M M editor
M Answer:Ma.
Mcompiler
M Feedback:
b. Language Mtranslator Mis Ma Mpart Mof Mthe Mcompiler.
c. The Mlinker Massembles Mall Minput/output Mprocesses Mand Mmathematical Mlibrary
Mfunctions.
d. Preprocessor Mis Mpart Mof Mthe Mcompiler.
e. Text Meditor Mis Mused Mto Mcreate Mthe Mprogram.