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

  Draw the er diagram for the company database

Using ER Assist Tool to draw the ER Diagram for the Company Database. The Requirements were discussed in the class.

  Describe how the data and information are stored and used

weekly assignment analysis and research for a data warehouse systembased on knowledge and examination you will analyze

  How to use spool command

How to interactively query a database by using SQL statements and SQL*PLUS commands and how to use spool command to save an interactive session within SQL*PLUS.

  Create a crow''s foot erd using a specialization hierarchy

Given the following business scenario, create a Crow's Foot ERD using a specialization hierarchy if appropriate. Tiny Hospital keeps information on patients and hospital rooms

  When does oracle stop processing the query

How does Oracle process this query? That is, what does Explain Plan tell you about how the query is processed - how would you recognize that the results were not correct?

  Find the entities from the functional requirements

Find the entities from the functional requirements. Entities can come from Nouns in the text, they may also come from forms, reports and legacy code.

  What is the role of a dbms

What is the role of a DBMS, and what are it advantages? What are its disadvantages?

  Design a database for an insurance company

Consider a video game store. For each game, the database contains information about title, producing company name, designer(s) name(s), version of the game, type of the game and characters in the game.

  Detail the functional requirements for the system

An operation specification for the most important single interaction between user and system during the critical core use case's normal flow.

  Design program that displays table of contigrade temperature

Design a program that displays a table of the contigrade temperatures 0 through 20 and their Fahenheit equivalents. The formula for converting a temperature from centigrade to Fahrenheit is.

  Find the decryption function and decipher

Find '(2007), '(2008), and '(b), where b is the integer obtained from the last four digits of your student number.

  Consider the following schema of ra b c d with functional

consider the following schema of ra b c d with functional dependenciesa -gt b b-gt c and b-gtd1- compute the closure

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