Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Business Management Expert

Task 1: Grade Processing

University grading system maintains a database called "GradeProcessing" that contains a number of tables to store, retrieve and manipulate student marks. 'Java2' is one of the tables which contains following information/attributes for all the students enrolled in "Java2":

"ID", "StudentName", "Quiz", "A1", "A2", "A3", "Exam", "Results" and "Grade".

A sample of the table may look like as follows:

ID

StudentName

Quiz

A1

A2

A3

Exam

Results

Grade

11111111

X

100

85

100

90

90

91.75

HD

22222222

Y

100

60

80

80

75

75.5

DI

Write a JAVA Graphical User Interface (GUI) program that would perform following tasks:

  • Create Table: Create a table that is capable to store above information.
  • Insert Record:If the user of your program wants to insert a record, your program should ask for all the fields of the record and insert them in the table.
  • Search: The user of your program should be able to search for a particular record by ID or any other field.
  • Update: The user of your program should be able to update any field/s of a particular record. The record in which the update operation needs to be done will be selected by ID.
  • Calculate Results: The results of a student should be calculated using the following formula: Results = (Quiz * 0.05)+(A1* 0.15) +(A2* 0.2) + (A3* 0.10) + (Exam * 0.5)
  • Calculate Grade:

HD: Results>=85
DI: 75CR: 65PS: 50FL: Results

Note that ID must be 8-digit number, A1, A2, A3 and Exam Marks must be between 0 and 100 (inclusive), and Results must be floating-point numbers with two decimal places.

Task 2: Traffic light simulation (50 marks)

Write a JAVA program that would simulate traffic lights using the concept of Multithreading. One example is shown in the following figure. Each light has two statuses, "on" and "off". Moreover, the time of each light switching status can be set using the text input box beforehand. If the user clicks on the "Start" button, the program starts to work. While if the "End" button is clicked, the program stops working but not terminates. The program terminates only when the "X" button on right-upper corner. Please note that initially the switching time for each light would be set to "3". As shown in the last column of the following figure, you should also display the text indicating the status of the traffic light.

Business Management, Management Studies

  • Category:- Business Management
  • Reference No.:- M93105595

Have any Question?


Related Questions in Business Management

Evaluate the relationship between supply chain management

Evaluate the relationship between supply chain management and global sourcing. Provide an example of each.

1 is corporate culture an important element in an

1. Is corporate culture an important element in an organization and its strategic direction? 2. How can organizational culture be created, influenced, and changed?

Quantitative analysis for managerswhat is the essence of

Quantitative Analysis for Managers What is the essence of Decision Theory? How can the concept of decision theory be used in business, personal or academic activities?

What are your thoughts on conducing a panel interview

What are your thoughts on conducing a panel interview versus 1 x 1? Are there positions where a panel is more valuable than a multiple hurdle 1 x 1 system?

Read through the case study entitled mampl manufacturing in

Read through the Case Study entitled "M&L Manufacturing" in Chapter 3 of your textbook. Examine the historical trend this company has experienced for the two products discussed. Prepare weekly forecasts for the next four ...

Provide an example of an organization that has achieved

Provide an example of an organization that has achieved competitive success through planning and provide an example of an organization that has failed to achieve competitive success as the result of failed planning.

Assessment task 1 - research workforce requirements and

Assessment Task 1 - Research workforce requirements and develop workforce planning Performance objective This task requires you to demonstrate skills and knowledge necessary to research workforce requirements within an o ...

What is norways global health issues and how can they be

What is Norway's global health issues and how can they be combated?

What are the moralethical implications on the use of power

What are the moral/ethical implications on the use of power to influence outcomes? Do ends justify means when exerting power? Support your answer.

Consider cy y2 2y 4 many firms have access to this

Consider: C(y) = y^2+ 2y + 4. Many firms have access to this technology, in fact so many that there is not room for all to profitably operate in the industry. The market demand for the product is given by P = 30-Y , wher ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As