Data Science Trivia 3 — Questions and Answers
Question 1: Which machine learning task predicts a continuous numeric output?
- Regression (Correct answer)
- Classification
- Clustering
- Tokenization
Correct answer: Regression
Regression models predict continuous values like price or temperature.
Question 2: What is the popular open-source library developed by Google for deep learning?
- TensorFlow (Correct answer)
- Pandas
- NumPy
- Matplotlib
Correct answer: TensorFlow
TensorFlow is Google's framework for building neural networks.
Question 3: In a confusion matrix, what are correctly predicted positive cases called?
- True positives (Correct answer)
- False positives
- True negatives
- False negatives
Correct answer: True positives
True positives are cases predicted positive that are actually positive.
Question 4: Which technique reduces the number of features while preserving variance?
- PCA (Correct answer)
- KNN
- SVM
- RNN
Correct answer: PCA
Principal Component Analysis projects data onto fewer dimensions.
Question 5: What does overfitting mean in a machine learning model?
- It performs well on training data but poorly on new data (Correct answer)
- It is too simple to learn
- It runs too slowly
- It uses too little memory
Correct answer: It performs well on training data but poorly on new data
Overfitting means the model memorizes training data and fails to generalize.
Question 6: Which Python library is the foundation for numerical array computing?
- NumPy (Correct answer)
- Flask
- Django
- Requests
Correct answer: NumPy
NumPy provides efficient multidimensional array operations.
Question 7: What is the unsupervised task of grouping similar data points called?
- Clustering (Correct answer)
- Regression
- Labeling
- Indexing
Correct answer: Clustering
Clustering groups unlabeled data based on similarity.
Which machine learning task predicts a continuous numeric output?