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]
4 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]4 years ago
5 0

Answer:

There's no answer ?

Explanation:

You might be interested in
Which size of impurity atom, smaller impurity atom or larger impurity atom, when located near a dislocation, will nullify some o
svp [43]

Answer:

Smaller impurity atom will nullify some of the compressive strain of a dislocation in a crystal. Because, smaller impurity atoms located near a dislocation creates tensile strain on atoms around it thereby partially nullifying compressive strain at the dislocation.

4 0
3 years ago
Using the AASHTO procedure, determine the thickness required for a base and a surface layer over existing subgrade. The structur
garri49 [273]

Answer:

<u>the thickness required would be 12 inch HMA and granular base layer of 6 inches</u>

Explanation:

structural number = 4.5

stone base course material coefficient = 0.13

hma material layer coefficient = 0.40

drainage coefficient = 0.90

we will use layered analysis procedure to get thickness

D1 >= sN1/a1

when we cross multiply,

sN1 = a1D1 >=sN1

D2 >= -sN2-sN1/a2m2

sN2* + sN1* >= sN2

D3 >= sN3-(sN1*+sN2*)/a2m2

where a1,a2,a3 = layer coefficient

d1 d2 d3 = actual thickness

m2,m3 = coefficient of base

a1 = 0.4

a1 = 0.13

sN = 4.5

m2 = 0.9

D1 >= sN1/a1 = 4.5/0.4

= 11.25

thickness of surface = 12 inches

a1D1 = 0.4x12 = 4.8

we have value of sN2 = 5.5

(5.5 -4.8)/(0.13*0.9)

= 0.7/0.117

= 5.9829 inches

approximately 6 inches

so the pavement will have 12inch HMA surface and 6 inches granular base layer.

7 0
3 years ago
Steam enters an adiabatic turbine at 10MPa and 500 C and leaves at 10 kPa with a quality of 90%. Neglecting the changes in kinet
Amanda [17]

Answer:

flow ( m ) = 4.852 kg/s

Explanation:

Given:

- Inlet of Turbine

        P_1 = 10 MPa

        T_1 = 500 C

- Outlet of Turbine

        P_2 = 10 KPa

        x = 0.9

- Power output of Turbine W_out = 5 MW

Find:

Determine the mass ow rate required

Solution:

- Use steam Table A.4 to determine specific enthalpy for inlet conditions:

          P_1 = 10 MPa

          T_1 = 500 C            ---------- > h_1 = 3375.1 KJ/kg

- Use steam Table A.6 to determine specific enthalpy for outlet conditions:

          P_2 = 10 KPa       -------------> h_f = 191.81 KJ/kg

          x = 0.9                  -------------> h_fg = 2392.1 KJ/kg

          h_2 = h_f + x*h_fg

          h_2 = 191.81 + 0.9*2392.1 = 2344.7 KJ/kg

- The work produced by the turbine W_out is given by first Law of thermodynamics:

          W_out = flow(m) * ( h_1 - h_2 )

          flow ( m ) = W_out / ( h_1 - h_2 )

- Plug in values:

          flow ( m ) = 5*10^3 / ( 3375.1 - 2344.7 )

          flow ( m ) = 4.852 kg/s

3 0
3 years ago
A 3-oz serving of roasted, skinless chicken breast contains 140 Cal, 27 g of protein, 3 g of fat, 13 mg of calcium, and 64 mg of
Art [367]

Answer:

Explanation:

  • a) Given C [ cal pro fat calc sod]

              [140 27 3  13  64]

  • P = [cal pro fat calc sod]

     [180 4 11 24 662]

  • B = [cal pro fat calc sod]

      [50  5    1  82   20]

To find C+2P+3B = [140 27 3  13  64] + 2[180 4 11 24 662] + 3[50  5    1  82   20]

= [650  54  28  307  1448]

The entries represent skinless chicken breast , One-half cup of potato salad and One broccoli spear.

7 0
3 years ago
How does the human body use phospholipids ?
Shtirlitz [24]
Phospholipids are crucial for building the protective barrier, or membrane, around your body's cells. In fact, phospholipids are synthesized in the body to form cell and organelle membranes. In blood and body fluids, phospholipids form structures in which fat is enclosed and transported throughout the bloodstream.
6 0
3 years ago
Read 2 more answers
Other questions:
  • Air enters the compressor of an ideal air-standard Brayton cycle at 100kPa, 300K, with volumetric flow rate of 5 m3/s. The compr
    15·1 answer
  • I want to cancel my subscription
    5·2 answers
  • What is the reading of this 0-1" micrometer? Enter your
    9·1 answer
  • To reduce the global emission of greenhouse gases, which of the following would be theMOST effective and practical lifestyle cha
    10·1 answer
  • A cylindrical specimen of a metal alloy 48.8 mm long and 9.09 mm in diameter is stressed in tension. A true stress of 327 MPa ca
    5·1 answer
  • Suppose that the number of times that Vampire Bill gets attacked by Hep V in a given year is a Poisson random variable with para
    7·1 answer
  • A beam spans 40 feet and carries a uniformly distributed dead load equal to 2.2 klf (not including beam self-weight) and a live
    15·1 answer
  • Locução adjetiva e de portuges ou istoria
    8·1 answer
  • Define the term 'Computer​
    8·2 answers
  • A 100-horsepower, three-phase squirrel-cage induction motor is connected to a 240-volt line. A dual-element time-delay fuse is t
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!