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

ch10 - Chapter 10 Object-Oriented Programming TRUE/FALSE 1...

This preview shows page 1 - 3 out of 7 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:4272.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:4293.Within any object-oriented program, you continuously make requests to objects’ methods, often in-cluding arguments as part of those requests.ANS: TPTS:1REF:4304.All methods require a thisreference.ANS: FPTS:1REF:4535.No object is necessary with a static method.ANS: TPTS:1REF:454a.Classical programmingc.Direct programmingb.Functional programmingd.Object-oriented programmingANS: DPTS:1REF:427MULTIPLE CHOICE1.____ is a style of programming that focuses on an application’s data and the methods you need to ma-nipulate that data.2.When you think in an object-oriented manner, every object is a member of a ____.3.Object-oriented programmers also use the term ____ when describing inheritance.4.Object-oriented programmers sometimes say an object is one ____ of a class.
5.The concept of a class is useful because of its ____.a.reusabilityc.abstract natureb.mapping to realityd.portabilityANS: APTS:1REF:4296.Object attributes are often called ____ to help distinguish them from other variables you might use.7.In object-oriented programming, procedures are called ____.8.The term ____ is applied to situations in which you define multiple functions with a single name.9.A ____ is a set of program statements that tell you the characteristics of the class’s objects and the methods that can be applied to its objects.a.class interfacec.class referenceb.class definitiond.class modelANS: BPTS:1REF:433

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture