Test Bank for An Object Oriented Approach to Programming Logic and Design 4th Edition by Joyce Farre

# Test Bank for An Object Oriented Approach to Programming Logic and Design 4th Edition by Joyce Farre

This preview shows pages 1–3. Sign up to view the full content.

FOR MORE OF THIS COURSE AND ANY OTHER COURSES, TEST BANKS, FINAL EXAMS, AND SOLUTION MANUALS CONTACT US AT [email protected] Chapter 2: Applications and Data TRUE/FALSE 1. Computers deal with two basic types of data - text and string. ANS: F PTS: 1 REF: 36 2. A literal numeric constant does not change. ANS: T PTS: 1 REF: 36 3. An item’s data type defines what operations can be performed on the item. ANS: T PTS: 1 REF: 37 4. A named constant can be assigned a value multiple times. ANS: F PTS: 1 REF: 39 5. The assignment operator is said to have right-to-left associativity. ANS: T PTS: 1 REF: 41 6. A noun would be a good choice for a variable or constant identifier. ANS: T PTS: 1 REF: 45

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

View Full Document
7. An adjective would be a good choice of identifier for a variable that holds status. ANS: F PTS: 1 REF: 46 8. In echoing input, the program tells the user the desired form of the input data. ANS: F PTS: 1 REF: 50 9. Three types of program structures are sequence, selection, and loop. ANS: T PTS: 1 REF: 51 10. A loop structure does not contain a decision point. ANS: F PTS: 1 REF: 51 MULTIPLE CHOICE 1. A(n) ____ is a named set of statements that perform some task or group of tasks within an application. a. method c. object b. class d. flowchart ANS: A PTS: 1 REF: 32
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### What students are saying

• 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.

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

• 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.

Dana University of Pennsylvania ‘17, Course Hero Intern

• 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.

Jill Tulane University ‘16, Course Hero Intern