Question

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

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

0 0
Add a comment Improve this question Transcribed image text
Answer #1

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

Add a comment
Know the answer?
Add Answer to:
Question 11     The feature that enables you to split source code between two or more...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Question 1 10 pts Inheritance is a capability of C++ to represent increased specialization that is...

    Question 1 10 pts Inheritance is a capability of C++ to represent increased specialization that is often found in real world relationships. True False Question 2 10 pts Inheritance between a child and parent object exhibits an 'relationship. Question 3 10 pts As you move down an inheritance relationship from parent to child, you typically move from a general to specific description. True False Question 4 10 pts The syntax for declaring DerivedClass to publicly inherit from BaseClass is given...

  • (1)     ____ is the principle that allows you to apply your knowledge of a general category...

    (1)     ____ is the principle that allows you to apply your knowledge of a general category to more specific objects.           a.       Inheritance              c.       Encapsulation           b.       Polymorphism                    d.       Override (2)     When you create a class by making it inherit from another class, you are provided with data fields and ____ automatically.           a.       fonts                      c.       class names           b.       methods                  d.       arrays (3)     By convention, a class diagram contains the ____ following each attribute or...

  • 27. Suppose the unary ! operator is an overloaded member function of class String. For a...

    27. Suppose the unary ! operator is an overloaded member function of class String. For a String object s, which function call is generated by the compiler when it finds the expression Is? a. s.operator!0 b. s.operator!(default valuel, default value?,...) c. operator!(s d. A compiler error results because no arguments are given 28. Select the false statement regarding inheritance. a. A derived class can contain more attributes and behaviors than its base class b. A derived class can be the...

  • A) Suppose you have a class called base which has been inherited by a class called...

    A) Suppose you have a class called base which has been inherited by a class called derived.     ( both classes have public, protected and private members )     What can a client of derived access within the class base ?     What can the class derived access within the class base ? B) Suppose you have a class called more which has a private object of a class called simple. ( both classes have public, protected and private members...

  • Which of the following are ways to declare a new data type in C++? more than...

    Which of the following are ways to declare a new data type in C++? more than 1 choice is accepted A. There is no need to declare the data type in C++ B. Using the new keyword C. Create an alias using typedef D. Create a new type by using class or struct. E. Create an extension of an existing type using inheritance. F. Using the auto keyword QUESTION 6 When an object is copied by assigning each of the...

  • 13] Use UML notations to describe the following classes and their relationships. Define relevant private data,...

    13] Use UML notations to describe the following classes and their relationships. Define relevant private data, and the public methods for each class. a) Define a class Person that defines a generic person. b) Define a class Card that define a generic card c) Define a derived class from Person that describes a typical Student. d) Define a derived class from Card that describes a typical Student Card e) Define a derived class from Card that describes a typical Credit...

  • For Question 14 - 15, please refer to the following code snippet. 1 class Fitness 2...

    For Question 14 - 15, please refer to the following code snippet. 1 class Fitness 2 { 3 int Jumping; int Running; 12 }; 8 class Round ISAShape: public class Fitness 9 { 10 11 int Sleeping; int Eating; 13 }; 14. The following statements are TRUE based on the code snippet above, EXCEPT (A) class RoundISAShape is inheriting from class Fitness (B) class RoundISAShape is the base class for class Fitness (C) class Round ISAShape is considered as the...

  • C++ Question Modify the class by changing private members to protected members and viewing Account class...

    C++ Question Modify the class by changing private members to protected members and viewing Account class as a base class. Define two derived classes Checking and RRSP. The Checking class has one additional private data: total(double). It has five public member functions: a constructor Checking (string n, string addr, double b, int p, double tot) (note you must call base constructor by using initialization list), double getTotal() to return total, void setTotal() to updata data, void withdraw(double w) which requires...

  • Question 1 If a method is marked as protected internal, who can access it? Classes that...

    Question 1 If a method is marked as protected internal, who can access it? Classes that are both in the same assembly and derived from the declaring class. Only methods that are in the same class as the method in question. Internal methods can only be called using reflection. Classes within the same assembly, and classes derived from the declaring class Question 2 To avoid having to use fully qualified referenced classes, you could: Add a reference to the class....

  • You are given a specification for some Java classes as follows.   A building has a number...

    You are given a specification for some Java classes as follows.   A building has a number of floors, and a number of windows. A house is a building. A garage is a building. (This isn’t Florida-like … it’s a detached garage.) A room has a length, width, a floor covering, and a number of closets. You can never create an instance of a building, but every object that is a building must have a method that calculates the floor space,...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT