試験科目：Microsoft MTA Software Development Fundamentals
問題と解答：全276問 98-361 資格問題集
NO.1 The Dog class and the Cat class inherit from the Animal class. The Animal class includes a
breathe() method and a speak() method. If the speak() method is called from an object of type Dog,
the result is a bark. If the speak() method is called from an object of type Cat, the result is a meow.
Which term is used to describe this object-oriented concept?
B. data hiding
D. multiple inheritance
98-361 ブロンズ 98-361 解説
Polymorphism is often referred to as the third pillar of object-oriented programming, after
encapsulation and inheritance. Polymorphism is a Greek word that means "many-shaped" and it has
two distinct aspects:
*At run time, objects of a derived class may be treated as objects of a base class in places
such as method parameters and collections or arrays. When this occurs, the object's declared type is
no longer identical to its run-time type.
*Base classes may define and implement virtual methods, and derived classes can override them,
which means they provide their own definition and implementation. At runtime, when client code
calls the method, the CLR looks up the run-time type of the object, and invokes that override of the
virtual method. Thus in your source code you can call a method on a base class, and cause a derived
class's version of the method to be executed.
NO.2 The following functions are defined:
What does the console display after the following line?
NO.3 d Normal Form Definition
A database is in second normal form if it satisfies the following conditions:
It is in first normal form All non-key attributes are fully functional dependent on the primary key
2. You have a Windows Service running in the context of an account that acts as a non-privileged
user on the local computer. The account presents anonymous credentials to any remote server.
What is the security context of the Windows Service?
98-361 問題 98-361 オンライン
LocalService , which runs in the context of an account that acts as a non-privileged user on the local
computer, and presents anonymous credentials to any remote server;
NO.4 Which of the following must exist to inherit attributes from a particular class?
A. Public properties
B. An is-a relationship
C. A has-a relationship
D. Static members
There must be some public properties that can be inherited.