首页 > > 详细

Creation Date讲解、辅导Java程序设计、辅导Brief Program、辅导Java 调试Matlab程序|解析SPSS

Project #3: Phantom in the Night

For this project, you are to create a quiz program, which will quiz the end user on java programming knowledge using multiple choice questions you make up based on the readings in the textbook. For an A+ level program, your project should:
provide a customized welcome message to the end user that also describes your program;
utilize a Question class, which when instantiated, stores a single multiple choice question. you are to have at least ten made-up multiple choice questions - at least one from each chapter assigned during the semester;
use an array or an arraylist to store your question objects for usage;
ask the end user the different multiple choice questions in a random order;
keep a tally of wins and losses;
let the end user end the game whenever s/he wishes.
Be sure to format all command line output appropriately. Label all output appropriately.
Be written in a clean format with appropriate comments.
At the top of your source code include a comment block that lists:
Author's Name
Original Creation Date
Last Modification Date
Brief Program Description

Grading for the project is as follows. You CANNOT skip partial-credit activities. You work at your own pace, and you can submit project work to this online hyperlink for grading as many times as you like up to, and including, the due date/time — only the last submission is graded (old submissions are zero’ed out, which has no impact on your final grade). Based on the passing of each partial-credit activity, you earn the following grade — this is your rubric:
No activity passed: 0%
Activity 1 passed: 75%
Activity 1 & 2 passed: 85%
Activity 1, 2 & 3 passed: 95%
Activity 1, 2 & 3 passed, along with well-structured code with appropriate comments: 100%
Each partial-credit activity builds upon each other, and you may have to rework/rewrite source code to complete the more difficult partial-credit activity. This should NOT be a GUI program — it it text-based.

Submit your source code (.java file(s) ) and your byte code (.class file(s)) for each fully completed partial activities through this project hyperlink via ONE final submission before the due date/time. One final submission with all files attached — do NOT submit each activity separately or your work will not be graded.NO ZIP FILES -- ATTACH EACH FILE INDIVIDUALLY ON ONE SUBMISSION.
FOLLOW THE CLASS NAME / FILE NAME INSTRUCTIONS. IF YOU DO NOT I CANNOT COMPILE YOUR CODE FOR GRADING.

Project #3 Activity #1
Please be aware that for ALL of the projects you will be building upon each activity. This is the first of many.
You are to create the basic program for one hard-coded multiple choice quiz question that you make up. Be sure to include the customized welcome message. You should use your own functions when creating the basic program.? Be sure to end the program gracefully.
You need to provide comments in your program. You should have a comment block at the start of your code that identifies yourself, and gives a description of the program. You will need to provide comments for each procedure and variable. Comments will be a part of each activity grade.
Submit your source code and byte code?[filenames = P3A1_LASTNAME_StudentID.java &P3A1_LASTNAME_StudentID.class] through CourseWeb?afteryou have gotten your TA's approval that you have produced a successful result within CourseWeb. All work must be submitted via CourseWeb.
Please keep in mind that this is a project consisting of 4 partial-credit activities, and you cannot skip activities. You can only miss one recitation per project, or the highest grade you can earn is a C. Please note that you may not finish this activity in one class - you may have to continue to work on it at home. You work at your own pace.

Project #3 Activity #2
Please be aware that for ALL of the project activities you will be building upon each prior activity. This is the second of many, you need to successfully complete activity 2 before moving on to this activity.
You are to expand your game and build objects into your program. First, create a Question class that can be instantiated into three Question objects in your main method. Your three questions are to be authored by you, originating from three chapters we have covered this semester. Then you are to store your Question objects in an array or arraylist. Then you are to play the game with random Questions; play the Questions in a random order each time you play the program. Don't forget to include the customized welcome message. Allow the user to quit the program after each round, and print the wins/losses tally after each round.
You should submit the following:
P3A2_LASTNAME_StudentID_Question.java / .class:Create a class definition for an object called "P3A2_LASTNAME_StudentID_Question". This class definition should then be instantiated in your second .java file,P3A2_LASTNAME_StudentID.java / .class, as three instances of the class, with each instance representing one quiz question. The structure of your class is designed by you.
I would suggest having at least six fields (question, optionA, optionB, optionC, optionD, correctAns), a constructor that takes six arguments that correspond with the five fields, a constructor that takes one argument that corresponds to a text file name (see activity 3), accessor methods for six private fields, and any other fields or methods you think are necessary.
P3A2_LASTNAME_StudentID.java / .class:This should contain your main class that performs the program and uses your Question class.
You need to provide comments in your program. You should have a comment block at the start of your code that identifies yourself, and gives a description of the program. You will need to provide comments for each procedure and variable. Comments will be a part of each activity grade.
Submit your source code and byte code files [filenames = P3A2_LASTNAME_StudentID_Question.java,P3A2_LASTNAME_StudentID_Question.classAND P3A2_LASTNAME_StudentID.java,P3A2_LASTNAME_StudentID.class ]through Course Webafter you have gotten your TA's approval that you have produced a successful result within CourseWeb. All work must be submitted via CourseWeb.

Project #3 Activity #3
Please be aware that for ALL of the project activities you will be building upon each prior activity. This is the third, you need to successfully complete activities 1 & 2 before moving on to this activity.
You are to expand upon your program:
You should create 10 multiple choice questions?(be sure to cover each textbook chapter we covered this semester)? and store them in a text file:??P3A3_LASTNAME_StudentID.txt.??Use this text file as an input source for your program....your program reads the data from that text file, and plays the game using those questions;??
The format of the text file is:
Question Text
Answer Option A
Answer Option B
Answer Option C
Answer Option D
Correct Answer
Play the Question objects in a random order;
Allows the end user to end the program after any round, and prints the wins/losses tally after each question played;
Includes the customized welcome message;
Makes use of the Question class from Activity 2;
Uses either an array or arraylist to store the Question objects;
The program should play with any input text file.
You need to provide comments in your program. You should have a comment block at the start of your code that identifies yourself, and gives a description of the program. You will need to provide comments for each procedure and variable. Comments will be a part of each activity grade.
Submit your source code and byte code files [filenames = P3A3_LASTNAME_StudentID_Question.java,P3A3_LASTNAME_StudentID_Question.class AND P3A3_LASTNAME_StudentID.java,P3A3_LASTNAME_StudentID.class] AND your text file of questions[filename = P3A3_LASTNAME_StudentID.txt]through CourseWebafter you have gotten your TA's approval that you have produced a successful result within CourseWeb. All work must be submitted via CourseWeb.

联系我们 - QQ: 99515681 微信:codinghelp
程序辅导网!