Sei sulla pagina 1di 20

ASSIGNMENT FRONT SHEET <No.

2>
Qualification

BTEC HND Diploma in Computing and Systems Development

Unit number and

Unit 41: Programming in Java

title
Assignment due

Assignment submitted

Learners name

Assessor name

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

Date

Grading grid
P3.

P3.

P3.

P3.

P3.

M1 M2

D1

D2

D3

Assignment title

Research Proposal

In this assignment, you will have opportunities to provide evidence against the following criteria.
Indicate the page numbers where the evidence can be found.

Assessment criteria

Expected evidence

Task
no.

LO3. Be able to implement Java solutions


3.1 implement a Java
programming solution
based on a prepared

3
Show and explain the design
solution.

design
3.2 define relationships
between objects to
implement design
requirements
3.3 implement object

Using the control structures

behaviours using

effectively such as: branching,

control structures to

selection, loop statements.


2

Assessors Feedback

3.4 identify and


implement

Java Programming code with

opportunities for error

exception handling and user

3.5 make effective use

interfaces

of an Integrated
Development

Assessment criteria

Expected Evidence

Feedback
(note on Merit/Distinction if applicable)

Merit descriptor No. (M1)


Merit descriptor No. (M2)
Merit descriptor No. (M3)
Distinction descriptor No.
(D1)
Distinction descriptor No.
(D2)
Distinction descriptor No.
(D3)

Summative feedback

Assessors

Date

Signature

Database diagram

Class

Staf

id

id

name

password

year

Mark
studentid
courseid

Student

mark

id
name
classid
password
dob
address
gender

Course

phone

id
name
[level]
testingtype
classroom

3.1 implement a Java programming solution based on a prepared design


I have implemented the Student Management System based the design described
above. Inheritance hierarchy is used wherever possible to implement classes

3.2 define relationships between objects to implement design


requirements

3.3 implement object behaviours using control structures to meet the


design algorithms

10

11

12

3.4 identify and implement opportunities for error handling and reporting

13

14

3.5 make efective use of an Integrated Development Environment (IDE)


including code and screen templates
The application is developed in NET Beans IDE because IDEs are helpful in code
writing and managing the files more easily.
It is helpful for us to create derived classes for the existing classes also. For example
if i want to create a derive class from an existing class that java provided. It will
automatically generate basic functionality for the class like the constructor. If i want
to override a base class method then the basic structure of the function is
generated.

15

In the application Student Management System I have used Net Beans and its
code templates and screen templates are used to generate the application
functionality.
Invoking Code Completion
Press Ctr-Space (or choose Source > Complete Code from the main menu) to open
the code completion box. While you are typing, the list of suggestions shortens. The
suggestions listed include those imported in your source file and symbols from
the java.langpackage.

When the Auto Popup Completion Window checkbox is disabled, you need to
press Ctr-Space each time you want to use code completion.
Smart Suggestions at the Top
In the NetBeans IDE, Java code completion is "smart," which means that the
suggestions that are the most relevant for the context of your code are displayed at
the top, above the black line in the code completion window.
16

In the example below, the editor suggests inserting the LinkedHashMapconstructor


from the java.util package.
If the "smart" suggestions are not the ones you want to use, press Ctr-Spaceagain to

see a complete list.

Completing Keywords
Use code completion (Ctr-Space) to complete keywords in your code. The editor
analyzes the context and suggests the most relevant keywords.
In the example on the left, the ColorChooserDemoclass extends the JPanel class. You
can quickly add the keyword extends from the suggested items.

Common Prefix Completion

17

You can use the Tab key to quickly fill in the most commonly used prefixes and single
suggestions.
To check out how this feature works, try typing the following:
o Type System.out.p and wait for code completion to show all fields and
methods that start with "p." All the suggestions will be related to "print."
o Press the Tab key and the editor automatically fills in the "print". You can
continue and type "l" and, after pressing Tab, the "println" will be added.

Using Code Templates


Code templates are marked with the

icon in the code completion window.

We can do one of the following:


o Select a template from the code completion window and press Enter or
o Type the abbreviation for this template and press the key that expands this
template (by default, Tab).
In the expanded template, editable parts are displayed as blue boxes. Use
the Tab key to go through the parts that you need to edit.

18

Adding code template

To customize Code Templates:


1. Choose Tools > Options > Editor > Code Templates.
2. From the Language drop down list, select Java (or whichever language you
want to create a code template for). The list of abbreviations and associated
templates is displayed.
3. Use the New and Remove buttons to add or remove templates in the list. To
edit an existing template, select the template and edit the code in the
Expanded Text field below the list.
4. Choose the key which will be used to expand the templates. The default key
is Tab.
Some evaluate questions about this application

19

1
2

Feedback Questions
What do you think about the UI of this application?
What do you think about the functions of this application?

3
4

This application is friendly using?


What do you think about error handling of this application?

This application is good for managing big system?

20

Potrebbero piacerti anche