Prelude to Programming: Errata for Extended Version. [Note: Changes from the
text are bolded]. Chapter 0: p. 23: Review Q. 17: The answer should be compiler,
...
The periodic table shows that a carbon atom has six protons. This means ...
Chapter 4. Multiple Choice Answers. 1. d. 2. b. 3. b. 4. c. 5. c. 6. b. 7. a. 8. c. 9. a.
10. c .... chemical reactions so atoms with the same number of valence electrons
Test Bank - Chapter 1. The questions in the test bank cover ... Chapter 1. Multiple
Choice Answers. 1. c. 2. c. 3. b. 4. b. 5. a. 6. b. 7. c. 8. c. 9. a. 10. a. 11. a, b, c, d.
A chemical change is different than a physical change because in a chemical
change a) Chemicals are used b) Molecules do not physically touch c) A new ...
called âDinosaurs,â and Hardt and Negri note that some readers may be sur- ...... Helen Raduntz, âResearching a Hegelian-Marxist Dialectic for a Theory of ...
Chapter 3 Test Bank ... Identify the letter of the choice that best completes the
statement or answers the question. ... 7. makes up 14 to 17 percent of the
skeleton.
10. DATE: NAME: CLASS: CHAPTER 2. BLM 2 10. ASSESSMENT. Chapter 2
Test. Goal Complete this test to demonstrate your knowledge and understanding
...
Chapter 2: Introduction to Linear Programming. You may recall unconstrained
optimization from your high school years: the idea is to find the highest point (or ...
Aug 10, 2005 - 1. The political climate. 4. The position of nursing. 5. Chapter Outline. 8 ... Oral dialogue ... Analysis presents three key themes categorised as 'communication', ..... and to take the risk of pursuing answers to the problems that ar
Chapter 2 The Economic Problem. Test Bank. MULTIPLE CHOICE. Choose the
one alternative that best completes the statement or answers the question.
the basic code elements that comprise programs and outline how to read and ...
to programs written in any of the languages derived from C such as C++, C#, ...
Test Bank - Chapter 5. The questions in the test bank cover the concepts from the
lessons in Chapter 5. Select questions from any of the categories that match ...
types of questions include multiple choice, true/false, fill-in-the-blank, and short
.... Chapter 3. Multiple Choice Answers. 1. a. 2. b. 3. c. 4. c. 5. b. 6. a. 7. a. 8. b.
Sep 19, 2013 ... CHAPTER P Test Bank 21. Test Form A Name Date. Chapter P Clan Sectlon. 1.
Express the repeating decimal 0.5757. . . as the ratio of two ...
TEST for CHAPTER 7 ... Question 3. Answer the configuration of the following
compound. 1. R-form. 2. ... Which one of the ligands (a or b) is the pro R ligand ?
PRELUDE NO. 2. Level: Advanced. Written by Heitor Villa - Lobos. I. 1. T. A. B
gggg 24 V. 1. W. 0. V. 0. V. 0. V sl. 6 g V. 7. V. P. 4. V. 0. V. 0. V. 3 g. V. 2. V. 2. V. P
.
In the first phase of the program development cycle you should: make a hierarchy chart identify all the variables needed identify the desired results identify appropriate test data
ANS: C
2. a. b. c. d. e.
An algorithm must: include step-by-step instructions be well defined and well ordered produce some result terminate in a finite time all of the above are true
ANS: E
3. a. b. c. d.
Which of the following is not part of the analysis phase of the program development cycle? determine the required output (the result) determine the required input (the data) determine the formulas needed to get the required results determine the names of all the variables to be used
ANS: D
4. a. b. c. d.
When a programmer breaks tasks down into smaller pieces, this is called: flowcharting modular programming the program development cycle hierarchical programming
ANS: B
5. a. b. c. d.
Submodules are also known as: subprograms procedures subroutines any of the above
Which of the following is not a characteristic of a program module? it performs a single task it is self-contained and independent of other modules it is relatively short all of the above are characteristics of a program module
ANS: D 7. Given the following statements from the main module of a certain program:
Call Purchase Price module Write “Come back soon” a. b. c. d.
What statement is executed immediately after the Call statement? Write “Come back soon” The first statement in the Purchase Price module Nothing is executed; this is an illegal Call It is impossible to tell; not enough information is given
ANS: B
8. Given the following statements from the main module of a certain program:
Call Purchase Price module Write “Come back soon” What statement is executed immediately after the last statement in the Purchase Price module? a. b. c. d.
Write “Come back soon” The first statement in the Purchase Price module Nothing is executed; this is an illegal Call It is impossible to tell; not enough information is given
ANS: A
9. When a large company completes development of new software, it is tested on a wide range of computers using different peripherals. This “in-house” testing is known as: a. internal documentation b. alpha testing c. Windows testing d. beta testing ANS: B 10. Which is not a way to organize a user’s guide? a. alphabetical order b. by theme c. by programmer name d. with tutorials ANS: C
11. A diagram that uses special symbols to display pictorially the flow of execution of a program or program module is a(n): a. hierarchy chart b. pseudocode listing c. application chart d. flowchart ANS: D
12. GUI stands for: a. Graphic Usability Interface b. Graphical User Interface c. Graphical Usability Interaction d. Graphic Usability Interaction ANS: B
13. The type of programming in which the actions of a user, such as clicking a mouse, determine the flow of how the program proceeds is called: a. procedural programming b. modularization c. event-driven programming d. objective programming ANS: C
14. The type of control structure that causes a branch forward at some point, causing a portion of the program to be skipped, is: a. a sequential structure b. a repetition structure c. a selection structure d. a loop structure ANS: C
15. In object-oriented programming, an object consists of: a. the data portion which are its attributes and the control structures associated with each attribute b. the data portion which are its procedures and its attributes c. attributes and procedures d. control structures and procedures ANS: C
TRUE/FALSE 1. True/False: External documentation consists of comments within a program that explain the code, step by step. ANS: F 2. True/False: When a program is written by identifying tasks and subtasks and then writing modules to deal with each task, this is known as modular programming. ANS: T 3. True/False: A Call statement transfers program control to the beginning of the submodule that is called. ANS: T 4. True/False: Virtually every commercial program includes some form of external documentation to help customers learn to use the software. ANS: T 5. True/False: A violation of a programming language’s rules for creating valid statements is considered a logic error. ANS: F 6. True/False: A repetition structure consists of a series of consecutive statements that are executed in the order in which they appear. ANS: F 7. True/False: There are three basic control structures. ANS: T 8. True/False: Loops and repetition structures are the same thing. ANS: T 9. True/False: Variable names should be descriptive; they should indicate to anyone reading the code what that variable represents. ANS: T 10. True/False: The GUI interface was popularized in the mid-1980’s by Microsoft. ANS: F 11. True/False: When a programmer designs a program for a GUI, the programmer also designs the appearance of that program’s screens. ANS: T 12. True/False: Top-down modular programming is another term for object-oriented programming. ANS: F 13. True/False: A modern PC is the product of an object-oriented approach. ANS: T
14. True/False: Only object-oriented programming uses the three basic control structures; these are not used by any other type of programming. ANS: F 15. True/False: An example of a procedure associated with a shirt object is the color of the shirt. ANS: F
SHORT ANSWER 1. A step-by-step method for solving a problem in a computer program is a(n) __________. ANS: algorithm 2. Comments included within a program to explain parts of the code are called __________ _________. ANS: internal documentation 3. Every program has a(n) __________ __________ which is where the program begins and normally ends. ANS: main module 4. A visual way to keep track of a program’s modules and the relationships between modules is to create a __________ __________. ANS: hierarchy chart 5. In a program, statements that are ignored (not processed) by the computer are __________. ANS: comments 6. A programming error that results from failing to use the proper combination of statements to accomplish a certain task is a(n) __________ error. ANS: logic 7. In a(n) __________ structure, there is a branch back to a previous statement in the program module. ANS: loop or repetition 8. A synonym for a decision structure is a(n) __________ structure. ANS: selection 9. In a GUI program, user actions such as pressing a key on the keyboard or clicking a mouse are known as __________. ANS: events 10. The data portion of an object is known as its __________. ANS: attributes 11. The procedures associated with an object are its __________. ANS: methods 12. In a modern PC, anything you can click on is a(n) __________. ANS: object
13. When one object is a special case of another object, it can __________ some or all properties from the other object. ANS: inherit 14. In a GUI, command buttons, text boxes, and option buttons are all examples of __________. ANS: controls 15. Each control in a GUI has its own attributes and __________ to which it responds. ANS: events