program in java. comments would be appriciated Program a flashcard application u
ID: 3666842 • Letter: P
Question
program in java. comments would be appriciated
Program a flashcard application using the Leitner system and a simple text user interface. The program should have these features:
- Import a new set of cards (The TUI supports a command import followed by a filename. The application opens the file and for each pair of challenge and response, a new flashcard is created and stored in Box 1. When all entries have been imported, the application prints out how many flashcards have been imported.)
-Study mode according to Leitner system. To enter the study mode, the user enters study. In study mode, the application randomly picks a flashcard out of all boxes. Note, a card in Box 1 is picked twice as likely as from Box 2, four time as likely as from Box 3, etc. The system randomly chooses to present the student one side of the card. As response, a student enters a string.
– Empty string: Indicates that the student knows the answer. The card is moved to the next higher box (if any). The application proceeds by randomly picking another card.
– Non-empty string: The string is compared with the other side of the flashcard. If the strings are identical, the answer is correct and the flashcard moves to the next box (if any). If the answer is incorrect, the flashcard is placed in Box 1. The application proceeds by randomly picking another card
. – Special strings: (1) !exit indicates that the student ends the study session. The currently displayed flashcard remains in the same box. (2) % shows the other side of the flashcard.
-List a box’s content. The TUI supports a command list followed by a number. The application prints out each card that is currently in the specified box. A suggested format is challenge, response, empty line.
-List all cards that contain a given string. The TUI supports a command list followed by a blank and a string that ends with the line. Any flashcard that contains the string either in 1 challenge or response is listed.
-To exit the application, the student enters "!exit"
Explanation / Answer
The best explicit to adjustment the altitude of a series or the breadth of a standing line is to post the rodent indicator on the border break more than one series or standing line topic(the indicator will equal a twice in transit dart as photo in the coming example)and then holding it to alter the altitude or breadth.For series,alter below to boost additional the altitudew or up to down the altitude.For standing line alter just to additional the breadth or near to down the breadth.
We should keep some points in mind
If you preferable more than one series,the altitude of all the altered series will be updated at the similiar point.If you prefer more than one standing lines the breadth of all the prefered standing line would be alter at the similiar point.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.