Filters
Question type

Study Flashcards

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

Correct Answer

verifed

verified

When a class is instantiated into an obj...

View Answer

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


A) ​inheriting
B) ​disseminating
C) ​distributing
D) ​base

E) B) and C)
F) A) and C)

Correct Answer

verifed

verified

  ​ -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 ____________________.​

Correct Answer

verifed

verified

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

A) True
B) False

Correct Answer

verifed

verified

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.​


A) ​Private
B) ​Protected
C) ​Public
D) ​Restricted

E) None of the above
F) C) and D)

Correct Answer

verifed

verified

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


A) ​equivalence
B) ​"has-a"
C) ​helper
D) ​"is-a"

E) A) and D)
F) B) and D)

Correct Answer

verifed

verified

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?​


A) ​presentation
B) ​persistence
C) ​business
D) ​record

E) B) and C)
F) A) and C)

Correct Answer

verifed

verified

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

A) True
B) False

Correct Answer

verifed

verified

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

A) True
B) False

Correct Answer

verifed

verified

  ​ -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.​

Correct Answer

verifed

verified

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


A) ​business
B) ​interface
C) ​persistence
D) ​presentation

E) None of the above
F) All of the above

Correct Answer

verifed

verified

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?


A) ​persistence
B) ​presentation
C) ​business
D) ​record

E) A) and B)
F) B) and C)

Correct Answer

verifed

verified

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.​

A) True
B) False

Correct Answer

verifed

verified

​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

Correct Answer

verifed

verified

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

A) True
B) False

Correct Answer

verifed

verified

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


A) ​presentation
B) ​business
C) ​persistence
D) ​data processing

E) A) and B)
F) A) and C)

Correct Answer

verifed

verified

​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

Correct Answer

verifed

verified

An object acts as a template for a class.​

A) True
B) False

Correct Answer

verifed

verified

  ​ -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.​

Correct Answer

verifed

verified

comma-deli...

View Answer

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


A) ​ascendant
B) ​base class
C) ​inheritor
D) ​subclass

E) A) and C)
F) A) and B)

Correct Answer

verifed

verified

Showing 41 - 60 of 112

Related Exams

Show Answer