Programming in Java Assignment

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 8
At a glance
Powered by AI
The key takeaways from this document are that it outlines an assignment for a programming in Java course. The assignment focuses on designing, implementing, testing and documenting a Java program solution based on several learning outcomes.

The purpose of this assignment is for the student to provide evidence that they have met the pass criteria for the specified learning outcomes related to programming in Java.

The learning outcomes being assessed cover understanding Java principles and features, designing Java solutions, implementing Java solutions, and testing and documenting Java solutions.

Assignment front sheet

Qualification

Unit number and title

Pearson BTEC HND Diploma in Computing and Systems Development

Unit 41: Programming in Java

Student name

Assessor name

Date issued

Completion date

Wednesday 12th October,2016

Wednesday 26th October,2016

Assignment title

LO

LO1

LO2

Learning
Outcome
Understand the
principles of
programming in
Java
Be able to design
Java solutions

Design, Implement and Test the Java Solutions

Assessmen
t Criteria
1.1

Critically evaluate the environmental


flexibility of programming in Java

2.1

Design a Java programming solution to a


given problem
Explain the components and data and file
structures required to implement a given
design
Implement a Java programming solution
based on a prepared design
Define relationships between objects to
implement design requirements
Implement object behaviours using
control structures to meet the design
algorithms
Identify and implement opportunities for
error handling and reporting
Make effective use of an Integrated
Development Environment (IDE)
including code and screen templates
Critically review and test a Java
programming solution
Analyse actual test results against
expected results to identify discrepancies
evaluate independent feedback on a
developed Java program solution and
make recommendations for
improvements
Create user documentation for the
developed Java program solution
Create technical documentation for the
support and maintenance of a Java
program solution

2.2

3.2
Be able to
implement Java
solutions

3.3
3.4
3.5
4.1

LO4
Be able to test
and document
Java solutions

In this assessment you will have the


opportunity to present evidence that
shows you are able to:
Discuss the principles, characteristics
and features of programming in Java

1.2

3.1

LO3

Mr Himanshu Arora
Submitted on

4.2
4.3

4.4
4.5

Tas
k
no.

Evidence
(Page no)

1
2
3

4
5
6
7
8
9
10
11
12
13
14

Learner declaration
I certify that the work submitted for this assignment is my own and research sources are fully
acknowledged.

Student signature:

Date:

In addition to the above PASS criteria, this assignment gives you the opportunity to submit
evidence in order to achieve the following MERIT and DISTINCTION grades.
Grade Descriptor
M1 Identify and apply
strategies to find
appropriate solutions

M2 Select/design and
apply appropriate
methods/techniques

Indicative
characteristic/s
Effective judgements
have been made

Technical documentation
is appropriate and
appropriate tools have
been used.

Contextualisation
To achieve M1, you must Understand
Characteristics: Java Virtual Machine (JVM); Java
platform; classed-based; object-oriented;
compilers.
Reasons for choice of language: organisational
policy; suitability of features and tools
To achieve M2, you must produce technical
documentation that includes Data structures:
public instance variables; private instance
variables; naming conventions; arrays (onedimensional, two-dimensional);

M3 Present and
The communication is
communicate appropriate
appropriate for familiar
findings
and unfamiliar
audiences and
appropriate media have
been used

To achieve M3, you must produce Requirements


specification: overview e.g. inputs, outputs,
processing, user interface; constraints e.g.
hardware platforms

D1 Use critical reflection


to evaluate own work and
justify valid conclusions

To achieve D1, you must independently take


Classes: features e.g. identification attributes,
methods, control of scope of attributes and
Methods
Programming: use of conventional language
commands; use of library classes; pre-defined
e.g. class libraries, downloaded, imported

Critical techniques have


been justified and
demonstrated.

Program design: tools e.g. structure diagrams,


data flow diagrams, entity relationship models,
flow charts, pseudo code, class diagrams

To achieve D2, you must independently take


D2 Take responsibility for
responsibility for Complexity: multiple classes;
managing and organising
activities
inheritance; reuse of objects; application of
Autonomy and
independence has been polymorphism
demonstrated
Mechanisms: methods e.g. valid declarations,
debugging code, checking naming conventions,
, compiler errors, runtime errors, in code
response, dry running
To achieve D3, you must demonstrate
D3 Demonstrate
Feedback: record feedback, e.g. surveys,
convergent/lateral/
Demonstrate with
questionnaire, interviews;
creative thinking
creative thinking and
Supportive documentation: test plan; test
appropriate tools have
results; programmer guidance; user guidance
been used.
Review: design against specification
requirements

Assignment brief
Unit number and title

Unit 41: Programming in Java

Qualification

Pearson BTEC HND Diploma in Computing and Systems Development

Start date

Wednesday 12th October,2016

Deadline/hand-in

Wednesday 26th October,2016

Assessor

Mr Himanshu Arora

Assignment title

Design, Implement and Test the Java Sloutions

Purpose of this assignment


To provide learners with an understanding of the principles of programming in Java, exploring the
Object oriented nature of the language and the multi-platform versatility offered.
This assignment provides the opportunity to develop their understanding of the Java programming
language and develop code suited to a range of platforms. The development of systems with Java
objects simplifies the task of creating and maintaining complex applications.

Scenario
An electronic shop has announced the following seasonal discounts on the purchase of
certain items:
Purchase Amount In Rs
0-25000
25001-50000
More than 50000

Discount on TV
5%
10%
15%

Discount on Music System


10%
20%
30%

Develop an application based on the above criteria, to input amount of purchase and the
type of purchase ( TV or Music System using JRadioButton) by a customer.
Compute and print the net amount to be paid by a customer along with his name accepted
in a text field.
[Hint: Discount = ( Discount rate / 100) * Amount of purchase
Net amount = amount of purchase - discount).]
Task 1:
Critically evaluate the principles, characteristics and features i.e. Java Virtual Machine (JVM), Java
platform, classed-based, object-oriented, compilers, class libraries, applications, applets of
programming in Java.
Task 2:
Evaluate the environmental flexibility of programming in Java that is why java is compatible with any
environment.
Task 3:
Design a Java programming solution to a given design (Scenario)

Task 4:
Evaluate the various components and data and file structures that are required to implement a given
design.
Task 5:
Implement a Java programming solution with the use of classes, inheritance, polymorphism,
aggregation based on a prepared design.
Task 6:
Analyse and Define the relationships between objects in the given scenario to implement design
requirements.
Task 7:
Implement object behaviours using control structures (if else, for, switch) to meet the design
algorithms of the scenario given above.
Task 8:
Identify and implement opportunities for error handling and reporting in the given design.
Task 9:
Support with the help of example so as to make effective use of an Integrated Development
Environment (IDE) including coding and screen templates including classes, programming and
complexity of program.
Task 10:
Critically analyse, review and test a Java programming solution using debugging code, dry running,
and checking functionality against requirements for error detection.
Task 11:
Evaluate and analyse actual test results against expected results to identify discrepancies, if any.
Task 12:
Discuss and record the feedback by using surveys, questionnaire, interviews in the form of on a
developed Java program solution and also analyse feedback to make recommendations for
improvements
Task 13:
Provide/Support user documentation i.e. test plan, test results, programmer guidance, user guidance
for the developed Java program solution
Task 14:
To enhance support and maintenance of a Java program solution, analyse and give technical
documentation.

Evidence
checklist

Summary of evidence required by student

Task 1

A Report that shows the principles, characteristics and features of Java


Programming.

Task 2

A Report that displays the environmental flexibility of programming in Java

Task 3

A PowerPoint Presentation with screenshots for Designing a Java


programming solution to a given scenario.

Task 4

A Report that includes various components and data and file structures that
is required to implement a given design.

Task 5

Practically implement the Java programming solution based on a prepared


design.

Task 6

Build and observe the relationships between objects in the given scenario to
implement design requirements.

Task 7

Practically implement using code to identify the object behaviours using


control structures (if else, for, switch) to meet the design algorithms of the
scenario given above.

Task 8

A Report which shows the opportunities for error handling and reporting in
the given design.

Task 9

Observe and implement the effective use of an Integrated Development


Environment (IDE) including coding and screen templates including classes,
programming and complexity of program.

Task 10

A PowerPoint Presentation with screenshots that shows how to critically


review and test a Java programming solution

Task 11

A PowerPoint Presentation with screenshots having analysing actual test


results against expected results to identify discrepancies.

Task 12

A Report that shows the evaluated feedback on a developed Java program


solution and also recommendations for improvements.

Task 13

A document that shows how to create user documentation for the


developed Java program solution.

Task 14

A Report that includes the technical documentation for the support and
maintenance of a Java program solution.

Evidence
presented

Achievement Summary
Qualification
Unit Number and
title

Pearson BTEC HND Diploma in


Computing and Systems Development
Unit 41: Programming in Java

Assessor
name
Student
name

Mr Himanshu Arora

Criteria
Referenc
e
LO1

To achieve the criteria the evidence must show that the


student is able to:

1.1

Understand the Characteristics: Java Virtual Machine (JVM); Java


platform; classed-based; object-oriented; compilers; class
libraries; applications; applets; object models; enforced error
handling;
concurrency; threads, multi-platform
Reasons for choice of language: organisational policy; suitability of
features and tools; availability of trained staff; reliability;
development and maintenance costs; expandability
Discuss Data types: constants and literals; integer; floating point;
byte; date; boolean; others e.g. character, string, small int; choice
of data types e.g. additional validation, efficiency of storage
Environment: features e.g. interpreted, run time environment,
system specific libraries
Programming syntax: features e.g. command rules, variable
declaration, class/method declaration

1.2

LO2
2.1

Understand the Program design: tools e.g. structure diagrams,


data flow diagrams, entity relationship models, flow charts, pseudo
code, class diagrams, class responsibilities, collaboration cards;
inheritance

2.2

Discuss Technical documentation: requirements specification;


others as appropriate to language e.g. form design, flowcharts,
pseudo code, structured English, action charts, data dictionary,
class and instance diagrams

LO3
3.1

3.2
3.3
3.4
3.5
LO4
4.1

4.2
4.3
4.4

Discuss the concept of Classes: features e.g. identification


attributes, methods, control of scope of attributes and methods,
inheritance, aggregation, association, polymorphism
Understand the relationships between objects to implement design
requirements like methods, inheritance, aggregation, association,
polymorphism
Discuss various Programming: use of conventional language
commands; use of library classes; pre-defined e.g. class libraries,
downloaded, imported
Understand the concepts of Complexity: multiple classes;
inheritance, reuse of objects; application of polymorphism
Understand the effective use of an Integrated Development
Environment (IDE) including code and screen templates
Understand the concept of testing Mechanisms: methods e.g. valid
declarations, debugging code, checking naming conventions,
checking functionality against requirements, error detection, error
messages
Discuss about error detection, error messages, compiler errors,
runtime errors, in code response, dry running
Be able to understand the concept of Feedback: record feedback,
e.g. surveys, questionnaire, interviews; analyse feedback; present
results
Discuss about Supportive documentation: test plan; test results;
programmer guidance; user guidance

Achieved?
(tick)

4.5

Understand the Review: design against specification requirements,


interim reviews

Higher Grade achievements (where applicable)


Grade descriptor

Achieved
?
(tick)

Grade descriptor

M1: Identify and apply strategies to


find appropriate solutions

D1: Use critical reflection to


evaluate own work and
justify valid conclusions

M2: Select / design and apply


appropriate methods / techniques

D2: Take responsibility for


managing and organising
activities

M3: Present and communicate


appropriate findings

D3: Demonstrate
convergent/lateral/creative
thinking

Achieved
?
(tick)

Assignment Feedback
Formative Feedback: Assessor to Student

Action Plan

Summative feedback

Feedback: Student to Assessor

Assessor signature

Date

Student signature

Date

You might also like