You are on page 1of 3

PROGRAMME: DICS

COURSEWORK - Questions

Year 2018 Exam Sitting APRIL

Subject INTRODUCTION TO PROGRAMMING LANGUAGE


Weightage 50% Submission Date 2nd MARCH 2018

Regulations

A. Late Submission

 A 10% deduction per day of total coursework marks (excluding weekends


and public holidays).
 Late submission between 5 to 10 days, results in a 50% deduction of total
coursework marks.
 Late submission past 10 days results in an automatic 0% for coursework and
the student will be barred from the final examination.

B. Deliverables

Students must submit all materials supporting their coursework listed in the
deliverable section.

 The coursework must be done individually and must be entirely your own
work. Please make sure that you are aware of the rules concerning
plagiarism. If you are unclear about them, please consult your program
coordinator/lecturer.

Plagiarism is presenting somebody else’s work as your own. It includes: copying


information directly from the Web or books without referencing the material;
submitting joint coursework as an individual effort; copying another student’s
coursework; stealing coursework from another student and submitting it as your
own. Suspected plagiarism will be investigated and if found to have occurred will be
dealt with according to the procedures set down by the university/college.

 The coursework should exhibit formal research skills i.e. with a table of
content, proper citations, references, and appendixes.
 The coursework write up must be able to demonstrate critical analysis and
application of both theory and practical issues to the company that you have
selected.
 Student may include additional relevant data/information apart from the
proposed guidelines in conjunction to your research. Additional marks will be
awarded for such attempt.
 Your coursework should not be more than 2000 words.
 You should bind your coursework with the coursework cover as the 1st page.
 A CD containing the softcopy version of your coursework should be submitted
as well (if required).
PROGRAMME: DICS

COURSEWORK - Questions

Question 1 of 2

Write a java program to obtain a set of numbers from an input text file. Display all the
numbers inside the input text file. Calculate the total and average of these numbers. The
sample of output is shown in Figure A:

Figure A

List of values
-----------------
3
8
10
9
5
7

Total: 42
Average: 7

Complete … …

Coding – 35%
Comment – 10%
User guide – 5%

(Total: 50 Marks)
PROGRAMME: DICS

COURSEWORK - Questions

Question 2 of 2

Develop a mini car parking system using Java that contains the following functionalities:-

1. Record the time in and time out of the vehicle.


2. Calculate the payment. Assume that the parking fee for the first hour is RM3.00,
RM1.00 for each subsequent hour. The maximum charge per day is RM8.00.
3. Generate a daily report.
4. Exit the program.

The sample output is provided and you can redesign the program layout accordingly.

(Total: 50 Marks)

You might also like