Find Jobs
Hire Freelancers

Simple Java Project

$30-5000 USD

Cancelled
Posted about 14 years ago

$30-5000 USD

Paid on delivery
This is for a homework assignment, here is the overview: You will use the following scenario to complete the task: Your client is an instructor who frequently uses multiple-choice quizzes to assess students’ understanding of the course material. Your application will automatically grade each student’s quiz by comparing each student’s submitted answer file against the answer key file. A grade book file will be generated with each student’s first and last name as well as the student’s quiz score. ## Deliverables Must be done in Netbeans IDE, which is a free download. Here is the full details of my assignment: **Task:** *Note: You will submit all .java and .class files in one zipped folder. If you developed this application using NetBeans, it is recommended that you zip and submit the entire NetBeans project folder.* A.? Develop an application that reads an answer key and reads a student’s quiz. The application will count the number of correct answers and output the score to a grade book file. Your application should do the following: 1.? Continuously prompt the instructor for the student quiz file to grade until the instructor has indicated that there are no more quizzes to grade. 2.? Read the answer key into an ArrayList using an unbuffered file input stream. 3.? Read the student quiz using an unbuffered file input stream. 4.? Score the quiz by comparing against the ArrayList with the answer key and counting the number of correctly answered questions. 5.? Convert the last name and first name to upper case before writing to [login to view URL] file using method(s) from String class. 6. ? Write the student’s last name, first name, and score to grade book file ([login to view URL]) using an unbuffered file output stream. B.? Develop an application that allows the instructor to sort and analyze the grade book after grading has been completed. Your application should do the following: 1.? Create a method sortGradebook() that takes a String argument, filename of grade book, and returns an int representing the number of students found in the file. 2.? Create public class Student that contains attributes last name, first name, and score. 3.? Use buffered FileReader to read? *each*? student record from [login to view URL] and store in an object of type Student. 4.? Create an ArrayList of Students and store students. 5.? Sort the ArrayList of Students alphabetically by last name. *Note: It is assumed all students’ last names are unique and that there are no duplicates. * 6.? Iterate through the sorted ArrayList of Students and print first name, last name, and score to the screen using a for-each loop. 7.? Create an analyzeScores() method that uses a Map Collection type where the key is a score and the value is the count of occurrences of a score. •? Determine the number of occurrences of? *each*? score using your Map. •? Analyze all scores in your grade book and count the number of occurrences of? *each*? score. 8.? Write the results of the analyzeScores() method to text file [login to view URL] using buffered FileWriter.
Project ID: 3207824

About the project

Remote project
Active 14 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs

About the client

Flag of UNITED STATES
United States
0.0
0
Member since Feb 24, 2010

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.