Questions
Discuss the legal rights and responsibilities of both teachers and students and the implications of each...

Discuss the legal rights and responsibilities of both teachers and students and the implications of each on the teaching field.

In: Psychology

Given a file of birthdays in the format YYYY-MM-DDTHH:mm:ss:sss. Using C++ write a program to find...

Given a file of birthdays in the format YYYY-MM-DDTHH:mm:ss:sss.

Using C++ write a program to find the:

Age and bday of the oldest individuals in the file.

Age and bday of the youngest individual in the file.

Standard deviation of the ages with respect to 3/29/2019.

Average age with respect to 3/29/2019.

In: Computer Science

For each of the following program fragments, give an analysis of the running time (Big-Oh will...

For each of the following program fragments, give an analysis of the running time (Big-Oh will do).

Give the exact value leading to the Big-Oh conclusion, and show your work.

sum = 0; //1

for( i = 0; i < n; ++i )

++sum;

sum = 0; //2

for( i = 0; i < n; ++i )

for( j = 0; j < n; ++j )

++sum;

sum = 0; //3

for( i = 0; i < n; ++i )

for( j = 0; j < n * n; ++j )

++sum;

sum = 0; //4

for( i = 0; i < n; ++i )

for(j = 0; j < i; ++j )

++sum;

sum = 0; //5

for( i = 0; i < n; ++i )

for( j = 0; j < i * i; ++j )

for( k = 0; k < j; ++k )

++sum;

In: Computer Science

INTERACTION 1: Burdocks are a group of weeds and dispersal of their seeds is critical to...

INTERACTION 1: Burdocks are a group of weeds and dispersal of their seeds is critical to their life cycle. Their seeds have spines with hooks that allow them to be picked up by the fur of animals passing by. The spines do not hurt the animals they attach to.

INTERACTION 2: Wax moths live in the nests of honeybees. Their larvae eat the stored honey of the bees, as well as the larvae of workers and reproductive honeybees. The adults mate and disperse to lay eggs in new nests.

INTERACTION 3: Spider crabs live in shallow areas of the ocean floor, and greenish-brown algae lives on the crabs' backs, making the crabs blend in with their environment, and unnoticeable to predators. The algae gets a good place to live, and the crab gets camouflage.

Which of the above interactions is a mutualism?

Group of answer choices

Interaction 3

Interactions 1 & 2

Interaction 1

Interactions 1 & 3

Interaction 2

In: Biology

how backdoors can affect security? How can you mitigate this risk?

how backdoors can affect security?

How can you mitigate this risk?

In: Computer Science

valuate alternative theoretically explanations and perspectives of economic problems, issues and decisions in a global context

valuate alternative theoretically explanations and perspectives of economic problems, issues and decisions in a global context

In: Economics

(3) Financing government services through user fees generally leads to a debate/comparison of fees v. taxes....

(3) Financing government services through user fees generally leads to a debate/comparison of fees v. taxes. Please describe and define a fee and a tax, identifying the significant differences between the two. Your answer should provide examples of each to support your analysis.

(4) "Sales taxes are fairer than income taxes because sales taxes cannot be avoided by the rich." Discuss & evaluate this idea, using tax policy concepts to provide support for your evaluation. Is it possible to design a sales tax that is more progressive than a personal income tax?

In: Economics

In C++ Antique Class Each Antique object being sold by a Merchant and will have the...

In C++

Antique Class

Each Antique object being sold by a Merchant and will have the following attributes:

  • name (string)
  • price (float)

And will have the following member functions:

  • mutators (setName, setPrice)
  • accessors (getName, getPrice)
  • default constructor that sets name to "" (blank string) and price to 0 when a new Antique object is created
  • a function toString that returns a string with the antique information in the following format
<Antique.name>: $<price.2digits>

Merchant Class

A Merchant class will be able to hold 10 different Antique objects and interact with the user to sell to them. It should include the following attributes:

  • antiques (array): An Antique array of 10 objects
  • quantities (array): An Integer array representing the quantity of each Antique object in stock. This can range from 0 to 10.
  • revenue (float): variable used to store the total amount of money earned by the Merchant after each sale

And will have the following member functions:

  • Merchant (constructor): the constructor takes as arguments an array of Antiques and an array of quantities to use them to initialize antiques and quantities. revenue should be set to 0.
  • haggle: function that decreases each and every Antique object's price by 10%. It will print the following:
You have successfully haggled and everything is 10% off.

Customer cannot haggle more than once. If he tries to haggle more than once, it will print the following:

Sorry, you have already haggled.

In: Computer Science

Carbohydrates are different than fats. Why do people who tend to eat a lot of carbohydrates...

Carbohydrates are different than fats. Why do people who tend to eat a lot of carbohydrates from soft drinks or sugary foods usually gain body fat?

nutrition

In: Biology

Determine ionic strength, I and mean ionic activity coefficient, γ± at 298 K for 0.025 molal...

  1. Determine ionic strength, I and mean ionic activity coefficient, γ± at 298 K for
  1. 0.025 molal K2SO4
  2. 0.01 molal Li2CO3
  3. 0.01 molal Ca2(PO4)2

  1. Estimate the solubility of
  1. MgF2 (Ksp=6.4x10-9) in an aqueous solution with I=0.003 molal.   
  2. BaSO4 (Ksp=1.08x10-10) in an aqueous solution with I=0.001 molal.   

In: Other

Rework problem 28 from section 3.4 of your text, involving the drawing of two balls from...

Rework problem 28 from section 3.4 of your text, involving the drawing of two balls from a box of colored balls. Assume the box contains 12 balls: 6 red, 3 blue, and 3 yellow. A ball is drawn and its color noted. If the ball is yellow, it is replaced; otherwise, it is not. A second ball is then drawn and its color is noted.

What is the probability that the first ball was yellow, given that the second was red?

In: Math

C Programming: Problem 1: Write a function that returns the index of the largest value stored...

C Programming:

Problem 1:

Write a function that returns the index of the largest value stored in an array-of- double. Test the function in a simple program

Problem 2:
Write a function that returns the difference between the largest and smallest elements of an array-of-double. Test the function in a simple program

In: Computer Science

Why would an activity-based costing (ABC) system appeal to some companies, and what is the criterion...

  1. Why would an activity-based costing (ABC) system appeal to some companies, and what is the criterion for utilizing an ABC system?
  2. Describe the advantages for using the ABC method versus a single plantwide rate or multiple departmental overhead rates; and specify any limitations that exist when using these conventional type overhead rates?
  3. Provide an example of a company that would benefit from using an ABC system, and describe a few of the different activities they might use.

In: Accounting

Job Order Costing Journal Entry Problem: Journal entry problem August 1 Purchased direct materials $1,912 and...

Job Order Costing Journal Entry Problem:

Journal entry problem

August

1

Purchased direct materials $1,912 and $482 in indirect materials on account

3

Requested direct materials costing $ 1,880 and indirect materials of $96 for production

8

Issued checks for overhead costs $295

15

Recorded the following wages direct labor, $ 1,640, indirect labor $760, manufacturing supervision. $240 and sales commissions $198

15

Applied overhead at a rate of 85 percent of direct labor

25

Completed jobs with a cost of $3,880

31

Shipped Job to customer, cost was $1,940 and sale price was $3,000.

In: Accounting

if a group that was thought to be monophyletic (morpholgy data) is show to be paraphyletic...

if a group that was thought to be monophyletic (morpholgy data) is show to be paraphyletic (DNA data) how would you try to resolve this issue?

In: Biology