Type your Name Here Chapter 15 Homework Questions

advertisement
Type your Name Here
ITSC 1301 Introduction to Computers
Chapter 15 Homework Questions
True or False. Type in a "T" or "F" in the blank to the left of the question.
___ l.
A computer program is a set of instructions that directs a computer to perform tasks.
___ 2.
In the PDLC STEP 2, Design Programs, the programmer writes the actual program instruction.
___ 3.
The program specification package identifies the input, output, processing, and data requirements
of each program.
___ 4.
The selection structure, means one or more processes continue to occur as long as a given
condition is met.
___ 5.
The sequence control structure, gives programmers a way to represent conditional program logic.
___ 6.
Dead code is any code, or program instruction, that a program never executes.
___ 7.
Syntax errors are identified when program instructions are executed on the computer .
___ 8.
Program errors are called bugs.
___ 9.
Programs written in all other languages are eventually converted into assembly language.
___ 10. Third-generation languages cannot be read by programmers and are thus more difficult to learn
and use than machine or assembly languages.
___ 11. Fourth-generation languages are nonprocedural and can be used by individuals with very little
programming background.
___ 12. COBOL is difficult to write and read, but it is a concise language that produces very short
program code.
___ 13. BASIC is an abbreviation for Basic All-purpose Symbolic Integrated Computer.
===============================================================
Multiple Choice. Type your choice for the most correct option in the blank on the left.
___ 14. Listed sequentially, the steps of the program development process are :
a. Analyze problem, design program, coding, testing, formalize solution, maintain program
b. program design, coding, review program specifications, finalizing documentation, testing
c. coding, testing, program design, finalizing documentation, review program specifications
d. review program specifications, program design, testing, finalizing, documentation, coding
___ 15.
Structure charts, also called hierarchy charts, ________________.
a.
b.
c.
d.
perform a given task within the program
are the logical steps in the solution of a problem written as English statements
Are often used to graphically represent the modules of a program
Let the user specify a list of processing options that can be selected
___ 16.
In the _________ structure, one process occurs immediately after another.
a. sequence
c. if-then-else
b. selection.
d. looping
___ 17.
During which step in the process of program development do programmers write the actual program
instructions?
a. Reviewing specifications
c. Coding
b. Designing
d. Testing
___ 18.
The do-while structure is a form of what control structure?
a. Sequence structure
c. Case structure
b. Selection structure
d. Repetition control structure
___ 19.
The ________ programming language was designed for writing system software.
a. BASIC
c. C
b. COBOL
d. FORTRAN
___ 20.
The program to be converted by a compiler is called the _____________ program and the machine
language produced is called the _____________ program.
a. object, source
c. data, information
b. source, object
d. information, data
___ 21.
Which of the these factors should be considered when choosing a programming language?
a. The programming standards of the organization
b. Need for portability to other systems
c. the need to interface with other programs
d. all the above
___ 22.
Web page authoring software is sometimes called a/an __________.
a. Authorware
c. Computer-based training
b. HTML editor
d. Toolbook
___ 23.
__________ is an interpreted language that allows the programmer to add dynamic content and
interactive elements to a Web page.
a. JavaScript
c. Dynamic HTML
b. Perl
d. C++
___ 24.
Beginning programmers can create professional Windows-based applications using ______________
because the program is easy to use.
a. Cobol
c. Visual Basic
b. Java
d. RPG
___ 25.
One advantage of a _________ is that you can retrieve data without having to learn a query language.
a. Nonprocedural language.
c. Compiler
b. Report writer
d. None of the above.
Download