When you think in an object-oriented manner, everything is an object, and every object is a member of a method.

Answer the following statement true (T) or false (F)


False

Computer Science & Information Technology

You might also like to view...

Given the following classes and code, what is the output of the last statement shown?

class Pet { public: virtual void print(); string name; private: }; class Dog: public Pet { public: void print(); string breed; }; void Pet::print() { cout << "My name is " << name; } void Dog::print() { Pet::print(); cout << ", and my breed is a "<< breed << endl; } Pet pPtr; Dog dPtr; dPtr->name= "Rover"; dPtr->breed="Weiner"; pPtr= dPtr; pPtr->print(); a. My name is Rover, and my breed is a Weiner b. My name is Rover c. , and my breed is a Weiner d. nothing

Computer Science & Information Technology

There are times when distributing a document in a word processor's ____________________ file format is not the most desirable course of action. When that is the case, you might use PDF or HTML formats.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

You need to enable Client Hyper-V on a virtual machine; what feature do you need to use?

A. tunneling protocol B. live migration C. nested virtualization D. Hyper-V replica

Computer Science & Information Technology

Consider the ER diagram shown in Figure 7.21 for part of a BANK database. Each bank can have multiple branches, and each branch can have multiple accounts and loans.

(a) List the strong (nonweak) entity types in the ER diagram.

(b) Is there a weak entity type? If so, give its name, its partial key, and its identifying relationship.

(c) What constraints do the partial key and the identifying relationship of the weak entity type specify in this diagram?

(d) List the names of all relationship types, and specify the (min,max) constraint on each participation of an entity type in a relationship type. Justify your choices.


(e) List concisely the user requirements that led to this ER schema design.

(f) Suppose that every customer must have at least one account but is restricted
to at most two loans at a time, and that a bank branch cannot have more than
1000 loans. How does this show up on the (min,max) constraints?

Computer Science & Information Technology