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
3 examples of technology transfer pls
OLEGan [10]

Answer: electrical, mathematical, and geographical

Explanation: Yee  

                              - Cash Nasty

3 0
3 years ago
Read 2 more answers
A ____ is marked by two sets of double yellow lines, with each set having a broken line on the inside, and a solid line on the o
Vitek1552 [10]

Answer:

  center left-turn lane

Explanation:

A <em>center left turn lane</em> will be marked as described. The arrows, if present, generally indicate that left turns are permitted from the lane with these markings.

__

If the double yellow lines are solid, they are considered to be a "barrier" and are not to be crossed.

7 0
3 years ago
Read 2 more answers
What is the function rule for the line? f(x)=−32x−2f(x)=−23x−2f(x)=32x−2f(x)=−32x+2A coordinate grid with x and y axis ranging f
murzikaleks [220]

Answer:

f(x)=23x−2

Explanation:

still trying to figure that out

7 0
3 years ago
Using the celsius_to_kelvin function as a guide, create a new function, changing the name to kelvin_to_celsius, and modifying th
aleksandr82 [10.1K]

Answer:

# kelvin_to_celsius function is defined

# it has value_kelvin as argument

def kelvin_to_celsius(value_kelvin):

   # value_celsius is initialized to 0.0

   value_celsius = 0.0

   

   # value_celsius is calculated by

   # subtracting 273.15 from value_kelvin

   value_celsius = value_kelvin - 273.15

   # value_celsius is returned

   return value_celsius

   

# celsius_to_kelvin function is defined

# it has value_celsius as argument

def celsius_to_kelvin(value_celsius):

   # value_kelvin is initialized to 0.0

   value_kelvin = 0.0

   

   # value_kelvin is calculated by

   # adding 273.15 to value_celsius

   value_kelvin = value_celsius + 273.15

   # value_kelvin is returned

   return value_kelvin

   

value_c = 0.0

value_k = 0.0

value_c = 10.0

# value_c = 10.0 is used to test the function celsius_to_kelvin

# the result is displayed

print(value_c, 'C is', celsius_to_kelvin(value_c), 'K')

value_k = 283.15

# value_k = 283.15 is used to test the function kelvin_to_celsius

# the result is displayed

print(value_k, 'is', kelvin_to_celsius(value_k), 'C')

Explanation:

Image of celsius_to_kelvin function used as guideline is attached

Image of program output is attached.

4 0
3 years ago
Line.
Veronika [31]

Air supplied to a pneumatic system is supplied through the C. Actuator

Explanation

Pneumatic systems are like hydraulic systems, it is just that these systems uses compressed air rather than hydraulic fluid.  Pneumatic systems are used widely across the industries. these pneumatic systems needs a constant supply of compressed air to operate. This is provided by an air compressor. The compressor sucks in air at a very high rate from the environment and stores it in a pressurized tank. the Air is supplied thereafter with the help of a actuator valve that is a more sophisticated form of a valve.

From the above statement it is clear that Air supplied to a pneumatic system is supplied through the  Actuator

7 0
3 years ago
Other questions:
  • The pressure in an automobile tire depends on thetemperature of the air in the tire. When the air temperature is25°C, the pressu
    11·1 answer
  • When choosing a respirator for your job, you must conduct a _____ test.
    15·1 answer
  • Consider laminar, fully developed flow in a channel of constant surface temperature Ts. For a given mass flow rate and channel l
    15·1 answer
  • The cars of a roller-coaster ride have a speed of 30 km / h as they pass over the top of the circular track. Neglect any frictio
    9·1 answer
  • The air loss rate for a straight truck or bus with the engine off and the brakes
    11·1 answer
  • If my current directory is ‘AR’ write the path for my current directory
    5·1 answer
  • Which of the following characteristics would not give animals an advantage in the ocean?
    13·1 answer
  • What are the purpose of studying the strength of materials and testing.
    5·1 answer
  • Consider the function f(x)=/x/
    5·1 answer
  • Reason fo I.EE regulations in electrical installations​
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!