Exam 7: Object-Oriented Programming
Exam 1: An Overview of Computers and Logic50 Questions
Exam 2: Understanding Structure50 Questions
Exam 3: Making Decisions50 Questions
Exam 4: Looping50 Questions
Exam 5: Arrays50 Questions
Exam 6: Using Methods50 Questions
Exam 7: Object-Oriented Programming50 Questions
Select questions type
A class definition can contain four parts.
Free
(True/False)
4.9/5
(31)
Correct Answer:
False
For a language to be considered object-oriented,it must include ____.
Free
(Multiple Choice)
4.7/5
(39)
Correct Answer:
B
Although at first,OOP seems to add a layer of complexity to programming logic,after you master it,understanding program logic and working with programs become easier.
Free
(True/False)
4.9/5
(42)
Correct Answer:
True
Why do object-oriented programmers usually specify that their data fields will have private access?
(Essay)
4.9/5
(35)
____ is the ability to create classes that take on the attributes and methods of existing classes,but with more specific features.
(Multiple Choice)
4.8/5
(37)
In object-oriented design,you usually want any outside programs or methods to be able to alter your class's data fields at any time to ensure that the program works.
(True/False)
4.8/5
(37)
____ methods pass the data stored in a field back to a client program.
(Multiple Choice)
4.9/5
(34)
Write the pseudocode for a class named Product that holds a product name.Include methods to get and set the value for each data field.
(Essay)
5.0/5
(41)
For a language to be considered object-oriented,it must support polymorphism,____,and encapsulation.
(Multiple Choice)
4.9/5
(37)
The syntax used to declare a class differs among programming languages.
(True/False)
4.8/5
(48)
Each data variable that exists for every object is called a(n)____ variable.
(Multiple Choice)
4.8/5
(28)
Object-oriented programming uses few of the concepts you are familiar with from modular,procedural programming.
(True/False)
4.7/5
(39)
____ describes a language's ability to process objects differently depending on each object's data type.
(Multiple Choice)
4.8/5
(36)
____ programming is a style of programming that focuses on an application's data and the methods you need to manipulate that data.
(Multiple Choice)
4.8/5
(40)
A method ____ the version in the base class when it has the same name and parameter list.
(Multiple Choice)
4.7/5
(35)
Showing 1 - 20 of 50
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)