Recent Question/Assignment

HIGHER EDUCATION PROGRAMMES
Academic Year 2019: Jan - Jun
Formative Assessment 2: Systems Development 2 (HSYD2A161)
NQF Level, Credits: 6, 40
Weighting: 20%
Assessment Type: Practical Activities
Educator: O.Dyantyi
Examiner: S. Maduveko
Due Date: 3 May 2019
Total: 100 marks
Instructions:
This paper consists of three questions based upon work covered up to and including Units 7 - 11 of your study guide. All questions are compulsory.
Your submission will consist of:
• THREE zip folders for your java NetBeans projects
Question 1 [32 marks]
Create a java desktop application that displays the following interface:
The application must accept text in the text area and process it as follows:
1. Count the number of characters in the text.
2. Count the number of words in the text.
3. Count the number of sentences in the text.
Output must be given in a message box e.g.
Graphical Unser Interface design: (7 marks)
Layout (3 marks)
Meaningful labelling of controls (2 marks)
User-friendliness (2 marks)
Program functionality Correct, consistent execution (25 marks)
Show Stats (10 marks)
Clear button functions (10 marks) Exit button functions (5 marks)
Question 1 assesses the following learning outcomes:
1. Use Java Swing controls
2. Java Array processing
3. Java String and character processing
4. Java loop structures
Question 2 [38 marks]
Write a Java program that:
2.1 Creates an integer array of 20 elements (5 marks) 2.2 Random numbers between 0 and 1000 must populate the array (10 marks)
2.3 The program’s outputs must be:
2.3.1 The largest value in the array (4 marks)
2.3.2 The smallest value in the array (4 marks)
2.3.3 The average of the numbers in the array (4 marks)
2.3.4 The range (difference) between the largest and smallest values (3 marks)
2.3.5 Use the Java Console to display the list of numbers generated in Question 2.2.
(3 marks)
2.3.6 Use a suitable Graphical User Interface (GUI) for a dashboard and output message
box. (5 marks)
HINT: The following GUIs are only a guide. Freely design an interface of your own.
Question 2 assesses the following learning outcomes:
1. Use Java Swing controls
2. Java Array processing
3. Using Java Math functions
4. Java loop structures
5. The Java Console
Question 3 [30 marks]
A second hand shop buys goods from people all over the world. They have recently been having challenges in converting measurements. They have requested you to create an application that converts the following measurements:
• Celsius to Fahrenheit, and Fahrenheit to Celsius
• Celsius to Kevin
• Inches to Centimetres, and Centimetres to Inches
• Miles to Kilometres and Kilometres to Miles
• Pounds to Kgs, and Kgs to Pounds
Required:
1. Create the application
2. Include buttons for Convert, Clear and Exit functions
3. The system must accept negative, positive values (whole number values and also fractional values)
4. Conversions results must include decimal places
5. The system must provide simple navigation
6. Suitable prompts and messages must be given on the screen to assist users
7. Outputs must be appropriately sized and coloured for easy viewing
Question 3 assesses the following learning outcomes:
1. Use Java Swing controls
2. Java event handling
3. Using Java formulas 4. GUI design concepts
Notes:
1. The Graphical User interfaces are just a guideline to design. The student may suggest better design.
2. The rubric attached to this requirements specification provides a guideline to how the application must operate.
Criteria Total Marks
Interface design Very good, appropriate GUI implemented
System is user friendly
All controls well-spaced out and appropriately labelled Good, appropriate
GUI implemented
System is user friendly
Most controls wellspaced out and appropriately labelled Good, appropriate
GUI implemented
System is fairly user friendly
Some controls not well
spaced out and inappropriately labelled Poor GUI implemented
System is NOT user friendly
The controls are poorly spaced out and inappropriately labelled Very little to None evidence of GUI submitted
9-10 7-8 5-6 2-4 0-1
Functionality The system features works perfectly as per specification. Most system features work correctly as per specification Key system features work correctly as per specification Some features do not work as required Most features do not work as required
System behavior inconsistent System does not work
9-10 8-9 5-7 1-4 0
Non-functional requirements (Ilities) The system design meets the non-functional requirements
specification completely The system design meets the major nonfunctional requirements specification with minor shortcomings. The system design meets most of the nonfunctional requirements, but fails to deliver on some major nonfunctional requirements.
The system design does not meet the nonfunctional requirements given No system submitted
9-10 8-9 5-7 1-4 0 /30
7 HSYD2A161-Jul-Dec2018-FA2-StM-V2-12112018

Looking for answers ?


Recent Questions