Skip to main content

Quiz Maker: Automatic Quiz Generation from Text Using NLP

  • Conference paper
  • First Online:
Futuristic Trends in Networks and Computing Technologies

Part of the book series: Lecture Notes in Electrical Engineering ((LNEE,volume 936))

Abstract

In the past few years, there has been great technological advancement in the field of deep learning and natural language processing. One of the applications is automatic generation of quizzes from text. The recent advancement in NLP techniques has shown a lot of promise. The proposed solution uses an NLP pipeline involving Bert and T5 transformers to extract keywords and gain insights from the text input. From the extracted keywords, different types of questions are generated such as fill in the blanks, true or false, Wh-type and multiple choice questions. Latest state-of-the-art models proved to perform better in all stages of our pipeline. The results from these models have shown a lot of promise. Through a survey created for evaluating the model, around 60% questions generated by the model were incorrectly identified as human generated or could not be determined by the survey participants.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 189.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 249.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 249.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

References

  1. Sotola L, Marcus C (2021) Regarding class quizzes: a meta-analytic synthesis of studies on the relationship between frequent low-stakes testing and class performance. Educ Psychol Rev 33. https://doi.org/10.1007/s10648-020-09563-9

  2. Singh Bhatia A, et al (2013) Automatic generation of multiple choice questions using Wikipedia. In: Maji P et al (eds) Pattern recognition and machine intelligence, Springer, pp 733–738. https://doi.org/10.1007/978-3-642-45062-4

  3. Pabitha P, Mohana M, Suganthi S, Sivanandhini B (2014) Automatic question generation system. Int Conf Recent Trends Inform Technol 2014:1–5. https://doi.org/10.1109/ICRTIT.2014.6996216

    Article  Google Scholar 

  4. Aithal SG, Rao AB, Singh S (2021) Automatic question-answer pairs generation and question similarity mechanism in question answering system. Appl Intell

    Google Scholar 

  5. Srivastava A, et al (2020) Questionator-automated question generation using deep learning. In: 2020 international conference on emerging trends in in-formation technology and engineering (Ic-ETITE), 2020, pp 1–5. IEEE Xplore. https://doi.org/10.1109/ic-ETITE47903.2020.212

  6. Liu Z, et al (2020) Semantics-reinforced networks for question generation. ECAI. Semantic Scholar. https://doi.org/10.3233/FAIA200330.7

  7. Rohde T, et al (2021) Hierarchical learning for generation with long source sequences. http://arxiv.org/abs/2104.07545

  8. Wang Z, et al (2018) QG-Net: a data-driven question generation model for ed-ucational content. In: Proceedings of the fifth annual ACM conference on learning at scale, ACM, pp 1–10. https://doi.org/10.1145/3231644.3231654

  9. Savelieva A, et al (2020) Abstractive summarization of spoken and written instructions with BERT. http://arxiv.org/abs/2008.09676

  10. Metatext, https://metatext.io/models/sentence-transformers-distilbert-base-nli-stsb-mean-tokens

  11. Reimers N, Iryna G (2019) Sentence-BERT: sentence embeddings using siamese BERT-networks. In: Proceedings of the 2019 conference on empirical methods in natural language processing and the 9th international joint conference on natural language processing (EMNLP-IJCNLP), Association for Computational Linguistics, Hong Kong, China, pp 3982–3992

    Google Scholar 

  12. Rael C, Shazeer NM, Roberts A, Lee K, Narang S, Matena M, Zhou Y, Li W, Liu PJ (2020) Exploring the limits of transfer learning with a Uni ed text-to-text transformer. http://arxiv.org/abs/1910.10683

  13. Lelkes AD, et al (2021) Quiz-style question generation for news stories. http://arxiv.org/abs/2102.09094

  14. Sahrawat D, et al (2020) Keyphrase extraction as sequence labeling using contextualized embeddings. In: Jose J et al (eds) Advances in information retrieval. ECIR 2020. LectureNotes in Computer Science, vol 12036. Springer, Cham. https://doi.org/10.1007/978-3-030-45442-541

  15. Nikzad-Khasmakhi N, Feizi-Derakhshi M, Asgari-Chenaghlu M, Balafar M, Feizi-Derakhshi A, Rahkar-Farshi T, Ramezani M, Jahanbakhsh-Nagadeh Z, Zafarani-Moattar E, Ranjbar-Khadivi M (2021) Phraseformer: multi-modal key-phrase ex-traction using transformer and graph embedding. http://arxiv.org/abs/2106.04939. Das B, et al (2021) Automatic question generation and answer assessment: a survey. Res Prac Technol Enhan Learn 16(1):5. BioMed Central. https://doi.org/10.1186/s41039-021-00151-1

  16. Melekhov I, et al (2016) Siamese network features for image matching. In: 2016 23rd international conference on pattern recognition (ICPR), IEEE, 2016, pp 378–383. https://doi.org/10.1109/ICPR.2016.7899663

  17. Vaswani A, et al (2017) Attention is all you need. Google Res. https://arxiv.org/pdf/1706.03762.pdf

  18. Devlin J, et al (2019) BERT: pre-training of deep bidirectional transformers for language understanding. http://arxiv.org/abs/1810.04805

  19. Killawala A, et al (2018) Computational intelligence framework for automatic quiz question generation. In: 2018 IEEE international conference on fuzzy systems (FUZZ-IEEE), IEEE, pp 1–8. https://doi.org/10.1109/FUZZ-IEEE.2018.8491624

  20. Sreelakshmi AS, et al. (2019) A question answering and quiz generation Chatbot for education. In: 2019 Grace Hopper Celebration India (GHCI), 2019, pp 1–6. IEEE Xplore. https://doi.org/10.1109/GHCI47972.2019.9071832

  21. Kurdi G, et al (2020) A systematic review of automatic question generation for educational purposes. Int J Arti Intell Educ 30(1):121–204. https://doi.org/10.1007/s40593-019-00186-y

  22. Susanti Y, et al (2018) Automatic distractor generation for multiple-choice english vocabulary questions. Res Prac Technol Enhan Learn 13(1):15. BioMed Central. https://doi.org/10.1186/s41039-018-0082-z

  23. Automatic Question Generation From Passages. Springerprofessional.De, https://www.springerprofessional.de/en/automatic-question-generation-from-passages/16186598. Accessed 9 Jul 2021

  24. Nwafor CA, Onyenwe IE (2021) An automated multiple-choice question generation using natural language processing techniques. Int J Nat Lang Comp 10(2):1–10. https://doi.org/10.5121/ijnlc.2021.10201

  25. Kriangchaivech K, Wangperawong A (2019) Question gener-ation by transformers. http://arxiv.org/abs/1909.05017

  26. Singh J (2018) Encoder-decoder architectures for generating questions. Proc Comp Sci 132:1041–1048. www.sciencedirect.com, https://doi.org/10.1016/j.procs.2018.05.019

  27. Qi W, et al (2020) ProphetNet: predicting future N-gram for sequence-to-sequence pre-training. http://arxiv.org/abs/2001.04063

  28. Aithal SG, et al (2021) Automatic question-answer pairs generation and ques-tion similarity mechanism in question answering system. Appl Intell. https://doi.org/10.1007/s10489-021-02348-9

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Priyav Mehta .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Gabajiwala, E., Mehta, P., Singh, R., Koshy, R. (2022). Quiz Maker: Automatic Quiz Generation from Text Using NLP. In: Singh, P.K., Wierzchoń, S.T., Chhabra, J.K., Tanwar, S. (eds) Futuristic Trends in Networks and Computing Technologies . Lecture Notes in Electrical Engineering, vol 936. Springer, Singapore. https://doi.org/10.1007/978-981-19-5037-7_37

Download citation

  • DOI: https://doi.org/10.1007/978-981-19-5037-7_37

  • Published:

  • Publisher Name: Springer, Singapore

  • Print ISBN: 978-981-19-5036-0

  • Online ISBN: 978-981-19-5037-7

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics