Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Question 11 The feature that enables you to split source code between two or mor

ID: 3768470 • Letter: Q

Question

Question 11

   

The feature that enables you to split source code between two or more files is:

Select one:

a. base class

b. partial classes

c. generics

d. dynamic link library

e. package

Question 12

   

Packaging data attributes and behaviors into a single unit so that the implementation details can be hidden describes an object-oriented feature called:

Select one:

a. abstraction

b. objects

c. inheritance

d. polymorphism

e. encapsulation

Question 13

   

A multitier application would probably have:

Select one:

a. a class defined to interact with the user

b. one or more classes defined to handle the business logic

c. a class defined to deal with the data

d. a client class

e. all of the above

Question 14

   

Polymorphism is useful in languages because it facilitates methods.

Select one:

a. overstriking

b. overriding

c. overloading

d. inheriting

e. interfacing

Question 15

   

Components are normally compiled and stored with a file extension of

Select one:

a. ,sno

b. .dll

c. .csc

d. .proj

e. .exe

Question 16

   

The "is a" relationship is associated with:

Select one:

a. encapsulation

b. inheritance

c. interfaces

d. polymorphism

e. information hiding

Question 17

   

In C#, the super class, or base class of all others, is:

Select one:

a. base

b. class

c. object

d. value

e. super

Question 18

   

Using the following declaration, which of the following statements is true?

public aClass : bClass, IClass

Select one:

a. IClass is an interface.

b. aClass is the derived class.

c. bClass is the base class.

d. all of the above

e. none of the above

Question 19

   

If you want to keep classes that instantiate objects of a class from changing their data members, but enable derived classes to change base class data members, the data members in the base class should be defined with a _______ access modifier

Select one:

a. protected

b. internal

c. private

d. static

e. public

Question 20

   

Constructors are normally defined with a ____ access modifier; data members with a _____ access modifier; and properties with a _____ access modifier.

Select one:

a. private, private, private

b. public, public, private

c. private, public, public

d. public, public, public

e. public, private, public

Explanation / Answer

b. partial classes

e. encapsulation

e. all of the above

b. overriding

b. .dll

b. inheritance

a. base

d. all of the above

a. protected

e. public, private, public

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote