Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

you can use Method.java as a template for this create a Main Method only for your program create a Main Method only for this program

image text in transcribed
you can use Method.java as a template for this
image text in transcribed
image text in transcribed
create a Main Method only for your program
create a Main Method only for this program image text in transcribed
image text in transcribed
you can use Methods.java as a template for this.
image text in transcribed
image text in transcribed
Summative Assignment Database Application Du: Demande promotion din ng shoes The following are the skills at you read to demont Method Any Fading Searching and Sorting Your program to be a lewing Open and View the collection Add to the collection Search by each of caries Style Create back of secolection Delete entry on the collection How multiples to create the databases The databases include at least three chief each entry in the collection your programs to names of MP3 your collection, you might with to store the edhe song the stars and the song category hardlock ontock R&B. Pop. Rap 10.) At the newestenance and move the overal program and trace Level Level 1 Level 2 Level 3 Level 4 power tar dery Tor Alive: Provide a copy of your database Summative Assignment Database Application - Algorithm Du her og to die for your patient and programu you must do te your program Anggeris another sector and the reputed by a main program Deus programmed to be called by the programmeed not be filed in for high level in order to ensure that the and what the program is rected to call suo program Sort by Amar to wore tablety a ml de output program This worth to be shown to your water before beginning and your program ICS3U - Database Application Assignment - Rubric Comer 1 Pethods. riven program to stion the user to select and execute built- ettes 7. Author: Teacher de totei October 2012 14 outlet choice, ale #utput rest of tied call ourtj. Istil import java.text. post class u static void String strel) throws Excepti futterfree.streefer System 11 Decoratoriet Heavaria int choice outlet, v rant, mer Wootsteated we choices ...:) We Wonde norme te chokineto. 113 tected in the parents Wat taciti u ett Sutrinthose Mere Road 1 We art, prin e ble de results, MA case 20 System! unter for le teinete FR Wit oft frei bre 3 Systen, outor unter (unru (II; resultatet WN bre case di Bytt.print Imert; runter foute.parele realiteli FET cilit dort rest break SON System.out.printer) number Jouble. Forse le stdin.reakire (ili Mer!! AMwiti oferat result bre we Systentrint Inter? under de tinere (113 resultater Extrant la durat free: breaki case di Sorint unter Double role in realitech ruth.rander Systaiteesit.dl.forest tressit Writeres a - (II unter unter ata. PT/100 rett etter Systemacie ewitdf.tert trest System.outrint resultat.ceilinger Double Street tidl. rit tyrimer! nunter. Det siste Portrar wscenter.Tesat tres wat witter while the Summative Assignment: Database Application Due: Design and create a program that will allow a user(s) to maintain collection(s) of something of your choice. See rubric below. The following are the skills that you need to demonstrate: Methods, Arrays, File handling. Searching and Sorting. Your program should be able to do the following: Open and View the collection Add to the collection Search by each of 3 categories Sort by each of 3 categories Create a backup of the collection Delete an entry from the collection Allow multiple users to create other databases as well The database should include at least three characteristics of each entry in the collection, e.g. If your program is storing the names of MP3s in your collection, you might wish to store the title of the song, the artist's name, and the song's category (hard rock, soft rock, R & B, Pop, Rap, etc.). Add other useful features to enhance and improve the over-all program and its interface. Level 0 Level 1 Level 2 Level 3 Level 4 any 3 option work any options work any 5 options work all 7 options work all 7 options work unsatisfactory poor debugging skills Inefficient use of some skills all skill are efficient use of Interface poor interface (0.9. arrays, file handling. demonstrated skills many skills (eg many skills (eg, arrays, repetition, etc.) efficient use of a clear and efficient arrays, fille file handing, etc.) fair Interface most skills method used handling, etc.) absent and/or most skills demonstrated Including no global including no global absent and/or Incorrectly done variables provide an existing variables incorrectly done provide an existing database with 15 entries good interface professional provide an existing database with 10 interface user friendly database with 10 fair program style entries provide at least additional methods entries poor program style one database with used unsatisfactory 20 entries very user friendly program style good program style provide at least one database with at least 30 entries excellent program style For All Levels: Provide a soft copy of your database file a + X New Tab v UwNzk0/t/all style For All Levels: Provide a soft copy of your database file Due: Summative Assignment: Database Application - Algorithm Price to starting to write the source code for your Database Application and programming it, you must do a high-level algorithm for your program A high-level algorithm is an algorithm that roughly lists the structure of and the steps used by a main program. Details of the sub- programs (methods) to be called by the main program need not be filled in for the high-level algorithm. In order to ensure that the algorithm is clear however, care must be taken to provide sufficient details about what the input and output to a sub-program are and what the sub-program is expected to do (e.g call sub-program "Sort-by-Artist to sort table by artist name). This algorithm is to be shown to your teacher before beginning any work coding your program - ICS3U - Database Application Assignment - Rubric Level Level 1 Level 2 Level 3 Level 4 Category Ceria Working Options 3 4 5 7 7+ wendy w S y done Same Database Style Methods.java - a menu-driven progras to allow the user to select and execute built-in methods / Author: Teacher 7 Date: October 2e20 /* Input: menu choice, value A Output: result of method call do import java. 10.; import java.util. import java.text. public class Methods public static void main(String strul) throws toException BufferedReaderstdin new BufferedReader the InputStreanReader (Systen.In)); DecimalFormat df = new Decimalformat ("#.#1"); // declare variables int choice; double base, exponent, result, argument, number: loop to allow repeated user choices System.out.println(" welcome. InPlease select: n(1) Power (2) Square Root (3) Absolute Value (4) Round (5) Sine (6) Cesting (7) Floorin() exit" choice. Integer.parseInt(stdin.readLine(); // call user-selected built-in method and display results switch (choice! case Exciti ("Cu Lor"); breaks case 11 System.out.print("Base?"); base.Double.parsebouble (stdin.readLine()); System.out.print("Exponent? "); 0 - Math.pow (base, exponent); SYSRCA "Result: " + diformat (result)) 77break; case 2: System.out.print("?"); number Double.Parsebouble stdin.readLine()); result - Math, ac number: Systarcia ("Resultiof. format result)); breaki case 3: System.out.print ("") number Double.ParseDouble (stdin.readLine()); result = Math.abs(number): System.out.println ("Results + df. format (result)) breaki case 4: System.out.print("Number? "); number - Double.parseDouble (stdin.readLine()); result = Math.round (number); System.out.println("Result:df. format (result)): break; Case 2 System.out.print ("Number? "); number = Double.parseDouble (stdin.readLine(); result = Math.sgrt (number); System.out.println ("Result: " + df. format (result)); break; case 3: System.out.print ("Number?"); number = Double.parseDouble (stdin.readLine()); result = Math.abs (number); System.out.println ("Result: " + df. format (result)); break; case 4: System.out.print ("Number?"); number = Double.parseDouble (stdin.readLine()); result = Math.round (number); System.out.println("Result: " + df. format (result)); break; case 5: System.out.print ("Degrees? "); number = Double.parsebouble (stdin.readLine(); number = number * Math.PI/ 180; result = Math.sin (number); System.out.println("Result: " + df.format (result)); break; case 6: System.out.print ("Number?"); number = Double.parseDouble (stdin.readLine()); result = Math.ceil (number); System.out.println("Result: " + df. format (result)); break; case 7: System.out.print ("Number?"); number = Double.parseDouble (stdin.readLine()); result = Math.floor (number); System.out.println ("Result:" + df.format (result)); break; default: System.out.println("Fail. Re-enter. "); while (choice != 0); }

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Systems For Advanced Applications 9th International Conference Dasfaa 2004 Jeju Island Korea March 2004 Proceedings Lncs 2973

Authors: YoonJoon Lee ,Jianzhong Li ,Kyu-Young Whang

2004th Edition

3540210474, 978-3540210474

More Books

Students also viewed these Databases questions

Question

600 lb 20 0.5 ft 30 30 5 ft

Answered: 1 week ago