Your Score
{{ score }} / {{ totalQuestions }}
{{ correctPercent }} % Correct {{ incorrectPercent }} % Wrong {{ activeSetLabel }}

Match each dot-dash pattern to its {{ promptNoun }}. Choose how many questions you want and optionally set a seed to make a shareable quiz.

Pool size: {{ poolSize }}
{{ progressPercent }} %
{{ questionHeading }}
# Pattern Your Answer Correct Copy
{{ i + 1 }} {{ row.yourAnswer }} {{ row.correctAnswer }}

                
:

Introduction:

Morse code is a way to represent letters and numbers as short patterns of dots and dashes that can be sent by sound, light, or touch. A Morse code practice quiz makes those patterns easier to recognise because it asks you to match what you see to a character quickly. Over time, your brain stops translating one mark at a time and starts spotting the whole shape.

You pick a set of characters, decide how many questions to answer, and optionally provide a seed to repeat the same quiz later. Each question shows one pattern, then you choose the matching letter or number from a short list of answers. When you finish, you get a score, a percent correct summary, and a clear list of what you missed.

If you are studying for a class or brushing up for radio hobbies, try a 15 question session on letters and note which ones slow you down. After a few retakes with the same seed, you can tell whether improvement comes from learning or just luck. Switch to numbers when letters feel steady, and mix both when you want a more realistic drill.

If you plan to share a seed, use text you are comfortable revealing to others, and keep your question count consistent when you compare sessions.

Technical Details:

Recognition is measured as how often you match a Morse pattern to the intended character in a multiple choice question. The quiz records your raw score as the count of correct answers, then derives percent correct and percent wrong so runs with different lengths are comparable.

The score is a simple accuracy snapshot, not a timing test. There are no built in pass bands, so use the percent correct value mainly to spot weak characters and to track trend across repeat sessions.

Percent values are rounded, so small quizzes move in larger steps. If you want a steadier signal, increase the question count and reuse the same seed.

Scoring equations

Pcorrect = round ( 100 × CN ) Pwrong = 100 Pcorrect
Symbols used in the scoring equations
Symbol Meaning Unit/Datatype Source
N Total questions in the quiz integer Input
C Correct answers (raw score) integer Derived
Pcorrect Percent correct, rounded percent Derived
Pwrong Percent wrong percent Derived

Quiz construction pipeline

  1. Load the character pool for the chosen set.
  2. Create a pseudo random number generator from the seed string, or a time based seed when blank.
  3. Shuffle the pool and take the first N entries as questions.
  4. For each question, pick three distinct distractors from the pool.
  5. Shuffle the correct answer plus distractors to form the option list.
  6. Store the index of the correct option as the answer key.
  7. On selection, store the chosen index and increment C when correct.
  8. After the final question, compute percentages and prepare export payloads.

Sets, pools, and allowed question counts

Quiz sets and their question limits
Set Pool size Default Allowed question counts
Letters 26 10 5, 10, 15, 20, 26
Numbers 10 10 5, 10
Letters + Numbers 36 15 10, 15, 20, 30, 36

Reference mapping

The quiz includes the built-in patterns for letters A–Z and digits 0–9. Patterns are rendered as inline SVG images generated locally.

Sample Morse code patterns used in the quiz
Character Stored pattern Displayed pattern
A .- . -
N -. - .
1 .---- . - - - -
0 ----- - - - - -

Validation and normalization

Input validation rules and defaults
Field Type Min Max Step/Pattern Error text Placeholder
Quiz set enum letters, numbers, all None, invalid values fall back to the default set
Number of questions integer 1 pool size Must be one of the allowed counts for the active set None, values are clamped and snapped to the nearest allowed count
Seed text Any text string, trimmed None e.g., morse-quiz-42

Outputs and file formats

Results can be copied to the clipboard or saved as files, depending on what your host environment enables. Comma Separated Values (CSV) exports include your answers and the correct answers, and JavaScript Object Notation (JSON) exports also include the per character pattern map used in the quiz.

Outputs supported by the quiz
Output Format What it contains Precision notes
Results table CSV Question number, your answer, correct answer, correct flag No rounding, values are plain text
Quiz snapshot JSON Set, seed, counts, score, answer rows, and a character to pattern map correctPercent is a whole number
Results report Word document (DOCX) Tabular results plus a summary, optionally including the seed Percent is rounded to a whole number
Answer breakdown chart Portable Network Graphics (PNG) Correct versus incorrect as a pie chart Rendered at 2× pixel ratio with a white background
Answer breakdown chart WebP, Joint Photographic Experts Group (JPEG) Converted from the PNG render JPEG conversion requests quality 0.92
Chart metrics CSV Correct, incorrect, total, and correct percent Correct percent is formatted to 2 decimals

Units, precision, and rounding

  • Heads-up Percent badges use Math.round, which rounds to the nearest integer.
  • Progress percent is also rounded to a whole number.
  • The chart CSV includes a correct percent value formatted to 2 decimals by the host formatter.
  • Scores and question counts are integers.
  • Random draws use 32 bit integer arithmetic internally and output fractions in the range 0 to 1.

Randomness and reproducibility

The quiz uses a deterministic pseudo random number generator (PRNG) when you supply a seed, so the same seed, set, and question count produce the same question order and options. When the seed is blank, a time based seed is generated, so each run varies.

  • Shuffling uses the Fisher–Yates algorithm with the seeded PRNG.
  • Each question attempts to include three unique distractors.
  • The generator is designed for repeatable practice, not for security or gambling.

Networking and storage behavior

The quiz logic does not make network requests and it keeps the active session state in memory. A host may load an optional charting dependency from a content delivery network when the page loads.

Performance and complexity

  • Building a quiz is O(P) for pool shuffling plus O(N) for question assembly.
  • Rendering patterns uses small inline SVG data URLs, one per question view.
  • Chart rendering happens once at the end of a completed quiz.

Diagnostics and determinism

  • With a seed, identical settings yield identical results and exports.
  • Without a seed, the question order is intentionally non deterministic.
  • Copy and download actions depend on the host clipboard and save helpers.

Security considerations

  • Seed text is echoed into the JSON export, and the JSON view is rendered as highlighted HTML.
  • Ensure the JSON highlighter escapes special characters to avoid injection issues.
  • Copied exports may be visible to other applications that can read your clipboard.

Privacy and compliance

Quiz content, scoring, and exports are generated locally, and the quiz logic does not transmit results or store them on a server. Outcomes are purely random and have no monetary value.

If you include personal information in the seed, it will appear in exports and any shared quiz link that contains that seed.

Assumptions and limitations

  • Multiple choice recognition can overestimate skill compared with unaided recall.
  • Only letters A–Z and digits 0–9 are included, no punctuation or prosigns.
  • Patterns are shown visually, not as timed audio, so rhythm practice is out of scope.
  • Percent values are rounded, so small quizzes have coarse score steps.
  • Chart downloads require the charting dependency to be available in the host.
  • Clipboard actions require a user gesture and may be blocked by browser policy.
  • DOCX export depends on the host document generator.
  • Heads-up Very small character pools could cause distractor selection to loop, though built in sets avoid this.
  • Retake with a new seed uses time and a random source, so results cannot be reproduced exactly.
  • Sharing a seed shares the exact quiz order and options, which can spoil a challenge run.

Edge cases and error sources

  • Starting with an empty pool produces no questions and the quiz does not start.
  • Non numeric question counts fall back to the default for the selected set.
  • A requested question count above the pool size is clamped down.
  • Changing the set resets the current quiz state.
  • Switching tabs can trigger chart rendering before the container is ready.
  • If the charting dependency fails to load, the chart tab and chart downloads fail gracefully.
  • Image conversion to WebP or JPEG can fail on platforms with limited canvas support.
  • Very long seeds can make shared links unwieldy and may be truncated by some apps.
  • Clipboard APIs may be unavailable in some embedded or private contexts.
  • Download helpers can be blocked by strict security settings or file system prompts.
  • Locale specific formatting from the host formatter may change decimal separators in chart CSV.
  • Unescaped seed text could affect JSON highlighting if the formatter does not sanitize output.

Step-by-Step Guide:

Use Morse patterns to test recognition, then use the score breakdown to focus your next practice session.

  1. Choose a Quiz set to practice letters, numbers, or both.
  2. Select a Number of questions that fits your time.
  3. Optionally enter a Seed if you want the same quiz again later.
  4. Start the quiz and answer each question by matching the pattern to the character.
  5. Review your final score and scan the missed items for repeat patterns.
  6. Retake with the same seed to measure improvement, or generate a new seed for variety.
  7. Copy or download your results if you want to keep a study log.
  • Keep the question count constant when you compare sessions.
  • Use shorter quizzes for warmups and longer ones for progress checks.
  • Alternate between letters only and mixed sets to reduce overfitting.
  • Review the specific misses instead of repeating the full set immediately.

Pro tip: reuse one seed for a week, then switch to a new one to avoid memorising the order.

Features:

  • Three practice sets cover letters, numbers, and a combined pool.
  • Seeded randomness makes a quiz repeatable and easy to share.
  • Instant feedback highlights the correct option after each answer.
  • A results table shows every question, your choice, and the correct answer.
  • An answer breakdown chart summarises correct versus incorrect counts.
  • Exports support CSV, JSON, DOCX, and chart images in PNG, WebP, or JPEG.

FAQ:

Is my data stored?

Quiz state lives in memory while the page is open, and exports are generated locally. The quiz logic does not send results to a server.

A host may load an external charting script when the page loads.
How accurate is scoring?

Scoring is strict: one point for each correct answer, then percent correct is rounded to a whole number. It measures recognition under multiple choice, not speed or sending skill.

For small quizzes, one answer can move the percent by a lot.
What formats can I save?

You can copy results to the clipboard and save them as CSV, JSON, or a DOCX report. The chart view can also be saved as PNG, WebP, JPEG, or a small CSV metrics file.

Does it work offline?

The quiz logic does not depend on network calls. If all page assets are already available, the quiz and exports work without a connection, but the chart features need the charting dependency.

Is there any cost?

This package does not include billing or account features. Any pricing or access rules depend on the site or app that hosts it.

How do I use a seed?

Enter any short text as the seed, then keep it the same to replay an identical quiz. Change the seed when you want a fresh order of questions and options.

If you share the seed, you also share the exact quiz order.
How do I decode a pattern?

Each pattern corresponds to one character from the built in mapping. Use the missed items list and the JSON pattern map to review the exact dot and dash sequence.

The quiz focuses on visual recognition, not audio timing.
What is a borderline score?

There is no built in borderline label here. If your percent correct hovers around the middle, it usually means the set is still unfamiliar, so reduce the pool or increase repeats with one seed.

Troubleshooting:

  • If the quiz will not start, make sure the set has a nonzero pool and a valid question count.
  • If the question count keeps changing, it is being clamped to the allowed values for the set.
  • If copy actions do nothing, check clipboard permissions and try again with a deliberate click.
  • If downloads are blocked, look for a browser prompt or a restrictive security setting.
  • If the answer chart is blank, switch away and back after results are shown, then retry.
  • If chart image downloads fail, try PNG first, then convert outside the tool if needed.

Advanced Tips:

  • Tip Use one seed as a baseline and track the percent correct over several days.
  • Tip Increase question count when your score is stable, not when it is trending upward.
  • Tip Focus on a small miss list and drill those characters before returning to the full set.
  • Tip Alternate between letters only and mixed sets to reduce pattern overfitting.
  • Tip Treat near misses as useful data and review the pattern shape, not just the name.
  • Tip Keep seeds short and neutral so shared exports stay tidy and safe to distribute.

Glossary:

Morse pattern
A dot and dash sequence that represents one character.
Dot
The short signal element shown as . in the pattern.
Dash
The long signal element shown as - in the pattern.
Seed
Text used to repeat the same random looking quiz order.
Distractor
An incorrect option included to make a question challenging.
PRNG
A pseudo random number generator used for deterministic shuffles.
Pool
The full set of characters available for question selection.
Correct percent
Rounded accuracy computed from correct answers and total questions.