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
- Tokenisation and text cleaning
- Sentiment analysis
- Translation and chatbots
- Common NLP tasks
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?
- Natural Language Processing
- Network Language Protocol
- Neural Learning Process
- Natural Logic Programming
Answer: Natural Language Processing
NLP stands for Natural Language Processing.
2. NLP is a branch of _____?
- Artificial Intelligence
- Database
- Networking
- 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?
- ChatGPT
- Google Translate
- Voice Assistants
- All of these
Answer: All of these
ChatGPT, Google Translate, and voice assistants all use NLP.
4. Which company developed ChatGPT?
- OpenAI
- Meta
- Microsoft
Answer: OpenAI
ChatGPT is developed by OpenAI.
5. NLP enables computers to understand _____?
- Human Language
- Electricity
- Hardware
- Networks
Answer: Human Language
NLP allows computers to understand and process human language.
6. Which AI technology converts speech into text?
- Speech Recognition
- Computer Vision
- Robotics
- Deep Learning
Answer: Speech Recognition
Speech Recognition converts spoken language into text.
7. Which AI technology converts text into speech?
- Text-to-Speech (TTS)
- Speech-to-Text
- Image Recognition
- OCR
Answer: Text-to-Speech (TTS)
Text-to-Speech converts written text into spoken words.
8. Google Translate is an example of _____?
- Natural Language Processing
- Computer Vision
- Machine Learning only
- Networking
Answer: Natural Language Processing
Google Translate uses NLP to translate between languages.
9. Which of the following uses NLP?
- Chatbots
- Email Spam Detection
- Language Translation
- All of these
Answer: All of these
Chatbots, spam filters, and translation systems all use NLP.
10. Which virtual assistant uses NLP?
- Siri
- Alexa
- Google Assistant
- 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?
- Sentiment Analysis
- Image Classification
- Object Detection
- 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?
- Chatbot
- Firewall
- Compiler
- Database
Answer: Chatbot
Chatbots use NLP to understand questions and provide responses.
13. Which of the following is an NLP task?
- Language Translation
- Text Summarization
- Question Answering
- 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?
- GPT
- CNN
- RNN
- SVM
Answer: GPT
GPT models are designed for natural language understanding and generation.
15. Which language is commonly used to build NLP applications?
- Python
- HTML
- CSS
- PHP
Answer: Python
Python provides many NLP libraries such as NLTK and spaCy.
16. Which library is widely used for NLP in Python?
- NLTK
- Bootstrap
- React
- 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?
- spaCy
- NumPy
- Pandas
- 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?
- Spam Filter
- Calculator
- Image Editor
- Compiler
Answer: Spam Filter
Spam filters use NLP to analyze email content and detect unwanted messages.
19. What is the primary goal of NLP?
- To help computers understand human language
- To build computer hardware
- To improve internet speed
- To design websites
Answer: To help computers understand human language
NLP enables computers to understand, interpret, and generate human language.