Assignment title: Information
ITP – COMP 10005/COMP 0303.1 – FALL– 16 – CW3(ASSMNT) – ALL - QP
COMP 10005/COMP 0303.1 Page 1 of 12
FALL 2016
Introduction to Programming (COMP 10005/COMP 0303.1)
Individual Assignment
Final Submission Deadline: Before 11:59 PM, January 05, 2017
Proposal Submission Deadline: Before 8 PM on Thursday, November 20, 2016
Note: You must submit the assignment via Moodle on or before the date/time indicated above.
Module Level-Credit Points: 0/1-15 Total Marks: 100
Hand-out Date: 07-November-2016 Duration: 8 weeks
Objective:
The aim of this assignment is to the test student's ability to use control structures, arrays and work with classes
and objects to solve specific problems using a programming language.
Learning Outcomes Covered:
1. Use different program control statements in a programming language
2. Demonstrate the use of arrays with a programming language
3. Define and work with classes and objects in a programming language.
1 Basic Assignment Task & Deliverables
Note: Provide adequate documentation/comments of your code in all the tasks.
1.1 Submission of Assignment Proposal
Evaluation Guidelines:
The evaluation will be done on the strength of analysis presented in the proposal. You need to
submit a work proposal for this assignment in the form of a completed Word document on
Moodle before 8 PM on Thursday, November 17, 2016 which must include:
What you will do with the given tasks and the dates by when they will be completed
General overview of initial understanding of solutions to all the tasks
Identification of Literature Resources
2 6 2
1.2
a
XYZ Group is a leading construction company in Oman and they are specialize in delivering
solutions to diverse businesses in Oman and UAE. Inorder to motivate the employees, the company
has decided to announce the different types of bonus depends up on the employee's Grade.
25ITP – COMP 10005/COMP 0303.1 – FALL– 16 – CW3(ASSMNT) – ALL - QP
COMP 10005/COMP 0303.1 Page 2 of 12
b.
If the employee belong to
Grade A bonus=20% basic
Grade B bonus=15% basic
Grade C bonus=10% basic
Grade D bonus=7% basic
Grade E bonus=5% basic
Write a Java program using classes and object to read the employee code (Integer), employee name (string),
Basic salary (double), Category (Character) then calculate the bonus (double) and the total salary (double)
eligible for each employ. The output should have the employee code, employee name, basic salary, grade
bonus and the total salay. The program must use switch-case construct for calculations. Test your
program for 5 employees.
Sample Output
Employee code : 1234
Employee Name : aaaaa
Basic Salary : 1000 OMR
Grade : A/B/C/D/E
Bonus : 1111 OMR
Total Salary : Basic salary + Bonus
Students are instructed to show the 5 test cases for the above scenario 5
1.3
Write a Java program to declare and store numbers from 1 to 10 in a single dimensional array and
display the output in the following format. 20ITP – COMP 10005/COMP 0303.1 – FALL– 16 – CW3(ASSMNT) – ALL - QP
COMP 10005/COMP 0303.1 Page 3 of 12
1.4
a b
Oman Data Park is an organization in Oman providing IT Services to its customers. The
company has a turnover of around 2.0 Billion OMR in a year. The company has assigned
with a new project to automate the electricity bill processing using Java technology. As
a learners of Java technology you are expected to help the Oman Data Park by wring a
Java program using classes and objects that calculates and prints the monthly electricity
bill for the customers. The programs should read the customer number (Integer),
Customer name(string), previous month reading (Integer), current month reading
(Integer).
Note: Assume that OMR refers to Omani Rials
Calculations:
Units consumed=current month reading-previous month reading
First 100 units, unit rate = 1.25 OMR
Next 250 units (101-250), unit rate = 3.10 OMR
Next 300 units (251-550), unit rate = 5.00 OMR
Remaining units, unit rate = 4.00 OMR
A sample output is as follows:
Customer Id : 1234
Customer Name : xxxxxxxxxxxxxxxx
Previous Month reading : 1000
Current Month reading : 2200
Units consumed : 1200
Total amount (OMR) : 111111
Students should show the result for 5 different values
35
5
1.5
Evaluation Criteria:
You would be evaluated on the following:
Originality of answer, i.e. writing your own programs
WRITTEN VIVA: Your Assignment marks are based on the WRITTEN VIVA which will be conducted
upon submission of assignment during week 14. The WRITTEN VIVA will be based on the tasks
given in the assignment. ZERO marks will be awarded to the student if she/he is absent for VIVA.ITP – COMP 10005/COMP 0303.1 – FALL– 16 – CW3(ASSMNT) – ALL - QP
COMP 10005/COMP 0303.1 Page 4 of 12
Proper analysis of given problem, adequate covering of intended learning outcomes and
presenting the answers in good, documented form.
Adequate referencing has been done, following CU Harvard style of referencing.
Total Marks 100
Note:
Task 1.3 is compulsory. No marks will be awarded to tasks 1.1 and 1.2 without written
viva.
Do not copy from your friend's work or from any other student work. You are required to
submit the assignment proposal on or before 8 PM, Thursday November 20,2016. Do
note that there are marks for the proposal submission. A qualitative, formative feedback
shall be provided for the submitted proposal on/before November 17, 2016. You may
then improve and submit the final assignment well before the final deadline on or before
11:59 PM, January 05,2017. Then you need to take a written viva with your teacher during
week 14 in the class.
Guidelines
You need to submit a work proposal for this assignment in the form of a completed Word
document on Moodle. You need to upload a final soft copy of your assignment in a word file
before the date/time indicated at the Assignment Submission area in Moodle only. Be careful
about plagiarism! Refer to the Amended MEC policy on plagiarism in MIG and Student Handbook.
Assignment must be submitted well before the deadline and it is the responsibility of the
student to check if the correct file has been uploaded. Any invalid file submission shall be
rewarded as ZERO mark for that component! Penalty for late submission – 5 % of the mark
obtained for the assessment shall be deducted for each working day. Assignments submitted
beyond a period of one week since the deadline will not be accepted and will be marked as ZERO
for that assessment.
Assignment should be typed in MS Word and submitted via Moodle.ITP – COMP 10005/COMP 0303.1 – FALL– 16 – CW3(ASSMNT) – ALL - QP
COMP 10005/COMP 0303.1 Page 5 of 12
Handwritten assignments will not be accepted
Indicate Page Numbers on all pages.
Assignment should have a Title Page, Table of Contents. Title Page should contain the
following information: Module & Session Name, Student ID Number/Name
The Table of Contents should have, each deliverable task number, content, page number
Assignment should be typed in your own words using Times New Roman font size 12.
Heading should be with Font Size 14, Bold, Underline
Plagiarism Policy:
DO NOT DIRECTLY COPY/PASTE FROM INTERNET/BOOKS! DO NOT COPY FROM OTHER
STUDENT WORKS! PRODUCE YOUR OWN UNIQUE ASSIGNMENT SOLUTION REPORT. THE
WORK SUBMITTED MUST BE YOUR OWN AND MUST NOT BE BASED ON ANY KIND OF INPUTS
FROM OTHERS. YOUR ASSIGNMENTS SHALL BE SUBMITTED TO ELECTRONIC DATABASES TO
IDENTIFY PLAGIARISM. IF ASSIGNMENT IS FOUND TO BE PLAGIARISED, ACTION WILL BE
INITIATED. PLEASE REFER TO THE AMENDED MEC POLICY ON PLAGIARISM FOR MORE DETAILS
AS GIVEN BELOW:
Clarification on Plagiarism Policy
As per MEC policy, any form of violation of academic integrity will invite severe penalty.
Plagiarised documents, in part or in whole, submitted by the students will be subject to this
policy.
A. First offence of plagiarism
a.) A student will be allowed to re-submit the assignment once, within a maximum period of
one week. However, a penalty of deduction of 25% of the marks obtained for the
resubmitted work will be imposed.
b.) Mark deduction: When the work is resubmitted, the marking will be undertaken
according to the marking criteria. In compliance with this policy, the 25% deduction is
then made on the marks obtained. For example, in an assessment that carries a maximum
of 50 marks, suppose a student were to obtain 30 marks for the resubmitted work, the
final marks for that assessment will be 22.5 (after deducting 25% of the marks actually
obtained for the resubmitted work).
c.) Period of resubmission: The student will have to resubmit the work one week from the
date he or she is advised to resubmit. For example, if the formal advice to resubmit was
communicated to the student on a Sunday (latest by 5 pm), the student will have to
resubmit the work latest by next Sunday 5 pm.ITP – COMP 10005/COMP 0303.1 – FALL– 16 – CW3(ASSMNT) – ALL - QP
COMP 10005/COMP 0303.1 Page 6 of 12
d.) If the re-submitted work is also detected to be plagiarized, then the work will be awarded
a zero.
e.) Resubmission of the work beyond the maximum period of one week will not be accepted
and the work will be awarded a zero.
B. Any further offence of plagiarism
a.) If any student is again caught in an act of plagiarism during his/her course of study (either in
the same module, same semester or in any other semester), the student will directly be
awarded zero for the work in which plagiarism is detected. In such cases, the student will not
be allowed to re-submit the work.
C. Guidelines
a.) Type 1: In case plagiarism is detected in any component or part submission (submitted at
different times) of one assessment (assignment), the deduction in marks will be
applicable for the whole assessment (assignment), even if only the component or part
submission alone needs to be resubmitted.
b.) Type 2: In case plagiarism is detected in a group assessment, all students of the group will
be considered as having committed an act of plagiarism irrespective of whether
plagiarism is on account of the act of all or a few or only one member. The policy will then
be applied to all students.
c.) Type 3: Combination of Type 1 and Type 2: In case plagiarism is detected in any
component or part submission (submitted at different times) of a group assessment
(assignment), the deduction in marks will be applicable for the whole assessment
(assignment), even if only the component or part submission alone needs to be
resubmitted. All students of the group would be considered as having committed an act
of plagiarism irrespective of whether plagiarism is on account of the act of all or a few or
only one member. The policy will then be applied to all the students of the group.
d.) Type 4: Variation of Type 1 and Type 2: In cases where the assessment consists of
components or part submissions that could be a group assessment component (e.g. group
assignment) and an individual assessment component (e.g. individual reflection), the
following will be applicable:
1. If plagiarism is detected in the group assessment component, all students of the
group will be considered as having committed an act of plagiarism, irrespective of
whether plagiarism is on account of the act of all or a few or only one member.
The policy will then be applied to all students of the group. In such cases the group
assessment component will be resubmitted as per the policy.
2. If plagiarism is detected in the individual assessment component, the individual
assessment component will be resubmitted as per the policy. The policy will then
be applied to that student alone.
3. In both cases (a) and/or (b), the deduction in marks will be applicable for the whole
assessment (assignment).ITP – COMP 10005/COMP 0303.1 – FALL– 16 – CW3(ASSMNT) – ALL - QP
COMP 10005/COMP 0303.1 Page 7 of 12
D. Amount of similar material
a.) The total amount of similar material in any form of student work from all sources put
together should not exceed 30% (including direct quotations).
b.) The total amount of quoted material (direct quotations) in any form of student work from
all sources put together should not exceed 10%.
c.) The total amount of similar material in any form of student work from a single source
should not exceed 7 percent. However, cases having a similarity of less than 7 percent in
such cases may still be investigated by the faculty depending on the seriousness of the
case.
d.) If faculty member find enough merit in the case of a student work with a similarity (with
a single source) of more than 7 percent as not a case of plagiarism, the faculty member
should provide detailed comments/remarks to justify the case.
Clarification on Late Submission Policy
Students may contact their teachers for clarification on specific details of the submission time if
required. The recommended practice at MEC is to set the cutoff time to 23:59 on the due date
for all assessment submissions.
As per the Assessment Policy at MEC, for any late submissions, a penalty of deduction of 5% of
the marks obtained for the resubmitted work will be imposed for each working day following the
last date of submission till the date of actual submission. Assessment documents submitted
beyond a period of one week after the last date of submission will not be accepted and will be
awarded a zero for that assessment.
In cases where the submission has been delayed due to extenuating circumstances, the student
may be permitted to submit the work without imposing the late submission policy stated above.
The extended period of submission will be one week from the original last date of submission. In
such cases, the student is expected to submit the supporting certificates on or before the original
last date of submission of the assessment and the decision of extension rests with faculty
responsible for the assessment .The late submission policy shall be applied if the student fails to
submit the work within one week of the original last date of submission.
This assessment shall assess the following learning outcomes and helps in acquiring the skills
identified:
Learning Outcomes Skills Acquired
Use different program control
statements in a programming language
Problem solving, analytical, decision-making,
math & logical, programming, code
documentation, testing, technical, creativity
Demonstrate the use of arrays with a
programming language
Problem solving, analytical, conceptual,
experimentation, math & logical, reasoning,
decision-making, evaluating alternatives /ITP – COMP 10005/COMP 0303.1 – FALL– 16 – CW3(ASSMNT) – ALL - QP
COMP 10005/COMP 0303.1 Page 8 of 12
solutions, practicing debugging,
programming, code documentation, testing,
technical, creativity.
Define and work with classes and objects
in a programming language
Problem solving, analytical, math & logical,
cognitive, programming, code
documentation, testing, technical, creativity.ITP – COMP 10005/COMP 0303.1 – FALL– 16 – CW3(ASSMNT) – ALL - QP
COMP 10005/COMP 0303.1 Page 9 of 12
Assessment Sheet – Basic Assignment Analysis
Introduction to Programming (COMP 10005/COMP 0303.1) Session: A/B/C/E
Student ID No.:____________ Student Name: _______________________________________________
Deliverables Aspects Mark Range: 0-4 Mark
1.1
Proposal
Submission
What you will do with the given tasks and the dates by when they will be completed 2
General overview of initial understanding of solutions to all the tasks 6
Identification of Literature Resources 2
Deliverables Aspects Range Task Grading Criteria
1.2
Implementati
on of
Switch_case
0-5
No real attempt to address the assignment brief or learning outcomes
No evidence of knowledge of key principles, classes and objects
Insufficient/no use of analytical skills and reflective practice.
Weak presentation and structure, grammar and spelling, links to supporting evidence
Little evidence of attempts to engage with module materials and learning outcomes
Little knowledge of key principles and concepts
6-10
Adequate knowledge of key principles and concepts
Some evidence of understanding of basic concepts/issues.
Detailed response to all relevant parts of the question with evidence of clear understanding of the issues.
11-15
Good knowledge or key principles and concepts, Good understanding of the issues. Engages directly with the question.
Identification and very good understanding of issues in the assessment.
Evidence of reading a good range of educational literature
Reasonable presentation, completely structured, acceptable grammar and spelling.
Generally sound understanding of basic theory and concepts. Content relevant to the question/task. Competently deals with main issues.
Detailed identification of the issues with evidence of clear understanding of the issues.
16-18
Excellent use of analytical skills and reflective practice demonstrating personal learning.
Excellent knowledge and understanding of principles and concepts.
Evidence of reading an excellent range of educational literature.
Appropriate referencing and bibliography
Good presentation, competently structured, using correct grammar and spelling.
19-21 No evidence of application of theory in practice
Content broadly relevant but with limited or little application of theory into practice
22-25
Adequate evidence of the application of theory in practice
of theory
Good knowledge of the application of theory in practice
Well-structured with evidence of independent application of reading into practice with supporting the argument.
Outstanding use of analytical skills and reflective practice demonstrating personal learning.
26-30
Each correct test cases one markITP – COMP 10005/COMP 0303.1 – FALL– 16 – CW3(ASSMNT) – ALL - QP
COMP 10005/COMP 0303.1 Page 10 of 12
1.3
Pattern
printing using
FOR loop
0-5
No real attempt to address the assignment brief or learning outcomes
No evidence of knowledge of key principles, classes and objects
Insufficient/no use of analytical skills and reflective practice.
Weak presentation and structure, grammar and spelling, links to supporting evidence
Little evidence of attempts to engage with module materials and learning outcomes
Little knowledge of key principles and concepts
6-10
Adequate knowledge of key principles and concepts
Some evidence of understanding of basic concepts/issues.
Detailed response to all relevant parts of the question with evidence of clear understanding of the issues.
11-15
Good knowledge or key principles and concepts, Good understanding of the issues. Engages directly with the question.
Identification and very good understanding of issues in the assessment.
Evidence of reading a good range of educational literature
Reasonable presentation, completely structured, acceptable grammar and spelling.
Generally sound understanding of basic theory and concepts. Content relevant to the question/task. Competently deals with main issues.
Detailed identification of the issues with evidence of clear understanding of the issues.
16-18
Excellent use of analytical skills and reflective practice demonstrating personal learning.
Excellent knowledge and understanding of principles and concepts.
Evidence of reading an excellent range of educational literature.
Appropriate referencing and bibliography
Good presentation, competently structured, using correct grammar and spelling.
19-20
No evidence of application of theory in practice
Content broadly relevant but with limited or little application of theory into practice
Adequate evidence of the application of theory in practice
of theory
Good knowledge of the application of theory in practice
Well-structured with evidence of independent application of reading into practice with supporting the argument.
Outstanding use of analytical skills and reflective practice demonstrating personal learning.
Outstanding knowledge and depth of understanding of principles and concepts and /or outstanding application of theory in practice
Evidence of reading into practice through outstanding range of educational literature.
Excellent presentation, logically structured, using correct grammar and spelling.
1.4 Electricity
Bill
processing
using
Classes
&objects
0-5
No real attempt to address the assignment brief or learning outcomes
No evidence of knowledge of key principles, classes and objects
Insufficient/no use of analytical skills and reflective practice.
Weak presentation and structure, grammar and spelling, links to supporting evidence
Little evidence of attempts to engage with module materials and learning outcomes
Little knowledge of key principles and concepts
6-10
Adequate knowledge of key principles and concepts
Some evidence of understanding of basic concepts/issues.
Detailed response to all relevant parts of the question with evidence of clear understanding of the issues.ITP – COMP 10005/COMP 0303.1 – FALL– 16 – CW3(ASSMNT) – ALL - QP
COMP 10005/COMP 0303.1 Page 11 of 12
11-15
Good knowledge or key principles and concepts, Good understanding of the issues. Engages directly with the question.
Identification and very good understanding of issues in the assessment.
Evidence of reading a good range of educational literature
Reasonable presentation, completely structured, acceptable grammar and spelling.
Generally sound understanding of basic theory and concepts. Content relevant to the question/task. Competently deals with main issues.
Detailed identification of the issues with evidence of clear understanding of the issues.
16-18
Excellent use of analytical skills and reflective practice demonstrating personal learning.
Excellent knowledge and understanding of principles and concepts.
Evidence of reading an excellent range of educational literature.
Appropriate referencing and bibliography
Good presentation, competently structured, using correct grammar and spelling.
19-24 No evidence of application of theory in practice
Content broadly relevant but with limited or little application of theory into practice
25-30
Adequate evidence of the application of theory in practice
of theory
Good knowledge of the application of theory in practice
Well-structured with evidence of independent application of reading into practice with supporting the argument.
30-35
Outstanding use of analytical skills and reflective practice demonstrating personal learning.
Outstanding knowledge and depth of understanding of principles and concepts and /or outstanding application of theory in practice
Evidence of reading into practice through outstanding range of educational literature.
Excellent presentation, logically structured, using correct grammar and spelling.
36-40 Each correct test cases one mark
Remarks:
Total Marks
Penalty
Final Marks
Name of Instructor:____________________ Signature with date: _______________________ITP – COMP 10005/COMP 0303.1 – FALL– 16 – CW3(ASSMNT) – ALL - QP
COMP 10005/COMP 0303.1 Page 12 of 12