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
Discuss three objectives of Tariff and elaborate on three characteristics of it
Margaret [11]

Answer:

Three objectives of a tariff are

1) To control trade between countries

2) To protect domestic industries

3) To provide a source of income

Three characteristics of a tariff are;

1) Adequate return

2) Attractive

3) Fairness

Explanation:

A tariff is an import or export tax placed on goods traded between countries, it serves to control the foreign trade between the two countries and to protect or develop local industry

A Tariff is an important source of income to countries

Three characteristics of a tariff are;

1) Adequate return

Proper return from the consumer should be factored in a tariff to account for the alternatives or normal expense pattern

2) Attractive

The tariff should be attractive to encourage consumption of electricity or complimentary goods

3) Fairness

Based on the consumption of related resources brought about by large scale utilization, large consumer tariff should be lower than those that consume less complementary resources.

5 0
3 years ago
Distinguish between systems analysis and systems design?
Zielflug [23.3K]

Answer:

System analysis can be defined as a deep analysis of a part of the structure of a module that has been designed before. System design means to make any module or a part of the structure from scratch and build it completely without estimation.

Explanation:

3 0
3 years ago
A rectangular workpiece has the following original dimensions: 2a=100mm, h=25mm, and width=20mm. The metal has a strengh coeffic
Elena-2011 [213]

Answer:

See attachment for detailed answer.

Explanation:

Download pdf
4 0
3 years ago
If you replace the text value in an associative dimension, the text value will not change when the
Nostrana [21]

Answer:

C

Explanation:

7 0
3 years ago
Identify and describe the three stages of a life cycle analysis.
sesenic [268]
The LCA process is a systematic, phased approach and consists of four components: goal definition and scoping, inventory analysis, impact assessment, and interpretation. The standards are provided by the International Organisation for Standardisation (ISO) in ISO 14040 and 14044, and describe the four main phases of an LCA: Goal and scope definition. Inventory analysis. Impact assessment.

Hope this is helpful
5 0
2 years ago
Other questions:
  • A production plant has a requirement for a counter that will count 4,000 items before recycling and starting over. How many D fl
    15·1 answer
  • Suppose you are designing a sliding window protocol for a 1 Mbps point-to-point link to the moon, which has a one-way latency of
    10·1 answer
  • Kjhwe ,kenwif ujwfeowlwfwfwfw...
    14·2 answers
  • Carnot heat engine A operates between 20ºC and 520ºC. Carnot heat engine B operates between 20ºC and 820ºC. Which Carnot heat en
    5·1 answer
  • A certain working substance receives 100 Btu reversibly as heat at a temperature of 1000℉ from an energy source at 3600°R. Refer
    13·1 answer
  • Write a function called arraySum() that takes two arguments: an integer array and the number of elements in the array. Have the
    14·1 answer
  • In sleep, what does REM stand for?
    10·1 answer
  • Which source would be the best to base a hypothesis upon
    9·1 answer
  • Technician A says that a lack of lubrication on the back of the disc brake pads can cause brake noise. Technician B says that pa
    8·1 answer
  • Water from an upper tank is drained into a lower tank through a 5 cm diameter iron pipe with roughness 2 mm. The entrance to the
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!