9781111969752_TB_ch10 - Chapter 10 Object-Oriented Programming TRUE\/FALSE 1 Methods in object-oriented programs use sequence selection and looping

9781111969752_TB_ch10 - Chapter 10 Object-Oriented...

This preview shows page 1 - 3 out of 8 pages.

Chapter 10: Object-Oriented ProgrammingTRUE/FALSE1.Methods in object-oriented programs use sequence, selection, and looping structures and make use of arrays.ANS: TPTS:1REF:4082.In addition to their attributes, class objects have methods associated with them; every object that is an instance of a class possesses different methods.ANS: FPTS:1REF:4113.Within any object-oriented program, you continuously make requests to objects’ methods, often including arguments as part of those requests.ANS: TPTS:1REF:4114.Declaring a class does not create actual objects.ANS: TPTS:1REF:4155.Class diagrams are a type of Unified Modeling Language (UML) diagram.ANS: TPTS:1REF:4176.The accessor method is another name for the set method.ANS: FPTS:1REF:4217.Object-oriented programmers usually specify that their data fields will have private access.ANS: TPTS:1REF:4248.All methods require a thisreference.ANS: FPTS:1REF:4329.No object is necessary with a static method.ANS: TPTS:1REF:43510.Methods in a class are static instance methods by default.ANS: FPTS:1REF:435MULTIPLE CHOICE1.____ is a style of programming that focuses on an application’s data and the methods you need to manipulate that data.
Background image
a.Classical programmingc.Procedural programmingb.Functional programmingd.Object-oriented programmingANS: DPTS:1REF:4082.Object-oriented programmers sometimes say an object is one ____ of a class.3.Objects both in the real world and in object-oriented programming contain ____ and methods.4.____ are the characteristics that define an object as part of a class.5.When you think in an object-oriented manner, every object is a member of a ____.a.classc.methodb.structd.collectionANS: APTS:1REF:4106.Object-oriented programmers also use the term ____ when describing inheritance.7.The concept of a class is useful because of its ____.8.Object attributes are often called ____ to help distinguish them from other variables you might use.
Background image
Image of page 3

You've reached the end of your free preview.

Want to read all 8 pages?

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

Stuck? We have tutors online 24/7 who can help you get unstuck.
A+ icon
Ask Expert Tutors You can ask You can ask You can ask (will expire )
Answers in as fast as 15 minutes