Project #46555 - Programming Project in Ruby

Must read and follow instructions. If you do not know Ruby please do not bid on this project. I will verify immediately after you submit the project if it is functional. I have uploaded the instructions. Must explain process using comments in the code. Program must successfully be opened and ran in Interactive Ruby

 

 

Create a program in Ruby that will generate a quiz.

The list of functionality are as followed:

Create a quiz program that will allow the user to input 10 questions (Has to be 10 questions) and 4 answers to each question.

Each question will have 4 multiple answers that the user can select ( A,B,C,D) format.

The program will say something like

 “Enter Name”

“Enter question 1”

“Enter answers for question 1”

 “Enter question 2”

“Enter answers for question 2”

.

.

.

“Enter question 10”

“Enter answers for question 10”

“Start quiz” “Save questions and answers to file”

 

The program must be able to save questions and answers to a text file, if possible the program can read questions and answers from and txt file.

The program must randomize the order of the questions and randomize the answers within each questions, that way each time the questions will be in random order.

The program ask and input the users name into the program.

At the end of the quiz the program must calculate the total number of problems the user got right and display a message.

 The message will display the letter grade the person got (100=A+, 90=A, 80=B, 70=C, 60=D, 50 and below=F. The message will have 6 present messages that will be determined by the letter grade they got.

The messages will be as followed:

100A “Congratulations “Users imputed name”, you aced this quiz.”

90A “Amazing job “Users imputed name”, you only missed one question, next time you will be sure to get a 100!”

80b “Users imputed name”, 8 out of 10 is good but I know you can do better!

70C “Users imputed name”, You’ve passed but I think it’s best if you study a little more.

60D “Not your best work “Users imputed name”, try and put a little more effort into the quiz next time.

 

50 and below F “This is unacceptable “Users imputed name”, I know you are better than this!

Subject Computer
Due By (Pacific Time) 11/16/2014 03:00 pm
Report DMCA
TutorRating
pallavi

Chat Now!

out of 1971 reviews
More..
amosmm

Chat Now!

out of 766 reviews
More..
PhyzKyd

Chat Now!

out of 1164 reviews
More..
rajdeep77

Chat Now!

out of 721 reviews
More..
sctys

Chat Now!

out of 1600 reviews
More..
sharadgreen

Chat Now!

out of 770 reviews
More..
topnotcher

Chat Now!

out of 766 reviews
More..
XXXIAO

Chat Now!

out of 680 reviews
More..
All Rights Reserved. Copyright by AceMyHW.com - Copyright Policy