0.22.0 • Published 3 months ago

ruby-questions v0.22.0

Weekly downloads
5
License
MIT
Repository
github
Last release
3 months ago

Ruby Quiz Questions 🌟

This package dedicated to hosting questions for Ruby quizzes. Perfect for those wanting to test their knowledge in Ruby!

Features:

  • JSON Structured Questions: All questions are well-structured in JSON format, making it easy to integrate with various platforms or applications.

  • Question Anatomy:

    • ID: A unique identifier for every question.
    • Question Content: The main quiz question.
    • Type: Denotes the type of question, e.g., multiple-choice (mc).
    • Choices: A set of possible answers for the user to select.
    • Answer: The correct answer's key.
    • Tags: Tags associated with the question, such as difficulty level or topic.
    • Explanation: A brief description explaining the correct answer.

Sample Question:

{
    "id": "fc5d1ed3-7b26-45c0-bbe6-03f46be062fa",
    "question": "```x = [a: 1, b: 2]```\nWhich expression will return true?",
    "type": "mc",
    "choices": {
      "1": "x[0][:a] == 1",
      "2": "x[:a] == 1",
      "3": "x[:a] == :b",
      "4": "x[0] == 1"
    },
    "answer": "1",
    "tags": ["beginner-level", "Hash", "Array"],
    "explanation": "The question focuses on understanding the structure of arrays and hashes in Ruby..."
}

Usage:

Import the library and start accessing a wealth of Ruby-related questions to build your quiz application or use for educational purposes.

import questions from 'ruby-questions';

Example of using

React-native applications for testing the knowledge of Ruby

Contribution:

Feel free to submit pull requests for adding more questions, enhancing question quality, or improving library functionality.

License

MIT

0.22.0

3 months ago

0.21.0

4 months ago

0.21.1

4 months ago

0.20.0

9 months ago

0.19.0

11 months ago

0.17.0

12 months ago

0.18.0

11 months ago

0.10.0

1 year ago

0.11.0

1 year ago

0.9.0

1 year ago

0.12.0

1 year ago

0.8.0

1 year ago

0.13.0

1 year ago

0.14.0

1 year ago

0.15.0

12 months ago

0.5.0

1 year ago

0.16.0

12 months ago

0.6.0

1 year ago

0.2.0

5 years ago

0.0.1

5 years ago

1.0.0

5 years ago