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
Match the word with the definition:
aksik [14]

1. Renewable Resources  = (Renewable means you can keep making it) =  resources that can be replenished (such as trees)

2. Nonrenewable Resources  =  ( Nonrenewable means it can't be made once it is used up) = resources that are gone once they are used (such as fossil fuels)

3. Producer  =  ( produces something) = person who makes goods or provides services

4. Consumer  = ( uses something) =   person whose wants are satisfied by using goods and services

5. Allocate  = ( put someplace) =   distribute

6. Choice =  option

7 0
3 years ago
Read 2 more answers
Which of the following is NOT a breach of Netiquette?
alexandr402 [8]

Answer:

I need some more point and i do not understand your question

Explanation:

7 0
3 years ago
A 1 turn coil carries has a radius of 9.8 cm and a magnetic moment of 6.2 X 10 -2 Am 2. What is the current through the coil?
Alexus [3.1K]

Answer:

The current through the coil is 2.05 A

Explanation:

Given;

number of turns of the coil, N = 1

radius of the coil, r = 9.8 cm = 0.098 m

magnetic moment of the coil, P = 6.2 x 10⁻² A m²

The magnetic moment is given by;

P = IA

Where;

I is the current through the coil

A is area of the coil = πr² = π(0.098)² = 0.03018 m²

The current through the coil is given by;

I = P / A

I = (6.2 x 10⁻² ) / (0.03018)

I = 2.05 A

Therefore, the current through the coil is 2.05 A

6 0
4 years ago
Why is sssniperwolf so fine
RSB [31]
Bc she’s just a baddie
5 0
3 years ago
Read 2 more answers
What are primary and secondary super-heaters?
Maru [420]

Explanation:

Superheater has two types of parts which are:

  • The primary super-heater
  • The secondary super-heater

Primary super-heater is first heater which is passed by the steam after steam comes out of steam drum.

After steam is heated on super primary heater, then the steam is passed on secondary super-heater so to be heated again. Thus, on secondary super-heater, the steam formed is hottest steam among others.

Steam from secondary super-heater which becomes the superheated steam, flow to rotate the High-Pressure Turbine.

3 0
3 years ago
Other questions:
  • You find a publication from a research laboratory that identifies a new catalyst for ammonia synthesis. The article contains the
    6·1 answer
  • Please can you solve it for me I need it ​
    11·1 answer
  • List one advantage and one disadvantage of the use of the commutator?
    8·1 answer
  • A binary geothermal power plant uses geothermal water at 160°C as the heat source. The cycle operates on the simple Rankine cycl
    9·2 answers
  • An article gave a scatter plot along with the least squares line of x = rainfall volume (m3) and y = runoff volume (m3) for a pa
    6·1 answer
  • Which type of blade is used with a demolition saw?
    11·1 answer
  • ENERGIA
    7·1 answer
  • Scientists use characteristics to compare stars. Match each characteristic on the left with the statement on the right that uses
    15·1 answer
  • The static weight distribution is changed laterally by
    5·1 answer
  • Why do the quadrants in coordinate plane go anti-clockwise?.
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!