Explain the diamond problem when using multiple inheritance


Student Instructions:

Read the practical instructions provided below. You are required to carry out the exercises and attach any required documentation to this assessment tool. To be deemed satisfactory in this task you must complete all steps outlined below and attach all required evidence to this assessment tool.

Scenario:

A trucking company, 'Trucks R Us, has approached you as an application developer. They have requested that you create a desktop application to manage their jobs.

The application must perform the following functions:

Maintenance of jobs, this included the creation of new jobs and the maintenance of existing ones.

Maintenance of staff

Assign jobs to staff members

All data is to be stored in a Relational Database.

`Trucks R Us' employs 3 types of staff members: drivers, supervisors and managers.

Drivers - drive trucks transporting goods

Managers - manage staff and are typically based in the office Supervisors - are to manage all the drivers assigned to one job

Jobs can only be assigned to drivers and supervisors, not to managers.

Drivers are paid $100 for each job that they complete. Supervisors are paid $100/job plus another $10 for each driver that they are responsible for on that job.

The managers receive a Salary.

Your tasks:

To complete this assessment you are required to perform the tasks that follow using the Database Management System (DBMS) and Integrated Development Environment (IDE) provided by your assessor.

Note: Code created must comply with the institutional coding standards and industry best practice.Review the requirements outlined in the scenario and document the program requirements.

Design:
a. The required classes. You are to use Multiple Inheritance at least once in this step
b. The database for storing the required data
- Tests to be applied to ensure that your application functionality and usability.
3. Create a Graphical User Interface (GUI) for your application using the attached wireframes (see appendix 1) the requirements
a. This application is to be built using Object Oriented (00) techniques and best practices.
b. Use the facilities of the provided IDE to generate the application components.
- The data is stored in the database designed task 1, use appropriate language components to allow your GUI to interact with the database
d. Implement an appropriate error handling strategy supported by the language chosen.
- Demonstrate the functionality of your GUI and use a text input field to locate and display a customer's details on screen.
4. Create an additional window to demonstrate the use of the internal searching and sorting facilities of the target language. Then perform the following
a. Extract all customers from the database and store them in a binary disk file.
b. Load the customers from the binary disk file into an appropriate data structure in memory.
- Sort the list of customers by surname.
d. Display the sorted list in a list control on screen

- Using a text input field, enter the name of a customer to be located and display the memory details on member. Keep in mind that payments are made by job, not by the time taken to complete the job. In the step make use of operators, functions or method overloading. For managers just display the word 'salary'.

Use your selected IDE's debugging tools to demonstrate the tracing of running code, detecting and correcting errors.

Use your tests designed in task 1 to test your code for correctness and to ensure that your application complies with the program specifications

s. Create a brief user guide for your created application so that you can provide the document to Trucks R Us.

TASK TWO - WRITTEN QUESTIONS

Student Instructions:

Read the questions provided below. To achieve a satisfactory outcome for this task you must answer all questions in sentence form. Answers are to be typed alongside the questions specified below and attached to this document as evidence.

Questions

1. Explain the diamond problem when using multiple inheritance.

2. List 2 programming languages which support multiple inheritance.

3. List 2 programming languages that do not support multiple inheritance.

4. What are Object Oriented interfaces?

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Explain the diamond problem when using multiple inheritance
Reference No:- TGS02419957

Expected delivery within 24 Hours