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
A spring-loaded piston-cylinder contains 1 kg of carbon dioxide. This system is heated from 104 kPa and 25 °C to 1,068 kPa and 3
labwork [276]

Answer:

Q = -68.859 kJ

Explanation:

given details

mass co_2 = 1 kg

initial pressure P_1 = 104 kPa

Temperature T_1 = 25 Degree C = 25+ 273 K = 298 K

final pressure P_2 = 1068 kPa

Temperature T_2 = 311 Degree C = 311+ 273 K = 584 K

we know that

molecular mass of co_2 = 44

R = 8.314/44 = 0.189 kJ/kg K

c_v = 0.657 kJ/kgK

from ideal gas equation

PV =mRT

V_1 = \frac{m RT_1}{P_1}

       =\frac{1*0.189*298}{104}

V_1 = 0.5415 m3

V_2 = \frac{m RT_2}{P_2}

     =\frac{1*0.189*584}{1068}

V_1 = 0.1033 m3

WORK DONE

W =P_{avg}*{V_2-V_1}

w = 586*(0.1033 -0.514)

W =256.76 kJ

INTERNAL ENERGY IS

\Delta U  = m *c_v*{V_2-V_1}

\Delta U  = 1*0.657*(584-298)

\Delta U  =187.902 kJ

HEAT TRANSFER

Q = \Delta U  +W

   = 187.902 +(-256.46)

Q = -68.859 kJ

7 0
3 years ago
PLS HELP ME
Oksana_A [137]

Answer:

The Euler buckling load of a 160-cm-long column will be 1.33 times the Euler buckling load of an equivalent 120-cm-long column.

Explanation:

160 - 120 = 40

120 = 100

40 = X

40 x 100 / 120 = X

4000 / 120 = X

33.333 = X

120 = 100

160 = X

160 x 100 /120 = X

16000 / 120 = X

133.333 = X

4 0
3 years ago
Discuss the organizational system that you believe would be the most effective for the safety officer in a medium-sized (100-200
marin [14]

Answer:

A safety manager is a person who designs and maintains the safety elements at workplace. A balance should be required for production and the job in providing work environment. As a safety officer in a medium sized manufacturing facility the following organizational system can be designed and maintained:

  • Maintaining a workplace as per the guidelines by Occupational safety and health association. The rules and regulation should be such that maintains the manufacturing facilities.  
  • For warning to workers proper labelling, floor mapping, signs, posters should be used.  
  • Procurement and usage of safe tools.  
  • A guideline that describes safety standard and precautionary measures should be available to the workers. They should be aware about all the steps that needs to be taken in crisis.  
  • Ensuring that the workers have enough training safety and health or accident prevention.  
  • Identify and eliminate the hazardous elements from the workplace.  
  • A strict action should be taken against the worker in case of violation of rules and not adhering with guidelines.

3 0
3 years ago
The properties of the air in the inlet section with A1 = 0.25ab m2 in a converging-diverging channel are given as U1 = 25a,b m/s
NeX [460]

Answer:

nice cake

Explanation:

3 0
3 years ago
Can someone tell me what car year and model this is please
Arlecino [84]

Answer:

i think 1844

Explanation:

5 0
3 years ago
Read 2 more answers
Other questions:
  • A 20.0 µF capacitor is charged to a potential difference of 800 V. The terminals of the charged capacitor are then connected to
    12·1 answer
  • James River Jewelry is a small jewelry shop. While James River Jewelry does sell typical jewelry purchased form jewelry vendors,
    15·1 answer
  • Choose the true statement from those shown below: A Merchant Account allows you to use SSL on your web site. Disadvantages of us
    14·1 answer
  • A 5 MW gas turbine power plant is reported to have a thermodynamic efficiency of 35%. Assume products of the combustion reaction
    5·1 answer
  • g A 30-m-diameter sedimentation basin has an average water depth of 3.0 m. It is treating 0.3 m3/s wastewater flow. Compute over
    8·1 answer
  • A 150-lbm astronaut took his bathroom scale (aspring scale) and a beam scale (compares masses) to themoon where the local gravit
    9·1 answer
  • I study to get good grades because my parents want to send me to the college of my choice.” This is an a. Intrinsic motivational
    6·2 answers
  • A well-insulated tank in a vapor power plant operates at steady state. Saturated liquid water enters at inlet 1 at a rate of 125
    8·1 answer
  • True or false for the 4 questions?
    8·1 answer
  • All of the following have the same units except: Group of answer choices resistance capacitive reactance. inductance. impedance.
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!