Test Bank for Invitation to Computer Science 6th Edition by Schneider

Test Bank for Invitation to Computer Science 6th Edition by Schneider

Info icon This preview shows pages 1–5. Sign up to view the full content.

View Full Document Right Arrow Icon
FOR MORE OF THIS COURSE AND ANY OTHER COURSES, TEST BANKS, FINAL EXAMS, AND SOLUTION MANUALS CONTACT US AT [email protected] Chapter 2: Algorithm Discovery and Design TRUE/FALSE 1. An unstructured, “free-flowing” writing style should be used for writing algorithms. ANS: F PTS: 1 REF: 44 2. With a natural language, different readers can interpret the same sentence in totally different ways. ANS: T PTS: 1 REF: 45 3. Java and C++ are examples of pseudocode languages. ANS: F PTS: 1 REF: 46 4. The three basic sequential operations are called addition, multiplication, and exponentiation. ANS: F PTS: 1 REF: 47 5. Input and output enable the computing agent to communicate with the outside world. ANS: T PTS: 1 REF: 49 6. The if/then/else operation allows you to select exactly one of three alternatives.
Image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
ANS: F PTS: 1 REF: 51 7. One of the most powerful features of a computer is its ability to handle loops. ANS: T PTS: 1 REF: 53 8. Having an infinite loop in an algorithm is an error. ANS: T PTS: 1 REF: 54 9. Once an algorithm has been developed, it may itself be used in the construction of other algorithms. ANS: T PTS: 1 REF: 70 10. Pattern matching can only be applied to graphics and pictures. ANS: F PTS: 1 REF: 76 MODIFIED TRUE/FALSE 1. Natural language is a set of English language constructs designed to resemble the statements in a programming language but that do not actually run on a computer. _________________________ ANS: F, Pseudocode PTS: 1 REF: 47 2. Pseudocode is a formal language with rigidly standardized syntactic rules and regulations. _________________________ ANS: F is not isn’t PTS: 1 REF: 47 3. A(n) control algorithm executes its instructions in a straight line from top to bottom and then stops. _________________________ ANS: F sequential straight-line PTS: 1 REF: 51
Image of page 2
4. The use of high-level instructions during the design process is an example of abstraction. _________________________ ANS: T PTS: 1 REF: 79 5. The process of searching for a special pattern of symbols within a larger collection of information is called object matching. _________________________ ANS: F, pattern PTS: 1 REF: 76 COMPLETION 1. During the initial phases of design, we should be thinking and writing at a highly ____________________ level. ANS: abstract PTS: 1 REF: 46 2. ____________________ is sometimes called a programming language without any details. ANS: Pseudocode PTS: 1 REF: 47 3. ____________________ operations allow us to alter the normal sequential flow of control in an algorithm. ANS: Control PTS: 1 REF: 51 4. In a(n) ____________________ loop, it is possible for the loop body to never be executed. ANS: pretest PTS: 1 REF: 57 5. The process of finding a solution to a given problem is called ____________________ discovery. ANS: algorithm PTS: 1 REF: 65
Image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
MULTIPLE CHOICE
Image of page 4
Image of page 5
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern