Chapter 13 True/False Darken the letter on a Scantron that indicates whether the sentence or statement is true or false. 1. C is a powerful programming language that requires professional programming skills. 2. A visual programming language provides a graphical interface, called a visual programming environment (VPE), that allows developers to drag and drop objects to build programs. 3. Visual C++ is a visual programming language based on C++. 4. Programmers use PowerBuilder to develop small- and medium-scale client/server applications. 5. Nonprocedural languages are more difficult to use than procedural languages. 6. RPG primarily is used for application development on IBM midrange computers. 7. Macros usually are created in one of two ways: (1) record the macro or (2) write the macro. 8. To run an ActiveX control, the Web browser must support ActiveX technology. 9. By following the steps in the program development cycle, programmers create programs that are correct (produce accurate information) and maintainable (easy to modify). 10. A logic error occurs when the code violates the syntax, or grammar, of the programming language. 11. After program design is complete and the programmer begins implementing the design, errors are easier to fix. 12. Each programming language has a particular syntax. 13. Test data should include only valid (correct) data. 14. As a general rule, the less time and effort programmers spend analyzing and designing a solution algorithm, the less time spent debugging the program. Multiple Choice Darken the letter on a Scantron of the choice that best completes the statement or answers the question. 15. In some cases, an assembly language uses a type of ____ to generate the many machine language instructions for a single assembly language instruction. a. bug c. macro b. script d. tag 16. The machine language version that results from compiling a 3GL is called the ____. a. dead code or dead program c. live code or live program b. source code or source program d. object code or object program 17. A(n) ____ is an action to which an OOP language program responds. a. macro c. object b. event d. tag 18. ____ is a set of technologies by Sun Microsystems that allows programmers to develop and deploy Web services for an enterprise. a. JIT (Java Instruction Technology) b. JavaScript c. J2EE (Java 2 Platform Enterprise Edition) 19. 20. 21. 22. 23. 24. 25. d. JavaBuilder In an application generator, a ____ allows a developer to design a report on the screen, retrieve data into the report design, and then display or print the report. a. counter c. form b. report writer d. menu generator The designers of Web pages, known as ____, use a variety of techniques to develop Web pages. a. Web page authors c. Webmasters b. Web administrators d. Web programmers A(n) ____ is a compiled program that runs on the client. a. script c. applet b. servlet d. image map The ____ is the communications standard that defines how a Web server communicates with outside sources. a. RPG (report program generator) b. VPE (visual programming environment) c. SQL (structured query language) d. CGI (common gateway interface) ____ contain the formats for how a particular object should display in a Web browser. a. Cascading style sheets (CSS) c. Document object models (DOM) b. Report program generators (RPG) d. Common gateway interfaces (CGI) A ____ shows one or more actions following each other in order. a. sequence control structure c. repetition control structure b. selection control structure d. compliance control structure One purpose of using test data is to try to cause a ____, which is an error that occurs while a program is running. a. run-time error c. one-time error b. syntax error d. logic error Chapter 13 Answer Section TRUE/FALSE 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: T T T T F T T T T F F T F F DIF: DIF: DIF: DIF: DIF: DIF: DIF: DIF: DIF: DIF: DIF: DIF: DIF: DIF: Primary Secondary Secondary Primary Primary Primary Primary Secondary Primary Primary Secondary Primary Secondary Primary REF: REF: REF: REF: REF: REF: REF: REF: REF: REF: REF: REF: REF: REF: 13.07 13.09 13.11 13.12 13.12 13.12 13.14 13.17 13.25 13.32 13.32 13.33 13.34 13.35 OBJ: OBJ: OBJ: OBJ: OBJ: OBJ: OBJ: OBJ: OBJ: OBJ: OBJ: OBJ: OBJ: OBJ: 2 3 3 3 5 5 5 6 8 8 8 8 8 8 DIF: DIF: DIF: DIF: DIF: DIF: DIF: DIF: DIF: DIF: DIF: Secondary Secondary Secondary Secondary Secondary Secondary Primary Secondary Secondary Secondary Secondary REF: REF: REF: REF: REF: REF: REF: REF: REF: REF: REF: 13.04 13.05 13.08 13.08 13.13 13.16 13.17 13.18 13.20 13.28 13.34 OBJ: OBJ: OBJ: OBJ: OBJ: OBJ: OBJ: OBJ: OBJ: OBJ: OBJ: 1 2 4 4 5 6 6 6 6 10 8 MULTIPLE CHOICE 15. 16. 17. 18. 19. 20. 21. 22. 23. 24. 25. ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: ANS: C D B C B A C D A A A