A CLI-based Quiz Application built using Go (Golang). This project demonstrates the use of core Go concepts like file handling, structs, slices, and maps to create an interactive quiz system.
- Load Questions from a CSV File: Easily add and modify quiz questions and answers using a simple CSV format.
- Time-Bound Quiz: Includes a countdown timer to challenge participants and add urgency.
- Automatic Score Calculation: Tracks and displays the user's score at the end of the quiz.
- Simple CLI Interface: A user-friendly, command-line-based interface that’s lightweight and straightforward.
- Customizable Settings: Modify the quiz timer or provide a custom CSV file path for personalized quizzes.
- Real-Time Feedback: Displays "Correct" or "Incorrect" feedback after each answer.
- Portable and Easy to Use: Written in Go, the program is fast and easily executable on multiple platforms.
- Clone the repository:
git clone https://github.com/Samarthasbhat/Quiz-using-GO-language.git
cd Quiz-using-GO-language
- Build and run the application:
go run main.go
Prepare Questions File:
The application reads questions from a CSV file. Each row in the CSV should represent a question and its corresponding answer.
Create a new branch for your feature/fix:
git checkout -b feature-name
git commit -m "Add new feature"
git push origin feature-name
Open a Pull Request.