1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Ksenya-84 [330]
3 years ago
12

Consider that a system has two entities, Students, Instructors and Course. The Student has the following properties: student nam

e, ID, and GPA.The instructor has the following properties: name, ID, Salary and department name. Finally the Course has Name, ID , Instructor and array of 3 students.
Implement the above system taking into account the following requirements:

Define array of 4 Courses with instantiating all its properties.[5 points]
Assume that instructor1 and instructor2 are two objects of type Instructor, write a code that enables you to write: if (instructor1.isequal (instructor2)). The statement is true if the two objects have the same name and ID. [3 points]
Define a function with the following signature void PrintCSalary(Course []), The function prints the index and the name of the course that has Instructor with Max Salary. [3 points]
Define a function with the following signature void PrintMaxGPA(Course []), The function prints the index and the name of the course that has Max average of its Students GPA.[3 points]
Define a function that has the following signature Instructor * getInstByID(Course [], int id). The function returns a pointer to one of the instructors in the array of courses, who has the same id (sent to the function).[3 points]
Write a getCourseList(int ID) function that returns a list of courses that the student registered in.[3 points]
Engineering
1 answer:
tekilochka [14]3 years ago
5 0

Answer:

There's no answer ?

Explanation:

You might be interested in
Consider the series solution, Equation 5.42, for the plane wall with convection. Calculate midplane (x* = 0) and surface (x* = 1
VashaNatasha [74]

Answer:

We conclude that the approximate series solution (with only one eigein value) provides systematically high results but by less than 1.5%, for the biot number range from 0.11 to 10. See attached image.

Explanation:

8 0
3 years ago
If my friend have the corona what do I do
nordsb [41]
(E. Call the hospital to take them away
5 0
3 years ago
Read 2 more answers
Do you think that individuals with the same disabilities have the same needs? If your answer is yes, how? /No, why?​
Blababa [14]

Disability is extremely diverse. While some health conditions associated with disability result in poor health and extensive health care needs, others do not. However, all people with disability have the same general health care needs as everyone else, and therefore need access to mainstream health care services.

5 0
2 years ago
A ductile hot-rolled steel bar has a minimum yield strength in tension and compression of 350 MPa. Using the distortion-energy a
Ratling [72]

Answer:

Explanation:

From  the given question:

Using the distortion energy theory to determine the  factors of safety  FOS can be expressed  by the relation:

\dfrac{Syt}{FOS}= \sqrt{ \sigma x^2+\sigma  y^2-\sigma x \sigma y+3 \tau_{xy^2}}

where; syt = strength in tension and compression = 350 MPa

The maximum shear stress theory  can be expressed as:

\tau_{max} = \dfrac{Syt}{2FOS}

where;

\tau_{max} =\sqrt{ (\dfrac{\sigma x-\sigma  y}{2})^2+ \tau _{xy^2

a. Using distortion - energy theory formula:

\dfrac{350}{FOS}= \sqrt{94^2+0^2-94*0+3 (-75)^2}}

\dfrac{350}{FOS}=160.35

{FOS}=\dfrac{350}{160.35}

FOS = 2.183

USing the maximum-shear stress theory;

\dfrac{350}{2 FOS}  =\sqrt{ (\dfrac{94-0}{2})^2+ (-75)^2

\dfrac{350}{2 FOS}  =88.51

\dfrac{350}{ FOS}  =2 \times 88.51

{ FOS}  =\dfrac{350}{2 \times 88.51}

FOS = 1.977

b. σx = 110 MPa, σy = 100 MPa

Using distortion - energy theory formula:

\dfrac{350}{FOS}= \sqrt{ 110^2+100^2-110*100+3(0)^2}

\dfrac{350}{FOS}= \sqrt{ 12100+10000-11000

\dfrac{350}{FOS}=105.3565

FOS=\dfrac{350}{105.3565}

FOS =3.322

USing the maximum-shear stress theory;

\dfrac{350}{2 FOS}  =\sqrt{ (\dfrac{110-100}{2})^2+ (0)^2

\dfrac{350}{2 FOS}  ={ (\dfrac{110-100}{2})^2

\dfrac{350}{2 FOS}  =25

FOS = 350/2×25

FOS = 350/50

FOS = 70

c. σx = 90 MPa, σy = 20 MPa, τxy =−20 MPa

Using distortion- energy theory formula:

\dfrac{350}{FOS}= \sqrt{ 90^2+20^2-90*20+3(-20)^2}

\dfrac{350}{FOS}= \sqrt{ 8100+400-1800+1200}

\dfrac{350}{FOS}= 88.88

FOS = 350/88.88

FOS = 3.939

USing the maximum-shear stress theory;

\dfrac{350}{2 FOS}  =\sqrt{ (\dfrac{90-20}{2})^2+ (-20)^2

\dfrac{350}{2 FOS}  =\sqrt{ (35)^2+ (-20)^2

\dfrac{350}{2 FOS}  =\sqrt{ 1225+ 400

\dfrac{350}{2 FOS}  =40.31

FOS}  =\dfrac{350}{2*40.31}

FOS = 4.341

7 0
3 years ago
Explain three (3) modes of heat transfer in air conditioning system.
LenKa [72]

Answer:

1. Conduction

2. Convection

3. Radiation

Explanation:

The 3 modes of heat transfer i an air conditioning system:

1. Conduction:

The transfer of heat by conduction  takes place in solid and is when the conduction takes place as a result of direct contact in between the interacting material which transfer the heat energy from particle to particle thus conducting the heat through out the system.

2. Convection:

The other mode for the transfer of heat which takes place especially in fluids - gases and liquids is through the technique of convection in which the transfer of heat takes place by the circular motion of the atoms and molecules of the fluid which carries the heat energy and results in the distribution of the heated fluid in the entire system thus transferring all the heat energy in the entire system.

3. Radiation:

The third mode of heat transfer in the air conditioning system is through radiation. This method transfers the heat by making use of the electro-magnetic radiation in the infra red spectrum where the waves of the spectrum transfers the heat energy with the help of a medium or without any medium at all.

Thus making the radiation method of heat transfer as the only method out of the three methods which does not require the material medium for the transfer of heat energy.

4 0
3 years ago
Other questions:
  • Which is the correct order for handwashing
    11·2 answers
  • The water behind Hoover Dam is 206m higher than the Colorado river below it. At what rate must water pass through the hydraulic
    15·2 answers
  • Link AB is to be made of a steel for which the ultimate normal stress is 65 ksi. Determine the cross-sectional area of AB for wh
    14·1 answer
  • In an experiment, the local heat transfer over a flat plate were correlated in the form of local Nusselt number as expressed by
    5·1 answer
  • 4 Error-Correcting Polynomials (a) Alice has a length 8 message to Bob. There are 2 communication channels available. When n pac
    6·1 answer
  • The heat transfer rate per unit area in a thermal circuit is equivalent to what quantity in an electric circuit? A. voltage B. c
    6·1 answer
  • Create an array of 10 size and assign 10 random numbers. Now find the sum of the array using for and while loop.
    6·1 answer
  • Christopher has designed a fluid power system that repeatedly gets clogs. Which of the following objects should he choose to add
    13·1 answer
  • 1) Plastics that soften when heated,harden when cooled, and then can be heated and softened many times
    6·1 answer
  • Write down the three formula to find the three types of slope of curve Q with respect to L.
    5·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!