Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

i want the flowchart and pseudocode of this question You are asked to write a Typing tutor program. This program should teach typing in which

i want the flowchart

and pseudocode of this question

image text in transcribed

You are asked to write a Typing tutor program. This program should teach typing in which a sentence appears on the screen and the user must type it out within a certain amount of time or achieve a certain number of words per minute throughout a beginner level. Your program should have 5 sentences consisting of 8-12 word each. Each time a user plays the game a random sentence will be selected from array of strings. After the user types the sentence, the program prints the time it took the user to print the sentence, number of errors (mismatch), number of words typed per sec. Also describe what test cases you used to check the validity of your system (you might have more cases). 1. Entering a correct sentence. 2. Entering incorrect sentence. 3. Not completing the sentence/ entering longer sentence. 4. Exceeding the time allowed. You should submit your OWN code. i.e. you are not allowed to copy from the internet, any other person or references. Hint: 1. You can convert a string to an array using the following code String str = "teststring"; char[] charArray = str. toCharArray(); 2. You need to record the typing speed. This time should start after the user is allowed to type the sentence till he presses Enter key. It is suggested that you stop the timer immediately before printing out the statistics. The following is a little sample code that shows how you can time events. You need to use the Date class to do it so you may want to check out the documentation on this method at the Java API web site. Do not worry about the Thread. sleep() method in the program - you do not (and should not) be using this function. It only appears here to simulate some kind of work being done

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Learn Mysql The Easy Way A Beginner Friendly Guide

Authors: Kiet Huynh

1st Edition

B0CNY7143T, 979-8869761545

More Books

Students also viewed these Databases questions

Question

1-6. What are four ways that business can benefit society?

Answered: 1 week ago

Question

find all matrices A (a) A = 13 (b) A + A = 213

Answered: 1 week ago

Question

Are my points each supported by at least two subpoints?

Answered: 1 week ago