Prog6112ta THT
Prog6112ta THT
INSTRUCTIONS:
1. Please adhere to all instructions. These instructions are different from what is normally
present, so take time to go through these carefully.
2. Independent work is required. Students are not allowed to work together on this
assessment. Any contraventions of this will be handled as per disciplinary procedures in The
IIE policy.
3. No material may be copied from original sources, even if referenced correctly, unless it is
a direct quote indicated with quotation marks.
4. All work must be adequately and correctly referenced.
5. You should paraphrase (use your own words) the concepts that you are referencing, rather
than quoting directly.
6. This is an open-book assessment.
7. Assessments must be typed unless otherwise specified.
8. Ensure that you save a copy of your responses.
8.1. Complete your responses in a Word document.
8.2. The document name must be your name.student number.Module Code.
8.3. Once you have completed the assessment, upload your document under the
submission link in the correct module in Learn.
Additional instructions:
• Calculators are allowed.
• Answer All Questions.
MIRRORLESS DSLR
CANON R 10 500 R 8 500
SONY R 9 500 R 7 200
NIKON R 12 000 R 8 000
Using single and two-dimensional arrays, produce the camera technology report and include the
total calculated difference for each camera manufacturer. If the difference between the
Mirrorless camera and DSLR is greater than or equal to R2 500, then display three stars ***.
In your solution, include the camera manufacturer with the greatest cost difference.
Sample screenshot
5 3-4 1-2 0
Printing of rows and
columns in the Correct printing of Minor Major
Not
report rows and columns changes are changes are
provided.
in the report. required. required.
Create a subclass called EstateAgentSales that extends the EstateAgent class. The
EstateAgentSales class must contain a constructor to accept the estate agent name and the
property sale amount as parameters. Write code for the printPropertyReport method, which
prints the estate agent name, property sale price and the estate agent commission amount.
Finally, write a RunApplication class to instantiate the EstateAgentSales class. Sample output is
shown below, and you may use the same values to test your application.
Sample screenshot
5 3-4 1-2 0
iEstateAgent Minor
interface class iEstateAgent interface Major
changes Not
created class created. changes are
are provided.
required.
required.
5 3-4 1-2 0
The report The report was
produced as per Minor Major
produced as per the Not
the sample changes changes are
sample. provided.
required required.
END OF PAPER