AI quiz generator from notes

Notes to Quiz

Turn your notes into a practice quiz. Paste lecture notes, a chapter summary, or your own study guide to generate multiple-choice questions and find out what to review next.

AI quiz generator from notes

Paste text or upload a PDF / TXT file. No sign-up required to generate a quiz.

How to turn your notes into a quiz

  1. Add your notes

    Paste a focused section of your notes into the text box, then choose Generate quiz. You can also switch to File and upload a text-based PDF or TXT file.

  2. Answer the questions

    HyNote generates multiple-choice questions from your material. Try to recall each answer before reading the options, then select your choice.

  3. Review what you missed

    Check the correct options as you answer. After completing the quiz, review your score and the questions you missed, then return to the relevant notes.

From a source article to a five-question quiz

An illustrative example using the source article and quiz saved in HyNote. Select an option to check each answer.

Source article

The Bubble Sort Algorithm - DEV Community

Maximilian

Intro

I recently took a data structures and algorithms course as part of my pursuit to learn lower level programming and computer science concepts. As the saying goes, the best way of solidifying your knowledge in something is to teach it, and since I've already filled my quota for boring my partner with coding talk for the month (probably the year), I thought I'd write a series of posts with some of the things I've learned. This is one such post.

What is the Bubble Sort Algorithm

The Bubble Sort algorithm is typically applied where simplicity is favoured over efficiency. It has a time complexity of O(n^2) which is less than ideal when dealing with larger lists.

How does it work

To explain how it works, here's some pseudo-code:

for pointer1 in list
    for pointer2 in list
        if list[j] > list[j + 1]
            swap list[j] and list[j + 1]
        pointer2++

    pointer1++


The idea of this algorithm is to 'bubble up' the larger items in the list to the end. We can think of this with 2 pointers, pointer1 and pointer2. We start by setting both pointers to the first item in the list. We then go through the entire list with pointer2 and swap the item at pointer2's position if the item at position pointer2 + 1 is greater in value. We keep repeating this process until we reach the end of the list. We then move pointer1 up by 1 and we start the process again with pointer2.

You may have noticed that we need a way of avoiding checking items that we have already sorted. Seeing as the aim of each iteration is to move the larger items to the end of the list, we can do this by limiting the boundary of pointer2 by the value of pointer1 + 1.

How do we implement it

Here's a heavily commented implementation in Typescript:

function bubbleSort(arr: number[]): void {
    // pointer 1
    for (let i = 0; i < arr.length; ++i) { 
       // pointer 2 + limit iterations by pointer1 + 1
        for (let j = 0; j < arr.length - 1 - i; ++j) {
            // check if current item is larger than the next item
            if (arr[j] > arr[j + 1]) {
                // temporarily store the current item so we don't lose it
                const tmp = arr[j];
                // swap the items in the array
                arr[j] = arr[j + 1];
                arr[j + 1] = tmp;
            }
        }
    }
}

Sorted

This isn't a likely go-to algorithm in most cases, but I think it's a nice and easy one to get started. I hope you found it useful or, at least, a little bit interesting!

Quiz

HyNote

1.

What is the primary reason to use the Bubble Sort algorithm?

  • It is highly efficient
  • Simplicity is favored over efficiency
  • It has the best time complexity
  • It is the fastest sorting method

The quiz and source are shown side by side so you can check each answer against the article.

Give your notes a second job

Check what you can recall

Rereading can make a topic feel familiar. Answering questions gives you another way to check whether you can recognise and apply the ideas in your notes.

Find a starting point for review

A missed or uncertain answer points you back to a specific concept. Look up that section and explain the correct answer in your own words.

Spend less time drafting questions

Let HyNote create the initial questions and answer choices. Spend your study session checking the content, answering, and reviewing.

Start with the notes you already have

Lecture notes

Paste notes from one class or topic. Include important definitions and the examples that explain them.

Chapter summaries

Check your understanding of a reading assignment using a focused summary with the key concepts kept together.

PDF and TXT study guides

Upload a supported file instead of pasting. PDFs need extractable text; convert image-only or handwritten notes to text first.

Already taking notes in HyNote?

Open your notebook and choose Templates → Study → Quiz. Select the question count and choose Generate to keep a quiz alongside your study material.

Explore quizzes in your notebook

Get more useful questions from your notes

Use these checks before and after generating your quiz.

  • Keep each topic focused

    Start with one lecture or chapter. Keep definitions beside their examples and clarify abbreviations so each idea has enough context. Check uncertain facts before you generate the quiz.

  • Check what the quiz covers

    Compare the questions with the key topics in your notes. A short quiz may not cover everything. Review any important concepts that are missing before moving on.

  • Verify unclear answers

    AI-generated questions can contain errors or miss context. Check unclear questions and answers against your original material, then explain the correct answer in your own words.

Notes to quiz FAQs

Paste your notes into the text box and choose Generate quiz, or upload a PDF or TXT file. HyNote creates multiple-choice questions. Answer them to check the correct options, then review your score after finishing.

Yes. Paste typed notes directly into the text box or upload a TXT file. You do not need to convert your notes to PDF.

You can generate and answer a quiz with this public tool without signing up. For quizzes inside a saved HyNote notebook, sign in and use the Quiz template.

This tool generates multiple-choice questions with answer options. It marks your choice as correct or incorrect and shows the correct option when you miss a question. After all questions are answered, it displays a score and quiz report.

This workflow needs readable text. Convert handwritten notes or image-only PDFs to text first. For PDF uploads, use a document with selectable text that can be extracted.

The public tool generates multiple-choice questions automatically and does not provide difficulty or question-type controls. The Quiz template inside a HyNote notebook lets you select the question count.

Use it to guide review. Revisit missed and uncertain answers, check the original material, and explain the ideas in your own words. A generated quiz is a study aid and does not predict an exam result.

Keep studying with HyNote

Put your notes to the test

Choose one topic, generate a quiz, and use your answers to plan your next study session.