Instructional Technology

9th -

12thgrade

Image

CompuScholar Chapter Nine: Object-Oriented Concepts Exam

18
plays

20 questions

Show Answers
See Preview
  • 1. Multiple Choice
    30 seconds
    1 pt

    Which of the following statements is true about Object-Oriented Programming?

    You can define your own objects with unique data and behavior.

    You can only use the objects that are defined for you by the programming language.

    It is best to make all data public for easy access by other objects.

    Objects can only be used by one program and never shared with other programs.

  • 2. Multiple Choice
    30 seconds
    1 pt

    If you use an object without understanding or accessing internal details, what OOP concept are you using?

    Encapsulation

    Inheritance

    Polymorphism

    Data-sharing

  • 3. Multiple Choice
    30 seconds
    1 pt

    . Given the code below, where should you define a new function that belongs to the Player class? // LINE A using UnityEngine; using System.Collections; public class Player { // LINE B public Player() { // LINE C } } // LINE D

    LINE A

    LINE B

    LINE C

    LINE D

  • Answer choices
    Tags
    Answer choices
    Tags

    Explore all questions with a free account

    Already have an account?