CHAPTER 15 True/False l.

advertisement
CHAPTER 15
True/False
l. A computer program is a set of instructions that directs a computer to perform tasks.
2. In the design programs step, the programmer writes the actual program instruction.
3. The program specification package identify 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 by the computer when it executes the program instructions.
8. Program errors are sometimes 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 succinct language that produces very short
program code.
13. BASIC is an abbreviation for Basic All-purpose Symbolic Integrated Computer.
Multiple Choice
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. perform a given task within the program
b. are the logical steps in the solution of a problem written as English statements
c. Are often used to graphically represent the modules of a program
d. 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
b. Perl
c. Dynamic HTML
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