Question Array Generator (Numeric Answers)

Question Array Generator (Numeric Answers)

How to Use

Write your questions in the "Input" box below using this simple format:

  1. Start each question on a new line. You can have multiple lines for one question.
  2. List the options below the question, each starting with a single asterisk (*).
  3. Mark the correct answer by starting its line with a double asterisk (**).
  4. Separate each complete question block (question + options) with two blank lines.

Example:

Who is the first Prime Minister of India?
* Mahatma Gandhi
** Jawaharlal Nehru
* Sardar Patel

Consider these statements:
1. The Earth is flat.
2. The Sun revolves around the Earth.
* Statement 1 is correct.
* Statement 2 is correct.
** Neither is correct.
* Both are correct.

1. Input Your Questions

2. Generated JavaScript Array (Copy This)