Skip to content

NityaGupta112/MorseCode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Morse Code Learning and Testing Application

Overview

This application is designed to help users learn and practice Morse code in an engaging and interactive way. Whether you are a beginner looking to familiarize yourself with the basics or an advanced user wanting to test your proficiency, this application has something for everyone.

Features

Learning Mode

  • Morse Code Reference Table: Access a comprehensive table mapping English alphabets to their corresponding Morse code. This serves as a quick guide for learners to understand and memorize Morse code.

Testing Mode

Choose between two difficulty levels:

  1. Beginner:

    • Translate single letters from Morse code to English.
    • A great starting point for users new to Morse code.
  2. Advanced:

    • Translate phrases or sentences from Morse code to English.
    • Perfect for users who want to challenge themselves and enhance their skills.
  3. Multiple Choice Quiz:

    • Each question presents the Morse code and four possible answers.
    • Select the correct answer to score points.
    • A running tally of your score is maintained throughout the quiz.
    • Option to view the reference table during the quiz.
    • Exit the quiz at any point and view your final score.

How It Works

  1. Home Page:

    • Choose between Learn (access the Morse code table) or Test Your Skills (start the quiz).
  2. Learning Mode:

    • View the Morse code reference table to learn the translations for each English alphabet.
  3. Testing Mode:

    • Choose a difficulty level: Beginner or Advanced.
    • Translate Morse code presented in the quiz into English using multiple-choice options.
    • Check your score after every question.
    • Access the Morse code table for help, if needed.
  4. Exit Option:

    • Exit the quiz at any time and receive a summary of your performance.

Technologies Used

  • Programming Language: Java
  • Graphical User Interface: Swing
  • Data Structures:
    • HashMap for Morse code dictionary.
    • ArrayList for advanced quiz questions.

Installation

  1. Clone the repository or download the source code.
  2. Ensure you have Java Development Kit (JDK) installed.
  3. Compile and run the application using your preferred Java IDE or the command line:

javac MorseCodeApp.java java MorseCodeApp

Usage

  1. Run the application.
  2. Use the main menu to choose between Learn and Test Your Skills.
  3. In the quiz, select answers, view your score, or exit anytime.
  4. Explore Morse code and improve your skills!

Future Enhancements

  • Custom Quiz Mode: Allow users to create their own Morse code questions.
  • Leaderboard: Track scores of multiple users.
  • Timed Quizzes: Add a timer to make the quiz more challenging.
  • Sound Playback: Include Morse code sound for auditory learning.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages