Help shape GoConqr. What should we add next?

Quiz

COP 3330 - Exam 1

Stephen Bennett 65 questions

Take the quiz

Questions in this quiz (65)

  1. 1Software objects share two characteristics of _______ and _______.
    1. AObject, class
    2. BInheritance, interface
    3. CState, behavior
    4. DFunction, method
    5. EProject, Package
  2. 2Benefits of modeling using objects in software include
    1. ACode re-use
    2. BInformation-hiding
    3. CModularity
    4. DPluggability and debugging ease
    5. EAll of the above
  3. 3The purpose of a class in object-oriented programming environment is to model the state and behavior of a real-world object.
    1. ATrue
    2. BFalse
  4. 4In object-oriented terms what is used as a blueprint to model a real-world object?
    1. AMethod
    2. BState
    3. CClass
    4. DBehavior
    5. EConstant
  5. 5Object-oriented programming allows for inheritance so commonly used state and behavior can be reused. The class that is inherited from is the ______ and the new class is the _______.
    1. ASuperclass, subclass
    2. BSubclass, superclass
    3. CInterface, subclass
    4. DClass, package
    5. EExtends, implements
  6. 6A declaration statement declares a variable. The following code is a correct example of a declaration statement: double value = 100;
    1. ATrue
    2. BFalse
  7. 7How many superclasses can a subclass extend when using inheritance in object-oriented programming using the Java programming language?
    1. AZero
    2. BOne
    3. CTwo
    4. DThree
    5. EUnlimited
  8. 8When using inheritance what does the new class inherit when it is derived from another class?
    1. AObject, class
    2. BInheritance, interface
    3. CFunction, method
    4. DState, behavior
    5. EProject, package
  9. 9When implementing an interface in object-oriented programming all ___________ must be included in the source code for the class to compile.
    1. AState
    2. BState and behavior
    3. CSuperclasses
    4. DConstructors
    5. EMethods
  10. 10What programming best practice should be used when identifying state and behaviors that are derived from another class or defined locally in the class?
    1. AComment the code
    2. BClass variables
    3. CLocal variables
    4. DParameters
    5. ENone of the above

Information

Description
Engineering Quiz on COP 3330 - Exam 1, created by Stephen Bennett on 04/02/2018.
Language
English
Views
0
Rating
No ratings yet
Rate this quiz
Rate this quiz

Feedback

What is it about?

What should we add next?