Skip to content

A small java program that will display terms and their definition as a multiple choice quiz in an IDE console.

Notifications You must be signed in to change notification settings

robertcasanova99/ConsoleMultipleChoice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

ConsoleMultipleChoice

A small java program that will display terms and their definition as a multiple choice quiz in an IDE console.

The user will include a textfile where each line is composed of a word, a colon, and a definition in that order. Here is an example of an appropriate textfile that will be read successfully:

Finland: Helsinki
Pinyin: The official romanization system for Standard Chinese.
Korea: Seoul
First Battle of Bullrun: The first military confrontation of the U.S Civil War.
Russia: Moscow
Edward VIII: British monarch who abdicated the throne in 1936.
Burma: Naypyidaw

Said textfile must be placed in the directory of the project. After doing so and inputting the correct name of the file in the inputstream on line 28 of Driver.java, the program should be functional and quiz the user to match the term with 4 randomly chosen, not repeating, answer choices. The program will continue until it has ran through all of the terms and definitions. This can be changed by increasing the upper bound of the for-loop on line 40 of Driver.java.

About

A small java program that will display terms and their definition as a multiple choice quiz in an IDE console.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages