Problem regarding the grade processing

Assignment Help Business Management
Reference no: EM132118127

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.

Reference no: EM132118127

Questions Cloud

Discuss both biological and social contributions : From your textbook and any other readings on sexual development, briefly discuss both biological and social contributions to the development of sexual identity.
Is the industry in growth or decline : Using Porter's 5 Forces model, assess the company you will be analyzing for your Employer SWOT assignments (presentation and paper).
At what amount will client revenue earned : Jasper's unadjusted trial balance reports Unearned Client Revenue of $4,000, At what amount will Client Revenue Earned be reported
Summarize the high profile case you have chosen : Summarize the high profile case you have chosen. Describe how rational choice or trait theory apply to the case; if both apply, explain how they apply.
Problem regarding the grade processing : University grading system maintains a database called "GradeProcessing" that contains a number of tables to store, retrieve and manipulate student marks
Determine the amount of income taxes payable : Income Taxes Expense of $70,000, Determine the amount of income taxes payable reported in the balance sheet dated December 31, 2015
Industry product choose between competing brands of sellers : On what basis do buyers of the industry’s product choose between the competing brands of sellers? What product attributes are crucial?
What is the stock value : Suppose the riskiness of the stock decreases, which causes the required rate of return to fall to 13 percent, under these conditions, what is the stock's value
Describles the lf time for activity in project : Which of the following statements describles the LF time for an activity in a project?

Reviews

Write a Review

Business Management Questions & Answers

  How is door to door selling a form of retailing

In what ways does the use of scrambled merchandising affect a store's image?- How is door-to-door selling a form of retailing?

  Calculate those elements from the third element

Write a MATLAB program in a script file using a for-loop that determines and displays the first 20 Fibonacci numbers. Hint: Initialize the first and second elements to be 0 and 1, respectively, and calculate those elements from the third element on..

  How has your iphone changed your career

Identify two (2) technological innovations that have changed the fundamental manner in which companies have conducted business over the last 20 years, and recognize one (1) aspect of each that has impacted your own career. What piece of technol..

  What is anova, and when is it used

Explain why the statistical significance of a correlation is important. That is, what must be assumed when the correlation is found to not be statistically significant?

  How would you pitch job security

how would you pitch job security and stability over salary - Pitching job security

  What is the present worth of the contract

The company's computer system uses fluid structure interaction modeling to test and analyze eachairbag design concept. What is the present worth of the contract at 10% per year interest ifthe annual cost (years 1 through 5) is $8 million per year?

  Medium sized manufacturer and sells products

This client is a medium sized manufacturer and sells products worldwide. The client has explained that recently the company's research and development team determined their product line needed to be revamped to create high-end designer products to..

  Transformational leadership in a transformational culture

How impactful is transformational leadership in a transformational culture? Have you experienced transformational leadership? Please explain the experience.

  Appropriate multiplicity and referential integrity

Identify all the appropriate multiplicity and referential integrity constraints in the diagram. Indicate key attributes in each entity set.

  Identify an ethical challenge facing companies today

Then, describe a company managing that issue in a socially responsible way and a company managing the issue in an irresponsible way.

  Do you think that pure p2p architectures will be popular in

routingyou suspect that the failure of a router or of a transmission line connecting routers has left some of your

  Diversifying in related businesses

Diversifying in related businesses - When diversifying in related businesses, such as horizontal relationships, the firm benefits from leveraging core competencies and sharing activities.

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