© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.Chapter 1 An Introduction to Computers and Problem Solving Section 1.1 An Introduction to Computers 1.Visual Basic is considered to be a (A)first-generation language.(B)package.(C)higher-level language.(D)machine language.C 2.The person who actually runs a computer program is called a (A)user.(B)customer.(C)client.(D)tester.(E)runner.A 3.A collection of lines of instruction is called a(n) (A)program.(B)algorithm.(C)system.(D)programmer.A 4.Which of the following is NOT considered to be one of the three basic features of a program?(A)input (B)processing (C)output (D)store D 5.Software refers to the people who work with computer hardware. (T/F) F 6.Visual Basic uses a graphical user interface. (T/F) T An Introduction to Programming Using Visual Basic 2012, 9e David Schneider (Test Bank All Chapters, 100% Original Verified, A+ Grade) 1 / 4
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.Section 1.2 Program Development Cycle
1.An algorithm is defined as:
(A)a mathematical formula that solves a problem.(B)a tempo for classical music played in a coda.(C)a logical sequence of steps that solve a problem.(D)a tool that designs computer programs and draws the user interface.C 2.Which of the following is the proper order of procedures used in the problem-solving process?(A)design, analysis, coding, testing (B)analysis, testing, design, coding (C)analysis, design, coding, testing (D)analysis, design, testing, coding (E)design, testing, analysis, coding C 3.The process of finding and correcting errors in a program is called (A)pseudocoding.(B)debugging.(C)algorithms.(D)development cycles.B 4.In most cases, a well-written program need not be tested. (T/F) F 5.The analysis and design steps of program planning are largely independent of the particular computer language the programmer is using. (T/F) T 6.When starting a new program, it is best to start writing code as soon as possible to avoid wasting time thinking about it. (T/F) F 7.Often a problem is too difficult to understand until one writes the program. (T/F) F 8.Although the documentation step is usually listed last in the problem-solving process, it should actually begin when the problem is first defined and continue through the problem- solving process. (T/F)
T 2 / 4
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
9.Order the steps in the program development cycle starting with 1 for the first step and so on.____ Program design (devise an algorithm).____ Test the program until it is error free.____ Test the design.____ Problem analysis (define the problem).____ Determine the input and output.____ Review the code.____ Add new features.____ Code the program.____ Enter the program.
3 8 4 1 2 7 9 5 6
Section 1.3 Programming Tools 1.What does the parallelogram flowchart symbol represent?(A)input/output (B)terminal (C)decision (D)connector (E)process A 2.Pseudocode is (A)data that have been encoded for security.(B)the incorrect results of a computer program.(C)a program that doesn't work.(D)the obscure language computer personnel use when speaking.(E)a description of an algorithm similar to a computer language.E 3.Which one of the following is NOT one of the three basic types of statement structures?(A)sequence (B)loop (C)decision (D)input/output D 4.Which of the following types of charts shows only the relationships between general program tasks without showing specific modules or directions for data flow?(A)top-down chart (B)flowchart (C)both A and B (D)neither A nor B
A 3 / 4
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
- Suppose in the very early stages of the problem-solving process, your supervisor wants you
- If you are writing a program that needs to repeat a series of calculations, what programming
- "Desk-checking" refers to
- What does the rectangle flowchart symbol represent?
- What does the diamond flowchart symbol represent?
- / 4
to show her the relationships between the various processes that will be needed to solve the problem. The best way to do this would be to use (A) a top-down chart.(B) a flowchart.(C) a sample program.(D) pseudocode.B
structure should you use to repeat the calculations?(A) sequence structure (B) decision structure (C) looping structure (D) unconditional branching C
(A) the continual problem programmers have with losing things.(B) timing a program to see how fast it completes its tasks.(C) testing an algorithm at the flowchart stage using several different kinds of data.(D) having a fellow programmer read your pseudocode to be sure it is understandable.C
(A) input/output (B) terminal (C) decision (D) connector (E) process E
(A) input/output (B) terminal (C) decision (D) connector (E) process C