Keyboard Practice Documentation

Introduction

The keyboard practice is used to teach students the location of keys on the keyboard. There are several different key lists to choose from.

How to Use The Keyboard Practice

Key Lists

ListDescriptionKeys
a0Little Turtle Keys cdhlmrsu 1234567890
a1Basic Alphabet +
space and period
abcdefghijklmnopqrstuvwxyz .1234567890
a2Basic Alphabet +
Special Characters
abcdefghijklmnopqrstuvwxyz .1234567890
"-" "=" "[" "]" ";" "'" "," "/" "\"
arCharacters a - r
+ space
abcdefghi jklmnopqr
r1Keyboard Row 1
+ space
12345 67890
rqKeyboard Row Q
+ space
qwert yuiop
raKeyboard Row A
+ space
asdfg hjkl
rzKeyboard Row Z
+ space
zxcv bnm

Selecting a Key List

The default key list is a0.

There are two ways to change the key list.

1. To permanently change the key list edit the file turtle_keyboard_practice.html and change the global variable keyArray to the list you want. You can also create your own key list.

2. To temporarily change the key list, add a parameter to the URL. You can select one of several predefined key lists. For example, to select key list a1: http://server/turtle_keyboard_practice.html?a1

Note:
1. There is a keyboard image associated with each key list.
2. There is a special key list "ar" that contains the letters a through r that was requested by a teacher.

Internals

  1. When the start button is pressed:
    • Play starts.
    • The key list is randomized.
    • The stop button is displayed.
    • The first character is displayed.
  2. When the correct key is pressed the next character is displayed.
  3. If the student presses an incorrect key:
  4. At the end of the list of keys or when the student has entered 30 keys correctly:
    • Play stops.
    • A (different) sound will play.
    • The start button is displayed.

Note: Some of the programs behavior is controlled with true/false flags in the code. For example, the sounds and the display of the error symbol can be turned on or off with a flag.