Exam 11: Multiple Classes and Inheritance

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

To ensure that variables declared in a base class may be accessed by its subclasses but not by other classes,the variables should be declared with ____ access.​

(Multiple Choice)
4.8/5
(26)

  ​ -The keyword ____________________ in a base class means that a subclass can contain a procedure with the same procedure name.​ ​ -The keyword ____________________ in a base class means that a subclass can contain a procedure with the same procedure name.​

(Essay)
4.7/5
(40)

​Identify the letter of the choice that best matches the phrase or definition. a.​classes b.​TabIndex c.​encapsulation d.​SelectedIndex e.​subclass f.​Overridable g.​object h.​three-tier i.​StreamWriter j.inheritance REFERENCES: 754 755 755 755 759 765 765 749 770 776 -​If this property is less than 0,then a selection has not been made

(Essay)
4.9/5
(41)

​A subclass inherits attributes from a(n)____ class.

(Multiple Choice)
4.8/5
(37)

What is a constructor? What is its function? What happens if a developer writes no code for a class constructor?​

(Essay)
4.8/5
(29)

An object acts as a template for a class.​

(True/False)
4.7/5
(27)

In a three-tier architecture for a web application,the web form and web page constitute the persistence tier.​

(True/False)
4.8/5
(42)

In a three-tier architecture for Web applications,the ____ tier contains the Web page that appears to the user.​

(Multiple Choice)
4.7/5
(36)

A procedure in one class cannot call a procedure in another class within the program.​

(True/False)
4.9/5
(33)

  ​ -In a(n)____________________ text file,fields in a record are separated by commas.​ ​ -In a(n)____________________ text file,fields in a record are separated by commas.​

(Essay)
4.9/5
(24)

Case 11-1 Your colleague Jason is trying to clarify the three-tier program structure to you and he thinks that providing some practical examples will make it easier to explain it to you.​ -​In the same fundraising database,which tier does Jason tell you contains the code that allows you to save donations to permanent storage,or to open a record for a donor listing all of her gifts to the institution?

(Multiple Choice)
4.8/5
(31)

A class that inherits attributes from another class is called a(n)____.​

(Multiple Choice)
4.8/5
(33)

The ____ tier is also called the data access tier in a three-tier architecture.​

(Multiple Choice)
4.9/5
(35)

​Identify the letter of the choice that best matches the phrase or definition. a.​classes b.​TabIndex c.​encapsulation d.​SelectedIndex e.​subclass f.​Overridable g.​object h.​three-tier i.​StreamWriter j.inheritance REFERENCES: 754 755 755 755 759 765 765 749 770 776 -​This can inherit procedures within the base class

(Essay)
4.7/5
(35)

When arguments are passed ByVal,it means the original value is passed to the instantiated object and a copy of the value is not used.​

(True/False)
4.8/5
(37)

When a subclass is instantiated,only the subclass's constructor is executed.​

(True/False)
4.8/5
(42)

  ​ -When using inheritance,the class which inherits attributes from another class is called the ____________________.​ ​ -When using inheritance,the class which inherits attributes from another class is called the ____________________.​

(Essay)
4.9/5
(32)

Data cannot be passed into an object when it is being instantiated.​

(True/False)
4.8/5
(29)

Whenever inheritance is used,the subclass must fit into a(n)____ relationship with the base class.​

(Multiple Choice)
4.8/5
(34)

Case 11-1 Your colleague Jason is trying to clarify the three-tier program structure to you and he thinks that providing some practical examples will make it easier to explain it to you.​ -Jason offers you the example of a form that accepts user input in an application geared to allow a fundraising operation to track the donations it receives.Which of the following tiers contains the data-entry form for donations?​

(Multiple Choice)
4.8/5
(35)
Showing 41 - 60 of 112
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)