Analyse a simple data processing problem

Assignment Help JAVA Programming
Reference no: EM132931400

Java - Programming Environment

Objectives:

• Analyse a simple data processing problem to correctly identify the data and high-level processing involved.

• Apply the basic programming construct of selection to develop pseudocode that solves simple data processing problems

• Use appropriate programming tools to develop an effective computer program from pseudocode

• Specify and execute test plans for pseudocode and programming code

• Develop external documentation for the process of converting a simple data processing problem into a computer program

• Internally document a computer program with appropriate comments.

Task 1: Pseudocode

Write a pseudocode for the Ticketing Program that will allow a user to buy multiple tickets across different ticket categories, and then display a summary of what they have purchased.

In greater detail you will need to create a program that will:

• Ask the user to select a category of tickets to purchase

• Ask the user to enter the number of tickets to be purchased

• Display a summary message regarding the number of tickets to be purchased

• Ask the user to confirm the purchase by pressing ‘Y' (If they do not wish to confirm, the program should return to the Main Menu)

• The program should display the total amount for the number of tickets purchased through the selected category

• The program should then ask if the user wishes to purchase tickets from another category

? If Yes, then the program should return to the Main Menu, with a summary of what they have purchased underneath.

? If No, the user should be given an overall summary of what they have purchased in all categories, including a grand total, and the program should then exit

Figure1 below shows an example of the expected program output

Task 2: Data dictionary

Write a Data dictionary for the corresponding pseudocode written in Task 1.

You should enter at least 10 variables.

Variable name

Type

Length

Acceptable

Description

 

 

 

values

 

 

 

 

 

 

 

 

 

 

 

Task 3: Desk check

Desk-check the pseudo code written in Task 1 using at least two test datasets. Provide both the test data table and desk-check table.

Use the template given below to complete your answer.

Test data table:

 

 

 

Input

 

Expected Total

First

Variable

 

Value

Variable

 

Value

dataset

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Second

Variable

 

Value

Variable

 

Value

dataset

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Desk check table:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Line

 

 

Variables

 

 

 

Input/Output

Number

 

 

 

 

 

 

 

 

 

1

 

 

 

 

 

 

 

 

 

2

 

 

 

 

 

 

 

 

 

3

 

 

 

 

 

 

 

 

 

4

 

 

 

 

 

 

 

 

 

5

 

 

 

 

 

 

 

 

 

6

 

 

 

 

 

 

 

 

 

Task 4: Programming

Write a program based on the pseudocode and data dictionary you designed in Task 1 and Task 2

• The program should match the logic specified in the pseudo code.

• The code should be easy to read and understand.

• The code should be well formatted.

• The program should use meaningful variable names

• The code should be well documented. This should include comments about the program: program name, purpose, author; comments describing each variable and comments on each section of the program.

Task 5: Testing

Test the program by providing screen shot using the following test data:

• Child: Number of tickets = 5
• Adult: Number of tickets = 10
• Senior: Number of tickets = 2

Reference no: EM132931400

Questions Cloud

What other kinds of questions might be answered : What other kinds of questions might be answered using the cladogram and data tables?
What could have been done in situation to ensure behavior : For example, have you seen unintended effects of rewards at work or in the classroom or rewards based on criteria unrelated to performance?
Physician-assisted suicide : India has different set of beliefs, tradition and laws. If in any case, could the Supreme Court may have possibly accepted the plea for active/passive euthanasi
How did learning content about ethical leadership : What would be your response to the question at the end of the dilemma that you chose? How did our learning content about ethical leadership
Analyse a simple data processing problem : Analyse a simple data processing problem to correctly identify the data and high-level processing involved and Develop external documentation for the process
CSSE1001 Introduction to Software Engineering Assignment : CSSE1001 Introduction to Software Engineering Assignment Help and Solution, The University of Queensland - Assessment Writing Service
What percent of the 3000 cases were newly diagnosed in 2014 : A prevalence survey conducted from January 1 through December 31, 2014 identified 3000 cases of leukemia in a city of 2 million persons.
What was the cause-specific mortality rate from cholera : In a European country with a population of 10 million people, 40,000 deaths occurred during the year ending December 31, 2012.
How are modern humans different than neandertals : 1. Provide a description of Modern Human anatomy and of modern human behaviour. How are modern humans different than Neandertals?

Reviews

Write a Review

JAVA Programming Questions & Answers

  Recursive factorial program

Write a class Array that encapsulates an array and provides bounds-checked access. Create a recursive factorial program that prompts the user for an integer N and writes out a series of equations representing the calculation of N!.

  Hunt the wumpus game

Reprot on Hunt the Wumpus Game has Source Code listing, screen captures and UML design here and also, may include Javadoc source here.

  Create a gui interface

Create GUI Interface in java programing with these function: Sort by last name and print all employees info, Sort by job title and print all employees info, Sort by weekly salary and print all employees info, search by job title and print that emp..

  Plot pois on a graph

Write a JAVA program that would get the locations of all the POIs from the file and plot them on a map.

  Write a university grading system in java

University grading system maintains number of tables to store, retrieve and manipulate student marks. Write a JAVA program that would simulate a number of cars.

  Wolves and sheep: design a game

This project is designed a game in java. you choose whether you'd like to write a wolf or a sheep agent. Then, you are assigned to either a "sheep" or a "wolf" team.

  Build a graphical user interface for displaying the image

Build a graphical user interface for displaying the image groups (= cluster) in JMJRST. Design and implement using a Swing interface.

  Determine the day of the week for new year''s day

This assignment contains a java project. Project evaluates the day of the week for New Year's Day.

  Write a java windowed application

Write a Java windowed application to do online quiz on general knowledge and the application also displays the quiz result.

  Input pairs of natural numbers

Java program to input pairs of natural numbers.

  Create classes implement java interface

Interface that contains a generic type. Create two classes that implement this interface.

  Java class, array, link list , generic class

These 14 questions covers java class, Array, link list , generic class.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd