Natural Language Processing Quiz

Natural language processing helps computers understand and generate human language. Questions cover tokenisation, stemming, sentiment analysis, translation, chatbots and common NLP tasks.

What this quiz covers

Study tip: Try tokenising a sentence by hand; it shows why language is harder for computers than numbers.

Questions, answers and explanations

1. What does NLP stand for?

  1. Natural Language Processing
  2. Network Language Protocol
  3. Neural Learning Process
  4. Natural Logic Programming

Answer: Natural Language Processing

NLP stands for Natural Language Processing.

2. NLP is a branch of _____?

  1. Artificial Intelligence
  2. Database
  3. Networking
  4. Cyber Security

Answer: Artificial Intelligence

NLP is a branch of Artificial Intelligence that helps computers understand human language.

3. Which AI application mainly uses NLP?

  1. ChatGPT
  2. Google Translate
  3. Voice Assistants
  4. All of these

Answer: All of these

ChatGPT, Google Translate, and voice assistants all use NLP.

4. Which company developed ChatGPT?

  1. Google
  2. OpenAI
  3. Meta
  4. Microsoft

Answer: OpenAI

ChatGPT is developed by OpenAI.

5. NLP enables computers to understand _____?

  1. Human Language
  2. Electricity
  3. Hardware
  4. Networks

Answer: Human Language

NLP allows computers to understand and process human language.

6. Which AI technology converts speech into text?

  1. Speech Recognition
  2. Computer Vision
  3. Robotics
  4. Deep Learning

Answer: Speech Recognition

Speech Recognition converts spoken language into text.

7. Which AI technology converts text into speech?

  1. Text-to-Speech (TTS)
  2. Speech-to-Text
  3. Image Recognition
  4. OCR

Answer: Text-to-Speech (TTS)

Text-to-Speech converts written text into spoken words.

8. Google Translate is an example of _____?

  1. Natural Language Processing
  2. Computer Vision
  3. Machine Learning only
  4. Networking

Answer: Natural Language Processing

Google Translate uses NLP to translate between languages.

9. Which of the following uses NLP?

  1. Chatbots
  2. Email Spam Detection
  3. Language Translation
  4. All of these

Answer: All of these

Chatbots, spam filters, and translation systems all use NLP.

10. Which virtual assistant uses NLP?

  1. Siri
  2. Alexa
  3. Google Assistant
  4. All of these

Answer: All of these

All popular virtual assistants use NLP to understand user commands.

11. Which NLP task identifies positive or negative opinions in text?

  1. Sentiment Analysis
  2. Image Classification
  3. Object Detection
  4. Regression

Answer: Sentiment Analysis

Sentiment Analysis determines whether a text expresses positive, negative, or neutral feelings.

12. Which NLP application is used to answer user questions automatically?

  1. Chatbot
  2. Firewall
  3. Compiler
  4. Database

Answer: Chatbot

Chatbots use NLP to understand questions and provide responses.

13. Which of the following is an NLP task?

  1. Language Translation
  2. Text Summarization
  3. Question Answering
  4. All of these

Answer: All of these

Translation, summarization, and question answering are all NLP tasks.

14. Which AI model is designed mainly for understanding and generating text?

  1. GPT
  2. CNN
  3. RNN
  4. SVM

Answer: GPT

GPT models are designed for natural language understanding and generation.

15. Which language is commonly used to build NLP applications?

  1. Python
  2. HTML
  3. CSS
  4. PHP

Answer: Python

Python provides many NLP libraries such as NLTK and spaCy.

16. Which library is widely used for NLP in Python?

  1. NLTK
  2. Bootstrap
  3. React
  4. Laravel

Answer: NLTK

NLTK (Natural Language Toolkit) is one of the most popular Python libraries for NLP.

17. Which Python library is popular for advanced NLP tasks?

  1. spaCy
  2. NumPy
  3. Pandas
  4. Matplotlib

Answer: spaCy

spaCy is a fast and modern NLP library used in production applications.

18. Which AI application uses NLP to detect spam emails?

  1. Spam Filter
  2. Calculator
  3. Image Editor
  4. Compiler

Answer: Spam Filter

Spam filters use NLP to analyze email content and detect unwanted messages.

19. What is the primary goal of NLP?

  1. To help computers understand human language
  2. To build computer hardware
  3. To improve internet speed
  4. To design websites

Answer: To help computers understand human language

NLP enables computers to understand, interpret, and generate human language.

Take the timed quiz