Write a multi-threading animation program for selection sort

Assignment Help JAVA Programming
Reference no: EM132384931

Assignment

Task 1: Grade Processing

University grading system maintains a database called "GradeProcessing" that contains number of tables to store, retrieve and manipulate student marks. `Java2' is one of the tables which contains following attributes for all the students enrolled in "Java2": "ID", "Name", "Quiz", "Al", "A2", "Exam", "CumulativeMark" and "Grade". A sample of the table may look like as follows:

ID

Name Quiz A1 A2 Exam CumulativeMark Grade

11111111

X

100

85

100

88

90.55

HD

22222222

Y

100

60

80

75

75.00

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 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 for update nneration will be

• Calculate Results: The Cumulative Mark of a student would be calculated using the following formula: CumulativeMark = (Quiz * 0.05)+(A1* 0.15) +(A2* 0.2) + (Exam * 0.6)

• Calculate Grade:

HD: CumulativeMark>=85

DI: 75<=Cu m u lativeM a rk<85

CR: 65aCumulativeMark<75

PS: 50<=Cu m u lativeM a rk<65

FL: CumulativeMark<50

Note that, ID must be 8-digit number, Al, A2, and Exam marks must be between 0 and 100 (inclusive), and CumulativeMark must be floating-point numbers with two decimal places.

Task 2: Sorting Animation using Multi-threading and JavaFx GUI

Write a multi-threading animation program for selection sort, insertion sort, and bubble sort using JavaFx GUI. Some sample outputs of the program is shown below.

Create an array of integers 1,2,...,30 and shuffle the elements of the array randomly. Create a pane to display the array in a histogram.

You should invoke each sorting method in a separate thread. Each algorithm uses two nested loops. When the algorithm completes an iteration in the outer loop, put the thread to sleep for 0.8 seconds, and re-display the array in the histogram, color the last bar in the sorted sub-array.

Reference no: EM132384931

Questions Cloud

Chance of getting an a in marketing : Exams are approaching and Helen is allocating time to studying for exams. She plays for the very successful women's lacrosse team and must schedule
Create a resource guide for your community on services : Create a resource guide for your community (Mississippi) on services available that might help children and or families. This does not have to be an extensive.
Percentage of single-earner or individual mortgages risen : At the .05 level of significance in a right-tailed test, has the percentage of single-earner or individual mortgages risen?
Define what is the value of dramatic play : From watching the video, what is the value of dramatic play. What skills and competencies do children gain? For those of you who have experience working.
Write a multi-threading animation program for selection sort : Write a multi-threading animation program for selection sort, insertion sort, and bubble sort using JavaFx GUI. Create an array of integers 1,2.
What is the power of this test if the true proportion : What is the power of this test if the true proportion of defectives is p = .05?
Discuss the special education services offered by school : Discuss the Special Education services offered by School system in Louisiana. Identify how services are accessed, quality of the service, and any challenges.
Explain why x is a binomial random variable : a. Explain why X is a binomial random variable. b. Construct a probability distribution table for X. c. Find the mean (expected value) of X.
Calculate the z-score for the sample data : Calculate the z-score for the sample data using a left-tailed test at a = .01.

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