Microsoft 98-361 - Software Development Fundamentals Exam
Page: 2 / 33
Total 163 questions
Question #6 (Topic: C#)
A class named Manager is derived from a parent class named Employee. The Manager class includes characteristics that are unique to managers.
Which term is used to describe this object-oriented concept?
Which term is used to describe this object-oriented concept?
A. Encapsulation
B. Data modeling
C. Inheritance
D. Data hiding
Answer: C
Question #7 (Topic: C#)
Which term is used to describe a class that inherits functionality from an existing class?
A. Base class
B. Inherited class
C. Derived class
D. Superclass
Answer: C
Question #8 (Topic: C#)
Two classes named Circle and Square inherit from the Shape class. Circle and Square both inherit Area from the Shape class, but each computes Area
differently.
Which term is used to describe this object-oriented concept?
differently.
Which term is used to describe this object-oriented concept?
A. polymorphism
B. encapsulation
C. superclassing
D. overloading
Answer: A
Question #9 (Topic: C#)
You create an object of type ANumber. The class is defined as follows.

What is the value of _number after the code is executed?

What is the value of _number after the code is executed?
A. Null
B. 0
C. 3
D. 7
Answer: C
Question #10 (Topic: C#)
You need to allow a consumer of a class to modify a private data member.
What should you do?
What should you do?
A. Assign a value directly to the data member.
B. Provide a private function that assigns a value to the data member.
C. Provide a public function that assigns a value to the data member.
D. Create global variables in the class.
Answer: C