100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Other

Assignment

Rating
-
Sold
-
Pages
46
Uploaded on
24-11-2024
Written in
2019/2020

Assignment 1 and 2

Institution
Course











Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Study Level
Examinator
Subject
Unit

Document information

Uploaded on
November 24, 2024
Number of pages
46
Written in
2019/2020
Type
Other
Person
Unknown

Subjects

Content preview

Unit 15-Object Oriented Programming

Assignment 1




1

,Contents

Task 1.....................................................................................................................................................4
Task 1a) Requirements of the program.............................................................................................4
The objectives of this application are that:........................................................................................4
Inputs and Outputs and Processes.....................................................................................................4
Functions in this program..................................................................................................................5
Procedures in this program...............................................................................................................5
Task 1b) Design Documentation........................................................................................................5
Mock-ups with annotations...............................................................................................................6
Splash Screen TOE Chart....................................................................................................................6
Main Form Toe Chart.........................................................................................................................8
Data Dictionary..................................................................................................................................9
Property Listing................................................................................................................................10
Class Diagram...................................................................................................................................11
Task 2...................................................................................................................................................13
Task 2a) Building, Debugging and Compiling A Program..................................................................13
2C) Summary of how my program will work with form and annotations........................................13
Task 3...................................................................................................................................................14
A) Definition and Importance of each testing technique.................................................................15
Compatibility Testing.......................................................................................................................15
Alpha Testing...................................................................................................................................15
Beta Testing.....................................................................................................................................15
Functional Testing............................................................................................................................16
Non-Functional Testing....................................................................................................................16
Destructive Testing..........................................................................................................................16
Usability Testing...............................................................................................................................16
B) Produce a test plan with table of 46 tests...................................................................................17
C) Produce a table that details what test applies to which objectives.............................................30
Task 4...................................................................................................................................................31
Syntax Error.....................................................................................................................................31
Logic Error........................................................................................................................................31
Run-type Error.................................................................................................................................31
Six errors that occurred in my code and how I fixed them..............................................................31
How does the debugging process help with the correction of errors that occur?...........................33


2

,Task 5...................................................................................................................................................35
User documentation and technical documentation for my train ticketing system..........................35
Basic Operation of the program.......................................................................................................35
How to make changes to the GUI....................................................................................................35
How to add code to a newly added object......................................................................................36
FAQs.................................................................................................................................................37
What happens if you agree to the terms and conditions and what if you decline?.....................37
How to calculate your ticket costs?.............................................................................................37
How to pay for your tickets?........................................................................................................37
What happens after you pay?......................................................................................................37
How to print the receipt?............................................................................................................38
Task 6...................................................................................................................................................38
Annotate each feature/item on my program on each form that qualify to be user-friendly?.........38
Explain how my comments in the program are useful?...................................................................40
Explain why the names that you have used for variables in my program are useful?.....................41
Explain the importance of validation of input of data/choice from the user?.................................43
Suggest 3 recommendations of how the program could be improved?..........................................43
How would these recommendations would enhance user experience or the program objectives?
.........................................................................................................................................................44
Provide two examples of coding techniques that your learnt while developing your program.......44
References...........................................................................................................................................45




P3

3

, Task 1

Task 1a) Requirements of the program

In this task I will be talking about the requirements and objectives of this program that I will build.
This task will outline how my program will function.

The program is so that Arima Railways can have a computer application to reduce the need for train
and tram tickets at railway stations and tram stops. This is so they don’t waste money on printing
extra paper and so they are able to profit and so lots of people don’t queue at the train and tram
stations before their journey. This way people can just book at home and just go on the train when
they need to go. Moreover, Arima Railways have a staff shortage as they are required to balance
their accounts to avoid administration. With this application it will be a blessing for the company.

The objectives of this application are that:

 The Graphic User Interface (GUI) should be user-friendly so that users find it easy to use,
easy to understand without any difficulty and that users can see the screen clearly.
 One way we could it user-friendly by having a help button which when pressed will lead you
to a webpage which will give the users help if they struggle to understand the application.
 The users of this application should be able to pick their starting place and destination place
of their journey.
 The user should be able to pick how many tickets they want to buy and what type of tickets
they want to purchase e.g. student, adult, etc.
 The program should have an option for the user to be able to choose what they want to pay
with e.g. MasterCard, Visa, etc. Be able to see how much they need to pay.
 The users should be able to print the receipt of the tickets.

Inputs and Outputs and Processes

This is the input, outputs and processes table (see table 1 below) which shows what I inputted into
the program, how it was calculated and what will be outputted in the program.
Table 1: Input Output Processes Table

Inputs Processes Output
Book 2 adult tickets and 2*30 = £60 for Adult £100
1 child tickets to travel 1*20 = £20 for Child 2 Adults
on a single economy +£20 for Economy 1 Child
ticket from Manchester Economy
to Leeds at 4pm on 2- £60 + £20 + £20 = £100 Manchester
Nov-20 Leeds
4pm
2-Nov-2020

Book 2 student tickets 2*25=£50 for Student £75
on a single business +£25 for Economy 2 Students
ticket to travel from Business

4
$4.11
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached

Get to know the seller
Seller avatar
aj5314340

Get to know the seller

Seller avatar
aj5314340 None
Follow You need to be logged in order to follow users or courses
Sold
0
Member since
1 year
Number of followers
0
Documents
3
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions