Questions
The relationship between Laptop and Screen can best be categorized as Inheritance Association Ownership Private What...

  1. The relationship between Laptop and Screen can best be categorized as
    1. Inheritance
    2. Association
    3. Ownership
    4. Private

  1. What is the purpose of information hiding in object-oriented programming?
    1. To protect the values of variables from being changed inappropriately
    2. To free other programmers from having to know too many details of the inner workings of the class.
    3. To protect people’s personal information from hackers?
    4. All of the above
    5. Just choices a and b

  1. The relationship between Bayonet and Weapon could best be described as
    1. Inheritance
    2. Association
    3. Ownership
    4. Private

  1. Which of the following is not true of the relationship composition?
    1. The owner is responsible for creating and destroying the object it owns
    2. Other objects of the owner type can own the very same object.
    3. It involves exclusive ownership, meaning that no other object could own the owned object.
    4. It, like aggregation, is a form of ownership.

  1. In the relationship between Hammer and Tool, which is the superclass and which is the subclass?
  1. Which of the following is a false statement?
    1. A class is like a blueprint, and an object is something built according to that blueprint.
    2. A class can contain data members and methods.
    3. A class can contain objects as data members within it.
    4. Usually, only one object can be built for any given class.

  1. Which of the following is false about an abstract class?
    1. It contains one or more abstract functions.
    2. You cannot create an object of an abstract class.
    3. It cannot have any non-abstract functions.
    4. It is the most generic version of a family of related types of things.

  1. Why is polymorphism powerful?
    1. It enables us to refer to related objects generally but still access specific functionality for each object.
    2. It enables us to build more complicated objects starting from simpler ones.
    3. It helps us protect data from being inadvertently changed.
    4. It helps us build objects that contain other objects.

  1. Why do we write public get and set functions?
    1. Object-oriented languages require us to do so.
    2. If we didn’t, there would be no way to read or write the values of the data members of a class.
    3. In combination with making data private, these public functions give us a way to read and write the values of these variables in a controlled way.
    4. They make a program run more efficiently.

10. Draw a UML diagram for the following system: A cell phone is a type of computing device. It has a screen, usb jack, power button, and wake button. Include data members and methods for the classes you define, and show the appropriate relationships

In: Computer Science

Your company received an investment proposal which requires an initial investment of $5682678 now. The project...

Your company received an investment proposal which requires an initial investment of $5682678 now. The project will last for 5 years. You also have the following information about this project;

Years

1

2

3

4

5

CF

682678

120,000

130,000

140,000

568267

Discount Rate

5%

7%

8%

10%

10%

  1. If you receive the above cash flows at the end of each year, calculate the NPV using both spreadsheet method and excel NPV function, and clearly mention if you will invest in the project or not based on your result of NPV.
  2. Compute the IRR of the above project using the IRR function in excel.

In: Finance

Below we have records of cat 3 or higher Atlantic hurricanes making landfall on US coast...

Below we have records of cat 3 or higher Atlantic hurricanes making landfall on US coast lines over a period of 100 years. Why is it reasonable to assume that cat 3 or higher making landfall on US coast lines can be modelled by the Poisson distribution? Now using the following table examine whether the theoretical justification is supported by the record. Carefully mention all assumptions necessary to carry out the needed test.

Number of Cat 3 hurricanes or higher to make landfall in a year

Number of years

0

50

1

19

2

7

3

4

4 or more

0

In: Statistics and Probability

Wellness is the complete integration of physical, mental, social and spiritual well-being. Mention three (3) factors contributing to physiological and psychosocial wellness.

Wellness is the complete integration of physical, mental, social and spiritual well-being. Mention three (3) factors contributing to physiological and psychosocial wellness.

Dimension

Factors (3)

1) Physiological wellness

2) Psychosocial wellness

In: Nursing

About wastewater treatment: A. Explain the primary, secondary and tertiary WWTPs (Wastewater Treatment Plants). You can...

About wastewater treatment:
A. Explain the primary, secondary and tertiary WWTPs (Wastewater Treatment Plants). You can use diagrams and explain them.
b. In addition to the WWTPs, mention and explain two alternatives for treating wastewater.

In: Biology

write a better definition for marketing. Justify your reasoning for the things you include. Hint, maybe...

write a better definition for marketing. Justify your reasoning for the things you include. Hint, maybe it could mention more of the different people who use marketing in a nontraditional sense and/or marketers’ responsibilities to buyers and society.

In: Economics

Briefly explain how the US came to be dominated by large, centralized AC power systems. Be...

Briefly explain how the US came to be dominated by large, centralized AC power systems. Be sure to mention the 2 major decisions that were made early on (one was technological, the other was about the business model used).

In: Economics

A television signal is broadcasting over a suitable band. The initial frequency of the band is...

A television signal is broadcasting over a suitable band. The initial frequency of the
band is 270(MHz)

Sketch a neat spectrum of Television transmission as per NTSC and PAL system.
Clearly mention the picture, sound and color position on it.

In: Electrical Engineering

22. Mention the general characteristics of the nematodes. 23. Describe the anatomy of the body wall...

22. Mention the general characteristics of the nematodes.
23. Describe the anatomy of the body wall in nematodes.
24. Describe the anatomy of the digestive system. Explain how food digestion occurs.
25. What is the function of the pseudocelloma fluid?

In: Biology

The following questions about lasers: a. Mention and explain the characteristics of the laser beam that...

The following questions about lasers:
a. Mention and explain the characteristics of the laser beam that distinguishes it from general light.
b. Write a summary of the working principles of the laser according to the assignment about the laser you have made.

In: Physics