Prepare a program so that it connects to a mysql database -

Assignment Help Database Management System
Reference no: EM13477398

TASK 1

You must setup your program so that it connects to a MYSQL database named "grading_db", running on "localhost".
The username must be "grader" and "abc" (user name/password).
The first thing your program must do is to crate the tables in this database.

You can either provide a button that I click on for this to happen (if you are building a GUI), a text-menu option, or to just do this on startup (my preferred option).

Of course, if you choose the latter, you will get extra mark if your program first checks that the table(s) already exist so that you don't destroy existing data.

Then, provide menu options for inserting records, and searching.

The search results should show the student's marks, and also display the calculated total final score (the formula for this in the assignment description in the subject outline).

TASK 2

Here's some clarification on what is expected for Task 2.

* I imagine 4 cars, implemented a threaded classes (implementing Runnable), running in a pool.
* Each contains a speed instance variable.
* On the keyboard, I assign two keys for each car, one for acceleration and one for deceleration.

For example, if I press "q", the speed of car 1 will go up by 1, and if I press "w", the speed of car 1 will go down by 1.
* Each threaded car will listen for key presses independently. This can be done using a KeyListener to capture key events.
* To graphically display the car speeds, I suppose something like a bar graph would be acceptable, with the text speed indicators somewhere in the same jPanel.

There is no single way to do this. Think about your GUI skills (current and desired) and imagination, and create a graphical representation.

This could be a simple bar graph, or a race course-style visualisation with animation and visual effects.

There are two deliverables:

1) The report

2) A NetBeans archive with your code and project assets.

1. REPORT

Quoting from the subject outline, here's the report requirements:

"The report (in .doc or .pdf format) should explain how to run your program (1 or 2 page long) and any settings needed to run your program.

Enough number of screenshots should be shown in the document. In case if the assignment marker fails to run your program, because of any inconvenience, these screenshots would show how the program worked on your machine/environment."

In other word, you must provide clear instructions to me on how to run your programs. Include screenshots showing your programs in action, with descriptions with each screenshot. These images will be my fallback in case I am unable to get your programs to run on my computer.

Reference no: EM13477398

Questions Cloud

What are your beliefs about the characteristics strengths : share your perception of someone who has developed a substance use illness with mood-altering substances. what are your
The bond has the coupon rate of 480 percent paid annually : dinero bank offers you a 59000 four-year term loan an annual interest rate of 7 percent. what will your annual loan
It is late june and sandra head of operations at mintendo : it is late june and sandra head of operations at mintendo and bill head of sales of we r toys are about to get together
Find out the new balance sheet entries for those assets and : question a firm with sales of 30000 has the following balance sheetassets liabilities and equity as of
Prepare a program so that it connects to a mysql database - : task 1you must setup your program so that it connects to a mysql database named gradingdb running on localhost. the
Calculate the present value of this stream of income at a : this part of the assignments tests your ability to calculate present value.a. suppose your bank account will be worth
Ann paul the director of nursing stops by marcuss office : marcus hill is the temporary practitioner in a large nursing home in a city of 25000 in the midwest. he is filling in
What is the return on the owners investment in each case : a firm needs 800 to start and has the following expectationssales1600expenses1450tax rate 33 of earningsa.what are
Four plants memphis philadelphia toledo supply the dcsnbsp : rfc bearings has just entered the u.s .market.nbsp it has three major dcs in the atlanta boston and chicago

Reviews

Write a Review

Database Management System Questions & Answers

  Knowledge and data warehousing

Design a dimensional model for analysing Purchases for Adventure Works Cycles and implement it as cubes using SQL Server Analysis Services. The AdventureWorks OLTP sample database is the data source for you BI analysis.

  Design a database schema

Design a Database schema

  Entity-relationship diagram

Create an entity-relationship diagram and design accompanying table layout using sound relational modeling practices and concepts.

  Implement a database of courses and students for a school

Implement a database of courses and students for a school.

  Prepare the e-r diagram for the movie database

Energy in the home, personal energy use and home energy efficiency and Efficient use of ‘waste' heat and renewable heat sources

  Design relation schemas for the entire database

Design relation schemas for the entire database.

  Prepare the relational schema for database

Prepare the relational schema for database

  Data modeling and normalization

Data Modeling and Normalization

  Use cases perform a requirements analysis for the case study

Use Cases Perform a requirements analysis for the Case Study

  Knowledge and data warehousing

Knowledge and Data Warehousing

  Stack and queue data structure

Identify and explain the differences between a stack and a queue data structure

  Practice on topic of normalization

Practice on topic of Normalization

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