Skip to content

Latest commit

 

History

History
46 lines (35 loc) · 1.47 KB

README.md

File metadata and controls

46 lines (35 loc) · 1.47 KB

Quiz Application

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.

Features

  • 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.

Installation

  1. Clone the repository:
git clone https://github.com/Samarthasbhat/Quiz-using-GO-language.git
cd Quiz-using-GO-language
  1. Build and run the application:
go run main.go

Usage

Prepare Questions File:

The application reads questions from a CSV file. Each row in the CSV should represent a question and its corresponding answer.

Fork the repository.

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.