Computer Science Solved MCQs

Computer Science Solved MCQs One Stop Page for Computer Science Solved MCQs

Explainable AI (XAI) https://cs-mcqs.blogspot.com/2025/07/explainable-ai-xai-solved-mcqs.html✅ Explainable AI (XAI) – 50...
04/08/2025

Explainable AI (XAI)

https://cs-mcqs.blogspot.com/2025/07/explainable-ai-xai-solved-mcqs.html

✅ Explainable AI (XAI) – 50 Solved MCQs
Basic Concepts of XAI (1–20)
1. What is Explainable AI (XAI)?
A. AI that creates documents
B. AI that explains how decisions are made
C. AI with hidden layers
D. AI used for entertainment
✅ Correct Answer: B
Explanation: XAI refers to systems that make their decisions understandable to humans.

2. Why is explainability important in AI?
A. To reduce training time
B. To make predictions faster
C. To build trust, transparency, and accountability
D. To reduce cost
✅ Correct Answer: C

3. XAI is especially critical in:
A. Games
B. Medical diagnosis, finance, and law
C. Sports predictions
D. Online shopping
✅ Correct Answer: B

4. A black-box model is:
A. Fully interpretable
B. A system with no outputs
C. A model whose internal workings are hard to interpret
D. A model that cannot be trained
✅ Correct Answer: C

5. An interpretable model is:
A. One that needs deep learning
B. Easy for machines to understand
C. Easily understood by humans
D. Hidden and encrypted
✅ Correct Answer: C

6. Which of the following is NOT a goal of XAI?
A. Interpretability
B. Accuracy
C. Transparency
D. Deception
✅ Correct Answer: D

7. Which type of model is more explainable by default?
A. Neural Networks
B. Decision Trees
C. Deep CNNs
D. Random Forest
✅ Correct Answer: B

8. Post-hoc explanations refer to:
A. Explanations designed before model creation
B. Pre-training steps
C. Explanations generated after the model makes a prediction
D. Raw data interpretation
✅ Correct Answer: C

9. What does LIME stand for?
A. Local Interpretable Model-agnostic Explanations
B. Learning in Machine Environments
C. Linear Interpolation for Model Explanations
D. Local Instance Mapping
✅ Correct Answer: A

10. LIME is considered:
A. Global explanation technique
B. Local explanation technique
C. Rule-based model
D. Supervised model
✅ Correct Answer: B

11. Which explanation technique is used to visualize neural networks’ decisions?
A. SVM
B. Decision rules
C. Saliency maps
D. KNN
✅ Correct Answer: C

12. Which term describes whether a human can understand why a model made a certain prediction?
A. Generalization
B. Transparency
C. Interpretability
D. Optimization
✅ Correct Answer: C

13. What does SHAP stand for?
A. Structured Heuristic Attribute Prediction
B. SHadow and Prediction
C. SHapley Additive exPlanations
D. Smart Heuristic Applied Prediction
✅ Correct Answer: C

14. SHAP values are based on:
A. Random sampling
B. Game theory
C. Linear regression
D. Loss functions
✅ Correct Answer: B

15. Which type of XAI technique uses decision rules to explain outcomes?
A. LIME
B. SHAP
C. Rule-based methods
D. CNN
✅ Correct Answer: C

16. Counterfactual explanations answer the question:
A. What is the root cause?
B. What else could have led to a different outcome?
C. What data was missing?
D. How fast was the model?
✅ Correct Answer: B

17. Which model is usually considered “white-box”?
A. Deep learning
B. Decision trees
C. GANs
D. Autoencoders
✅ Correct Answer: B

18. Which of the following is a limitation of explainable AI?
A. Always accurate
B. May reduce model performance
C. Works only with text
D. Makes models smaller
✅ Correct Answer: B

19. Trust in AI can be improved by:
A. High latency
B. Incomplete explanations
C. Clear and understandable model decisions
D. Obfuscating rules
✅ Correct Answer: C

20. What is the main trade-off in XAI?
A. Between cost and accuracy
B. Between model complexity and interpretability
C. Between speed and memory
D. Between training and inference
✅ Correct Answer: B

XAI Techniques & Tools (21–40)
21. Model-agnostic techniques:
A. Only work with CNNs
B. Require model internals
C. Work across various models
D. Are specific to KNN
✅ Correct Answer: C

22. What is the purpose of saliency maps in CNNs?
A. To train the model
B. To visualize training loss
C. To highlight input regions important for the prediction
D. To reduce computation
✅ Correct Answer: C

23. A global explanation explains:
A. One prediction
B. A random variable
C. Overall model behavior
D. A random sample
✅ Correct Answer: C

24. Which of the following is NOT an XAI tool or library?
A. SHAP
B. LIME
C. TensorBoard
D. Pandas
✅ Correct Answer: D

25. Feature importance techniques in XAI help to:
A. Speed up training
B. Select datasets
C. Identify which features contributed most to predictions
D. Perform normalization
✅ Correct Answer: C

26. Explainable AI improves regulatory compliance by:
A. Hiding features
B. Allowing traceability of decisions
C. Encrypting models
D. Ignoring user feedback
✅ Correct Answer: B

27. Local explanations are useful when:
A. You want to summarize entire model behavior
B. Explaining a single instance prediction
C. Optimizing datasets
D. Training multiple models
✅ Correct Answer: B

28. Which sector has high demand for explainable AI due to legal constraints?
A. Gaming
B. Food delivery
C. Finance
D. Fitness apps
✅ Correct Answer: C

29. Which technique visually explains how changes in input affect output?
A. SHAP
B. Counterfactuals
C. Attention maps
D. Data augmentation
✅ Correct Answer: B

30. In SHAP, higher SHAP value means:
A. Feature is irrelevant
B. Feature negatively influences prediction
C. Greater contribution to prediction
D. Less weight during training
✅ Correct Answer: C

31. Integrated gradients is a method for:
A. Feature scaling
B. Explaining neural networks
C. Model compression
D. Feature encoding
✅ Correct Answer: B

32. In which stage is XAI most important?
A. After training (model evaluation)
B. During data collection
C. During model compilation
D. GPU configuration
✅ Correct Answer: A

33. Which XAI tool is part of the Captum library?
A. LIME
B. SHAP
C. Integrated Gradients
D. ELI5
✅ Correct Answer: C

34. XAI helps debug models by:
A. Cleaning code
B. Showing which features caused errors or bias
C. Compressing data
D. Improving RAM
✅ Correct Answer: B

35. Which visualization tool is often used with PyTorch for XAI?
A. Matplotlib
B. Captum
C. Sklearn
D. OpenCV
✅ Correct Answer: B

36. ELI5 is used for:
A. Explaining Linear Models and Tree models
B. Translating data
C. Label encoding
D. Cloud deployment
✅ Correct Answer: A

37. Explainable models help AI become:
A. More secretive
B. More interpretable and socially acceptable
C. Less accurate
D. More expensive
✅ Correct Answer: B

38. What is a “glass box” model?
A. Complex, deep model
B. Transparent model with interpretable internals
C. Model with no output
D. Audio-only model
✅ Correct Answer: B

39. In sensitive domains, XAI helps detect:
A. Training speed
B. Bias, fairness, and safety issues
C. Hyperparameters
D. GPU types
✅ Correct Answer: B

40. One key advantage of SHAP over LIME is:
A. Model-specific explanation
B. Use of deep learning
C. Consistency with global model behavior
D. Fast computation
✅ Correct Answer: C

Ethics, Applications, and Challenges (41–50)
41. Which of the following is a major challenge in XAI?
A. Model training
B. Data visualization
C. Balancing explainability and accuracy
D. GPU compatibility
✅ Correct Answer: C

42. Explainable AI can help prevent:
A. Overfitting
B. Ethical violations and bias
C. High resolution
D. Compilation errors
✅ Correct Answer: B

43. GDPR regulations require that AI decisions:
A. Remain confidential
B. Be made quickly
C. Be explainable to the user
D. Be hidden from authorities
✅ Correct Answer: C

44. A black-box attack in XAI refers to:
A. Model crashing
B. Reverse engineering the model
C. Random sampling
D. Data imbalance
✅ Correct Answer: B

45. Which industry is NOT currently emphasizing XAI strongly?
A. Healthcare
B. Finance
C. Legal systems
D. Gaming
✅ Correct Answer: D

46. XAI supports responsible AI by promoting:
A. Incomplete answers
B. Fairness, accountability, transparency
C. Black-box models
D. Closed-source tools
✅ Correct Answer: B

47. Which ethical principle is closely tied to XAI?
A. Profit maximization
B. Transparency
C. Competition
D. Complexity
✅ Correct Answer: B

48. What is “faithfulness” in XAI?
A. The model remains unchanged
B. The explanation accurately reflects the model's reasoning
C. The output is always correct
D. It doesn’t need training
✅ Correct Answer: B

49. A faithful explanation is one that:
A. Uses complex math
B. Makes false assumptions
C. Matches the model’s actual logic
D. Is entertaining
✅ Correct Answer: C

50. The ultimate goal of XAI is to:
A. Replace humans
B. Build complicated models
C. Make AI decisions understandable, fair, and trustworthy
D. Speed up processing
✅ Correct Answer: C

All Computer Science Solved MCQs at one place...

✅ Custom Hardware for AI – Solved MCQs1. What is the primary purpose of custom AI hardware?A. Playing gamesB. General-pu...
04/08/2025

✅ Custom Hardware for AI – Solved MCQs
1. What is the primary purpose of custom AI hardware?
A. Playing games
B. General-purpose processing
C. Accelerating machine learning computations
D. Memory optimization
✅ Correct Answer: C. Accelerating machine learning computations

2. TPUs (Tensor Processing Units) are developed by:
A. Apple
B. Microsoft
C. Google
D. IBM
✅ Correct Answer: C. Google

3. What is the core advantage of using a GPU over a CPU for AI?
A. Faster clocks
B. Better for sequential tasks
C. Parallel processing capability
D. Lower cost
✅ Correct Answer: C. Parallel processing capability

4. Which of the following is not a hardware accelerator?
A. CPU
B. GPU
C. TPU
D. FPGA
✅ Correct Answer: A. CPU

5. Which of the following is an example of FPGA use in AI?
A. Data center cooling
B. Image filtering
C. Reconfigurable inference acceleration
D. Database storage
✅ Correct Answer: C. Reconfigurable inference acceleration

6. NPUs (Neural Processing Units) are optimized for:
A. Gaming
B. Database querying
C. Deep learning inference
D. Compiling code
✅ Correct Answer: C. Deep learning inference

7. A key benefit of using ASICs in AI is:
A. Reprogrammability
B. General use
C. High performance and low power consumption
D. Upgradability
✅ Correct Answer: C. High performance and low power consumption

8. What does "edge AI" typically require?
A. Cloud servers
B. Power-hungry processors
C. Lightweight inference on local devices
D. Human supervision
✅ Correct Answer: C. Lightweight inference on local devices

9. Which is a custom AI chip for Apple devices?
A. Bionic A-series
B. Snapdragon
C. Tensor SoC
D. Xeon
✅ Correct Answer: A. Bionic A-series

10. What is the primary advantage of using TPUs in neural networks?
A. Fast rendering
B. Low latency inference for deep learning
C. Operating system emulation
D. Browser speed
✅ Correct Answer: B. Low latency inference for deep learning

✅ Inference Optimization – Solved MCQs
11. In AI, “inference” refers to:
A. Training a model
B. Guessing parameters
C. Running a trained model on new data
D. Creating training labels
✅ Correct Answer: C. Running a trained model on new data

12. Quantization in inference optimization reduces:
A. Training time
B. Model accuracy
C. Precision to improve speed and memory
D. Model depth
✅ Correct Answer: C. Precision to improve speed and memory

13. What does pruning do in model optimization?
A. Adds more layers
B. Reduces model size by removing unimportant weights
C. Increases memory usage
D. Reduces bias
✅ Correct Answer: B. Reduces model size by removing unimportant weights

14. Which data type is commonly used in quantized inference?
A. float64
B. float32
C. int8
D. double
✅ Correct Answer: C. int8

15. Which of the following techniques is NOT used in inference optimization?
A. Quantization
B. Pruning
C. Dropout
D. Model distillation
✅ Correct Answer: C. Dropout

16. What is the purpose of TensorRT?
A. Running JavaScript
B. Optimizing TensorFlow training
C. High-performance inference on NVIDIA GPUs
D. Database acceleration
✅ Correct Answer: C. High-performance inference on NVIDIA GPUs

17. ONNX stands for:
A. Open Neural Network Exchange
B. Optimized Neural Network Extension
C. Operational Node eX*****on
D. Offline Node Network
✅ Correct Answer: A. Open Neural Network Exchange

18. Model distillation is a technique to:
A. Add noise to models
B. Train a smaller student model from a larger teacher model
C. Increase training loss
D. Visualize datasets
✅ Correct Answer: B. Train a smaller student model from a larger teacher model

19. In deep learning deployment, the biggest bottleneck is often:
A. CPU heat
B. I/O throughput
C. Inference latency
D. Label generation
✅ Correct Answer: C. Inference latency

20. Which platform is not used for inference optimization?
A. TensorRT
B. OpenVINO
C. ONNX Runtime
D. MySQL
✅ Correct Answer: D. MySQL

✅ Mixed Questions – Custom Hardware + Optimization
21. Which hardware is best for training very large models?
A. CPU
B. FPGA
C. High-end GPU
D. NPU
✅ Correct Answer: C. High-end GPU

22. Which framework supports edge AI inference on microcontrollers?
A. TensorFlow
B. TensorFlow Lite
C. PyTorch
D. Scikit-learn
✅ Correct Answer: B. TensorFlow Lite

23. Why is model compression important in edge AI?
A. For faster internet
B. To match screen size
C. To reduce memory and power usage
D. To improve sound
✅ Correct Answer: C. To reduce memory and power usage

24. What does OpenVINO focus on?
A. Audio enhancement
B. Vision inference optimization on Intel hardware
C. Web development
D. Chatbot training
✅ Correct Answer: B. Vision inference optimization on Intel hardware

25. Which AI deployment tool is optimized for Apple devices?
A. PyTorch
B. Core ML
C. TensorFlow Hub
D. JAX
✅ Correct Answer: B. Core ML

26. Which optimization reduces both compute and storage requirements?
A. Hyperparameter tuning
B. Dropout
C. Quantization
D. Oversampling
✅ Correct Answer: C. Quantization

27. A common problem with aggressive quantization is:
A. Higher power usage
B. Increased training time
C. Accuracy degradation
D. More layers
✅ Correct Answer: C. Accuracy degradation

28. Which of the following is a hardware-aware optimization technique?
A. Pruning
B. Quantization
C. Neural Architecture Search (NAS)
D. Normalization
✅ Correct Answer: C. Neural Architecture Search (NAS)

29. Jetson Nano is a product of:
A. AMD
B. Intel
C. NVIDIA
D. Microsoft
✅ Correct Answer: C. NVIDIA

30. What does latency refer to in inference?
A. Model depth
B. Memory allocation
C. Delay between input and output
D. Temperature increase
✅ Correct Answer: C. Delay between input and output

✅ Advanced MCQs (31–50)
31. Bit-width reduction in quantization is done to:
A. Add more neurons
B. Decrease computation cost
C. Increase precision
D. Improve training loss
✅ Correct Answer: B. Decrease computation cost

32. NVIDIA’s DLSS uses AI for:
A. Speech recognition
B. Game performance boosting via deep learning
C. Hardware repair
D. Virus scanning
✅ Correct Answer: B. Game performance boosting via deep learning

33. ASICs are best suited for:
A. General computation
B. Flexible model development
C. Specific and repetitive AI workloads
D. Debugging
✅ Correct Answer: C. Specific and repetitive AI workloads

34. A major challenge in edge inference is:
A. Too much electricity
B. Cooling fans
C. Limited compute and memory
D. Lack of internet
✅ Correct Answer: C. Limited compute and memory

35. Neural Engine in iPhones is a type of:
A. NPU
B. CPU
C. TPU
D. ASIC
✅ Correct Answer: A. NPU

36. TFLite is mainly used for:
A. Real-time OS control
B. Mobile and edge inference
C. Cloud training
D. Robotic movement
✅ Correct Answer: B. Mobile and edge inference

37. Which one offers reconfigurability at runtime?
A. ASIC
B. FPGA
C. TPU
D. GPU
✅ Correct Answer: B. FPGA

38. Quantization-aware training helps by:
A. Avoiding overfitting
B. Reducing training time
C. Improving accuracy post-quantization
D. Slowing down inference
✅ Correct Answer: C. Improving accuracy post-quantization

39. Which is an example of layer fusion?
A. Merging Conv + BatchNorm
B. Repeating max pool
C. Adding dropout
D. Increasing depth
✅ Correct Answer: A. Merging Conv + BatchNorm

40. A good reason to use ONNX is:
A. Reduces image noise
B. Helps convert models between frameworks
C. Offers GPU drivers
D. Provides voice assistant
✅ Correct Answer: B. Helps convert models between frameworks

41. Which hardware type has fixed logic for AI models?
A. FPGA
B. CPU
C. ASIC
D. NPU
✅ Correct Answer: C. ASIC

42. Edge TPUs are designed for:
A. Cloud training
B. Mobile games
C. Inference at the edge with low power
D. Database lookup
✅ Correct Answer: C. Inference at the edge with low power

43. LLMs require which optimization for deployment?
A. Upsampling
B. Weight sharing
C. Inference acceleration
D. Token removal
✅ Correct Answer: C. Inference acceleration

44. Which is a risk of over-optimizing inference?
A. Bigger model
B. Better performance
C. Accuracy drop
D. GPU freezing
✅ Correct Answer: C. Accuracy drop

45. Which toolkit is used with NVIDIA for deployment?
A. DeepStream
B. Xcode
C. PyCaret
D. Hugging Face
✅ Correct Answer: A. DeepStream

46. Power-efficient AI hardware is crucial for:
A. Laptops only
B. Edge and embedded devices
C. Cloud clusters
D. Model tuning
✅ Correct Answer: B. Edge and embedded devices

47. Real-time AI applications need:
A. High throughput
B. High latency
C. Post-training only
D. Lower resolution
✅ Correct Answer: A. High throughput

48. ARM-based AI chips are used for:
A. Supercomputers only
B. Mobile devices and edge
C. Satellites
D. Legacy systems
✅ Correct Answer: B. Mobile devices and edge

49. One downside of using full-precision models in deployment is:
A. High accuracy
B. Slow inference and high resource consumption
C. Compatibility
D. Faster quantization
✅ Correct Answer: B. Slow inference and high resource consumption

50. Efficient AI inference allows:
A. More frequent retraining
B. Larger datasets
C. Real-time decision-making in low-resource environments
D. Storing user passwords
✅ Correct Answer: C. Real-time decision-making in low-resource environments

All Computer Science Solved MCQs at one place...

Solved MCQs on Artificial Intelligence Question: Which of the following is considered a subset of artificial intelligenc...
04/08/2025

Solved MCQs on Artificial Intelligence

Question: Which of the following is considered a subset of artificial intelligence?
A) Machine Learning
B) Natural Language Processing
C) Robotics
D) All of the above
Answer: D) All of the above
Question: What is the primary goal of artificial intelligence?
A) To create machines that can think and act like humans
B) To automate tasks and improve efficiency
C) To simulate human emotions in machines
D) To replace humans in all tasks
Answer: B) To automate tasks and improve efficiency
Question: Which AI technique involves training algorithms to learn from data and make predictions or decisions?
A) Expert Systems
B) Natural Language Processing
C) Machine Learning
D) Neural Networks
Answer: C) Machine Learning
Question: Which type of machine learning algorithm is typically used for classification tasks?
A) Reinforcement Learning
B) Unsupervised Learning
C) Supervised Learning
D) Deep Learning
Answer: C) Supervised Learning
Question: What is the purpose of a neural network in artificial intelligence?
A) To mimic the structure and function of the human brain
B) To process natural language
C) To generate random outputs
D) To perform logical reasoning
Answer: A) To mimic the structure and function of the human brain
Question: Which of the following is an example of a chatbot using natural language processing?
A) Siri
B) Google Translate
C) Alexa
D) All of the above
Answer: D) All of the above
Question: What is the term for AI systems that can improve their performance over time through experience?
A) Artificial Neural Networks
B) Deep Learning
C) Reinforcement Learning
D) Genetic Algorithms
Answer: C) Reinforcement Learning
Question: Which AI application involves teaching a computer to recognize patterns in images or videos?
A) Optical Character Recognition (OCR)
B) Speech Recognition
C) Computer Vision
D) Sentiment Analysis
Answer: C) Computer Vision
Question: What is the main advantage of using genetic algorithms in AI?
A) They are highly interpretable
B) They require large amounts of labeled data
C) They can find optimal solutions in complex search spaces
D) They are computationally efficient
Answer: C) They can find optimal solutions in complex search spaces
Question: Which of the following is NOT a potential ethical concern related to artificial intelligence?
A) Job displacement
B) Bias in algorithms
C) Autonomous weapons
D) Limited computing power
Answer: D) Limited computing power
estion: What is the process of feeding labeled data to a machine learning algorithm known as?
A) Unsupervised learning
B) Reinforcement learning
C) Supervised learning
D) Deep learning
Answer: C) Supervised learning
Question: Which of the following is NOT a type of machine learning algorithm?
A) Decision Trees
B) K-Means Clustering
C) Gradient Descent
D) Artificial Neural Networks
Answer: C) Gradient Descent
Question: Which AI technique involves mimicking the behavior of ants, bees, or other social organisms to solve optimization problems?
A) Swarm Intelligence
B) Genetic Algorithms
C) Reinforcement Learning
D) Expert Systems
Answer: A) Swarm Intelligence
Question: What is the term for AI systems that can understand, interpret, and generate human-like text?
A) Natural Language Processing
B) Machine Learning
C) Expert Systems
D) Speech Recognition
Answer: A) Natural Language Processing
Question: Which of the following is an example of unsupervised learning?
A) Predicting house prices based on historical data
B) Sorting emails into spam and non-spam folders
C) Grouping customers based on purchasing behavior
D) Playing chess against a computer opponent
Answer: C) Grouping customers based on purchasing behavior
Question: What is the main advantage of using deep learning over traditional machine learning algorithms?
A) Deep learning requires less computational power
B) Deep learning models are more interpretable
C) Deep learning can automatically learn hierarchical representations of data
D) Deep learning is less prone to overfitting
Answer: C) Deep learning can automatically learn hierarchical representations of data
Question: Which of the following is NOT a characteristic of artificial intelligence?
A) Creativity
B) Adaptability
C) Emotion
D) Consistency
Answer: C) Emotion
Question: What is the term for the ability of an AI system to perform tasks that require human intelligence?
A) Artificial Consciousness
B) Artificial General Intelligence
C) Artificial Superintelligence
D) Artificial Narrow Intelligence
Answer: B) Artificial General Intelligence
Question: Which of the following is a potential application of reinforcement learning?
A) Speech Recognition
B) Autonomous Driving
C) Image Classification
D) Text Translation
Answer: B) Autonomous Driving
Question: What is the term for AI systems that can perceive and understand the physical world through sensors and actuators?
A) Embodied AI
B) Symbolic AI
C) Strong AI
D) Weak AI
Answer: A) Embodied AI
Question: Which of the following is NOT a component of an artificial neural network?
A) Neurons
B) Weights
C) Loss Function
D) Rules
Answer: D) Rules
Question: Which of the following is NOT a challenge in training deep learning models?
A) Vanishing Gradient Problem
B) Overfitting
C) Underfitting
D) Lack of Data
Answer: D) Lack of Data
Question: What is the term for AI systems that can understand and interpret human speech?
A) Natural Language Processing
B) Speech Recognition
C) Sentiment Analysis
D) Optical Character Recognition
Answer: B) Speech Recognition
Question: Which AI technique involves deriving rules or logical conclusions from a knowledge base?
A) Reinforcement Learning
B) Genetic Algorithms
C) Expert Systems
D) Deep Learning
Answer: C) Expert Systems
Question: What is the term for AI systems that can generate new content, such as text, images, or music?
A) Natural Language Processing
B) Generative Adversarial Networks
C) Reinforcement Learning
D) Convolutional Neural Networks
Answer: B) Generative Adversarial Networks
Question: Which of the following is NOT a category of machine learning algorithms?
A) Supervised Learning
B) Unsupervised Learning
C) Reinforcement Learning
D) Deterministic Learning
Answer: D) Deterministic Learning
Question: What is the term for the ability of an AI system to learn and improve from experience without explicit programming?
A) Machine Learning
B) Artificial Intelligence
C) Deep Learning
D) Cognitive Computing
Answer: A) Machine Learning
Question: Which of the following is an example of a natural language processing task?
A) Predicting stock prices
B) Recognizing objects in images
C) Translating text from one language to another
D) Playing chess against a computer opponent
Answer: C) Translating text from one language to another
Question: What is the term for AI systems that can understand and respond to human emotions?
A) Emotion AI
B) Sentiment Analysis
C) Cognitive Computing
D) Affective Computing
Answer: D) Affective Computing
Question: Which of the following is NOT a step in the machine learning process?
A) Data Preprocessing
B) Model Evaluation
C) Model Training
D) Model Compilation
Answer: D) Model Compilation
Question: What is the term for AI systems that can simulate human-like conversation with users?
A) Chatbots
B) Virtual Assistants
C) Cognitive Agents
D) All of the above
Answer: D) All of the above
Question: Which of the following is an example of a reinforcement learning application?
A) Image Classification
B) Playing Chess
C) Language Translation
D) Speech Recognition
Answer: B) Playing Chess
Question: What is the term for the process of converting unstructured text data into a structured format for analysis?
A) Sentiment Analysis
B) Text Mining
C) Data Wrangling
D) Natural Language Processing
Answer: D) Natural Language Processing
Question: Which of the following is NOT a type of neural network architecture?
A) Convolutional Neural Network (CNN)
B) Recurrent Neural Network (RNN)
C) Support Vector Machine (SVM)
D) Long Short-Term Memory (LSTM)
Answer: C) Support Vector Machine (SVM)
Question: What is the term for the process of automatically generating insights and predictions from large datasets?
A) Machine Learning
B) Predictive Analytics
C) Data Mining
D) Big Data Analysis
Answer: B) Predictive Analytics
Question: Which of the following is NOT a common machine learning algorithm?
A) Linear Regression
B) K-Nearest Neighbors (KNN)
C) Breadth-First Search (BFS)
D) Decision Trees
Answer: C) Breadth-First Search (BFS)
Question: What is the term for the process of adjusting the parameters of a machine learning model to minimize errors?
A) Model Evaluation
B) Model Selection
C) Model Training
D) Model Validation
Answer: C) Model Training
Question: Which of the following is NOT a limitation of artificial intelligence?
A) Lack of Creativity
B) Limited Computational Power
C) Ethical Concerns
D) Emotionless Decision Making
Answer: B) Limited Computational Power
Question: Which of the following is an example of a supervised learning algorithm?
A) K-Means Clustering
B) Support Vector Machine (SVM)
C) K-Nearest Neighbors (KNN)
D) Apriori Algorithm
Answer: B) Support Vector Machine (SVM)
Question: What is the term for the process of automatically discovering patterns and insights from data?
A) Predictive Modeling
B) Machine Learning
C) Data Mining
D) Pattern Recognition
Answer: C) Data Mining
Question: Which of the following is an example of a clustering algorithm?
A) Decision Trees
B) K-Means Clustering
C) Linear Regression
D) Random Forest
Answer: B) K-Means Clustering
Question: What is the term for the process of determining the most appropriate action to take in a given situation?
A) Decision Making
B) Policy Evaluation
C) Reinforcement Learning
D) Optimization
Answer: A) Decision Making
Question: Which of the following is an example of an unsupervised learning algorithm?
A) Logistic Regression
B) K-Means Clustering
C) Support Vector Machine (SVM)
D) Random Forest
Answer: B) K-Means Clustering
Question: What is the term for the process of converting spoken language into text?
A) Speech Recognition
B) Text Mining
C) Natural Language Processing
D) Optical Character Recognition
Answer: A) Speech Recognition
Question: Which of the following is NOT a component of reinforcement learning?
A) Agent
B) Environment
C) Supervisor
D) Reward Signal
Answer: C) Supervisor
Question: What is the term for the process of training a machine learning model on a subset of the data and then evaluating its performance on another subset?
A) Cross-Validation
B) Feature Engineering
C) Hyperparameter Tuning
D) Ensemble Learning
Answer: A) Cross-Validation
Question: Which of the following is NOT a type of deep learning architecture?
A) Recurrent Neural Network (RNN)
B) Convolutional Neural Network (CNN)
C) Long Short-Term Memory (LSTM)
D) Decision Tree
Answer: D) Decision Tree
Question: What is the term for the process of automatically generating new examples of data from an existing dataset?
A) Data Sampling
B) Data Augmentation
C) Data Cleansing
D) Data Imputation
Answer: B) Data Augmentation
Question: Which of the following is an example of a generative model in machine learning?
A) Logistic Regression
B) K-Means Clustering
C) Autoencoder
D) Support Vector Machine (SVM)
Answer: C) Autoencoder
Question: What is the term for the process of converting handwritten text into machine-readable text?
A) Optical Character Recognition (OCR)
B) Natural Language Processing (NLP)
C) Speech Recognition
D) Sentiment Analysis
Answer: A) Optical Character Recognition (OCR)
Question: Which of the following is NOT a type of reinforcement learning algorithm?
A) Q-Learning
B) Deep Q-Network (DQN)
C) Random Forest
D) Policy Gradient Methods
Answer: C) Random Forest
Question: What is the term for the process of identifying and extracting useful patterns and information from large datasets?
A) Data Visualization
B) Data Cleaning
C) Data Mining
D) Data Compression
Answer: C) Data Mining
Question: Which of the following is a common evaluation metric for classification problems in machine learning?
A) Mean Squared Error (MSE)
B) Accuracy
C) Root Mean Squared Error (RMSE)
D) R-Squared
Answer: B) Accuracy
Question: What is the term for the process of selecting the most relevant features or variables for a machine learning model?
A) Feature Engineering
B) Feature Selection
C) Feature Extraction
D) Feature Scaling
Answer: B) Feature Selection
Question: Which of the following is an example of a semi-supervised learning algorithm?
A) K-Means Clustering
B) Decision Trees
C) Support Vector Machine (SVM)
D) Linear Regression
Answer: A) K-Means Clustering
Question: What is the term for the process of combining multiple machine learning models to improve predictive performance?
A) Model Selection
B) Model Evaluation
C) Ensemble Learning
D) Hyperparameter Tuning
Answer: C) Ensemble Learning
Question: Which of the following is a limitation of unsupervised learning?
A) Requires labeled data for training
B) Can be computationally expensive
C) May produce inaccurate results due to lack of supervision
D) Limited scalability to large datasets
Answer: C) May produce inaccurate results due to lack of supervision
Question: What is the term for the process of transforming raw data into a format suitable for analysis?
A) Data Cleansing
B) Data Preprocessing
C) Data Wrangling
D) Data Engineering
Answer: B) Data Preprocessing
Question: Which of the following is an example of a dimensionality reduction technique?
A) Principal Component Analysis (PCA)
B) Linear Regression
C) Logistic Regression
D) K-Means Clustering
Answer: A) Principal Component Analysis (PCA)
Question: What is the term for the process of searching for the best hyperparameters for a machine learning model?
A) Model Selection
B) Model Evaluation
C) Hyperparameter Tuning
D) Ensemble Learning
Answer: C) Hyperparameter Tuning
Question: Which of the following is NOT a common approach to feature engineering?
A) One-Hot Encoding
B) Principal Component Analysis (PCA)
C) Polynomial Features
D) Feature Scaling
Answer: B) Principal Component Analysis (PCA)
Question: What is the term for the process of assessing the performance of a machine learning model on unseen data?
A) Model Selection
B) Model Evaluation
C) Model Training
D) Model Validation
Answer: B) Model Evaluation
Question: Which of the following is a common technique for handling missing data in machine learning?
A) Imputation
B) Transformation
C) Normalization
D) Encoding
Answer: A) Imputation
Question: What is the term for the process of automatically generating new features from existing ones to improve model performance?
A) Feature Engineering
B) Feature Selection
C) Feature Extraction
D) Feature Scaling
Answer: A) Feature Engineering
Question: Which of the following is a common approach to handling categorical variables in machine learning?
A) One-Hot Encoding
B) Standardization
C) Min-Max Scaling
D) Normalization
Answer: A) One-Hot Encoding
Question: What is the term for the process of dividing a dataset into separate training and testing subsets?
A) Data Partitioning
B) Data Splitting
C) Data Sampling
D) Data Preprocessing
Answer: A) Data Partitioning
Question: Which of the following is NOT a common method of model evaluation in machine learning?
A) Accuracy
B) Precision
C) Recall
D) Loss Function
Answer: D) Loss Function
Question: What is the term for the process of transforming numerical variables to a common scale?
A) Feature Engineering
B) Feature Scaling
C) Feature Selection
D) Feature Extraction
Answer: B) Feature Scaling
Question: Which of the following is a common technique for feature selection in machine learning?
A) Principal Component Analysis (PCA)
B) Recursive Feature Elimination (RFE)
C) One-Hot Encoding
D) Polynomial Features
Answer: B) Recursive Feature Elimination (RFE)
Question: What is the term for the process of assessing the performance of a machine learning model during training?
A) Model Selection
B) Model Evaluation
C) Model Training
D) Model Validation
Answer: D) Model Validation
Question: Which of the following is a common technique for reducing overfitting in machine learning models?
A) Increasing the model complexity
B) Decreasing the amount of training data
C) Adding more features to the model
D) Regularization
Answer: D) Regularization
Question: What is the term for the process of adjusting the learning rate during training to optimize model performance?
A) Learning Rate Optimization
B) Gradient Descent
C) Hyperparameter Tuning
D) Stochastic Gradient Descent
Answer: A) Learning Rate Optimization
Question: Which of the following is a common approach to reducing bias in machine learning models?
A) Increasing the model complexity
B) Decreasing the learning rate
C) Increasing the amount of training data
D) Data Augmentation
Answer: C) Increasing the amount of training data
Question: What is the term for the process of identifying and removing outliers from a dataset?
A) Outlier Detection
B) Outlier Removal
C) Outlier Handling
D) Outlier Analysis
Answer: A) Outlier Detection
Question: Which of the following is a common approach to handling imbalanced classes in machine learning?
A) Overfitting
B) Oversampling
C) Underfitting
D) Feature Scaling
Answer: B) Oversampling
Question: What is the term for the process of training a machine learning model multiple times with different subsets of the data?
A) Ensemble Learning
B) Cross-Validation
C) Hyperparameter Tuning
D) Stochastic Gradient Descent
Answer: B) Cross-Validation
Question: Which of the following is a common approach to measuring the uncertainty of a machine learning model's predictions?
A) Confidence Interval
B) F1 Score
C) Mean Absolute Error (MAE)
D) R-Squared
Answer: A) Confidence Interval
Question: What is the term for the process of using multiple machine learning models to make predictions?
A) Model Stacking
B) Model Fusion
C) Model Ensemble
D) Model Integration
Answer: C) Model Ensemble
Question: Which of the following is NOT a common approach to model ensembling?
A) Bagging
B) Boosting
C) Stacking
D) Clustering
Answer: D) Clustering
Question: What is the term for the process of automatically tuning the hyperparameters of a machine learning model?
A) Model Selection
B) Model Evaluation
C) Hyperparameter Tuning
D) Ensemble Learning
Answer: C) Hyperparameter Tuning
Question: Which of the following is a common approach to hyperparameter tuning?
A) Grid Search
B) Random Search
C) Bayesian Optimization
D) All of the above
Answer: D) All of the above
Question: What is the term for the process of assessing the generalization error of a machine learning model on new, unseen data?
A) Model Evaluation
B) Model Selection
C) Model Validation
D) Model Testing
Answer: C) Model Validation
Question: Which of the following is NOT a common approach to model evaluation?
A) Cross-Validation
B) Train-Test Split
C) Validation Set
D) Precision-Recall Curve
Answer: D) Precision-Recall Curve
Question: What is the term for the process of selecting the best machine learning model for a given task?
A) Model Training
B) Model Evaluation
C) Model Selection
D) Model Validation
Answer: C) Model Selection
Question: Which of the following is a common technique for model selection?
A) Grid Search
B) Random Search
C) Cross-Validation
D) All of the above
Answer: D) All of the above
Question: What is the term for the process of adjusting the parameters of a machine learning model to minimize its error on the training data?
A) Model Evaluation
B) Model Selection
C) Model Training
D) Model Validation
Answer: C) Model Training
Question: Which of the following is NOT a common approach to model training?
A) Gradient Descent
B) Stochastic Gradient Descent
C) Reinforcement Learning
D) Backpropagation
Answer: C) Reinforcement Learning
Question: What is the term for the process of updating the parameters of a neural network to minimize its error on the training data?
A) Gradient Descent
B) Stochastic Gradient Descent
C) Backpropagation
D) Cross-Validation
Answer: C) Backpropagation
Question: Which of the following is NOT a common activation function in neural networks?
A) Sigmoid
B) ReLU
C) Tanh
D) Logistic
Answer: D) Logistic
Question: What is the term for the process of propagating errors backward through a neural network to update its parameters?
A) Gradient Descent
B) Stochastic Gradient Descent
C) Backpropagation
D) Cross-Validation
Answer: C) Backpropagation
Question: Which of the following is NOT a type of machine learning problem?
A) Classification
B) Regression
C) Clustering
D) Sorting
Answer: D) Sorting
Question: What is the term for the process of reducing the size of a neural network to improve its efficiency?
A) Model Pruning
B) Model Compression
C) Model Optimization
D) Model Shrinking
Answer: A) Model Pruning
Question: Which of the following is a common method for training deep learning models on large datasets?
A) Stochastic Gradient Descent
B) Batch Gradient Descent
C) Mini-batch Gradient Descent
D) All of the above
Answer: D) All of the above
Question: What is the term for the process of generating new examples of data by combining existing examples?
A) Data Augmentation
B) Data Cleansing
C) Data Sampling
D) Data Compression
Answer: A) Data Augmentation
Question: Which of the following is NOT a common technique for reducing the dimensionality of data?
A) Principal Component Analysis (PCA)
B) Singular Value Decomposition (SVD)
C) Feature Scaling
D) t-Distributed Stochastic Neighbor Embedding (t-SNE)
Answer: C) Feature Scaling
Question: What is the term for the process of transforming categorical variables into numerical ones?
A) One-Hot Encoding
B) Label Encoding
C) Ordinal Encoding
D) Target Encoding
Answer: A) One-Hot Encoding
Question: Which of the following is a common technique for handling imbalanced datasets in machine learning?
A) Random Undersampling
B) Random Oversampling
C) SMOTE (Synthetic Minority Over-sampling Technique)
D) All of the above
Answer: D) All of the above
Question: What is the term for the process of evaluating the performance of a machine learning model on new, unseen data?
A) Model Testing
B) Model Validation
C) Model Evaluation
D) Model Selection
Answer: A) Model Testing
Question: Which of the following is NOT a common metric for evaluating classification models?
A) Accuracy
B) Mean Squared Error (MSE)
C) Precision
D) Recall
Answer: B) Mean Squared Error (MSE)
Question: What is the term for the process of tuning hyperparameters to improve the performance of a machine learning model?
- A) Hyperparameter Optimization
- B) Hyperparameter Tuning
- C) Hyperparameter Adjustment
- D) Hyperparameter Selection
- Answer: B) Hyperparameter Tuning
Question: Which of the following is a common technique for selecting the best hyperparameters for a machine learning model?
- A) Grid Search
- B) Random Search
- C) Bayesian Optimization
- D) All of the above
- Answer: D) All of the above
Question: What is the term for the process of selecting the most important features for a machine learning model?
- A) Feature Engineering
- B) Feature Selection
- C) Feature Extraction
- D) Feature Scaling
- Answer: B) Feature Selection
Question: Which of the following is NOT a common technique for feature selection?
- A) Principal Component Analysis (PCA)
- B) Recursive Feature Elimination (RFE)
- C) Lasso Regression
- D) K-Means Clustering
- Answer: D) K-Means Clustering
Question: What is the term for the process of splitting a dataset into multiple subsets for training, validation, and testing?
- A) Data Partitioning
- B) Data Splitting
- C) Data Sampling
- D) Data Preprocessing
- Answer: A) Data Partitioning
Question: Which of the following is NOT a common approach to splitting a dataset?
- A) Train-Test Split
- B) Validation Split
- C) Cross-Validation
- D) Random Sampling
- Answer: D) Random Sampling
Question: What is the term for the process of adjusting the learning rate during training to optimize model performance?
- A) Learning Rate Optimization
- B) Gradient Descent
- C) Hyperparameter Tuning
- D) Stochastic Gradient Descent
- Answer: A) Learning Rate Optimization
Question: Which of the following is a common technique for reducing overfitting in machine learning models?
- A) Regularization
- B) Data Augmentation
- C) Dropout
- D) All of the above
- Answer: D) All of the above
Question: What is the term for the process of preventing a machine learning model from becoming too complex?
- A) Overfitting
- B) Underfitting
- C) Regularization
- D) Generalization
- Answer: C) Regularization
Question: Which of the following is NOT a common regularization technique?
- A) L1 Regularization
- B) L2 Regularization
- C) Dropout
- D) Batch Normalization
- Answer: D) Batch Normalization
Question: What is the term for the process of updating the parameters of a neural network to minimize its error on the training data?
- A) Gradient Descent
- B) Stochastic Gradient Descent
- C) Backpropagation
- D) Cross-Validation
- Answer: C) Backpropagation
Question: Which of the following is NOT a common optimization algorithm used in training neural networks?
- A) Gradient Descent
- B) Stochastic Gradient Descent
- C) Adam
- D) Naive Bayes
- Answer: D) Naive Bayes
Question: What is the term for the process of propagating errors backward through a neural network to update its parameters?
- A) Gradient Descent
- B) Stochastic Gradient Descent
- C) Backpropagation
- D) Cross-Validation
- Answer: C) Backpropagation
Question: Which of the following is NOT a common activation function used in neural networks?
- A) Sigmoid
- B) ReLU
- C) Tanh
- D) Logistic Regression
- Answer: D) Logistic Regression
Question: What is the term for the process of updating the weights of a neural network to minimize its error on the training data?
- A) Weight Optimization
- B) Weight Adjustment
- C) Weight Updating
- D) Weight Training
- Answer: C) Weight Updating
Question: Which of the following is NOT a common type of neural network architecture?
- A) Feedforward Neural Network
- B) Recurrent Neural Network
- C) Convolutional Neural Network
- D) Decision Tree
- Answer: D) Decision Tree
Question: What is the term for the process of training a neural network on a subset of the data and then evaluating its performance on another subset?
- A) Cross-Validation
- B) Train-Test Split
- C) Model Validation
- D) Hyperparameter Tuning
- Answer: B) Train-Test Split
Question: Which of the following is NOT a common approach to model evaluation?
- A) Cross-Validation
- B) Train-Test Split
- C) Validation Set
- D) Regularization
- Answer: D) Regularization
Question: What is the term for the process of assessing the performance of a machine learning model on new, unseen data?
- A) Model Testing
- B) Model Validation
- C) Model Evaluation
- D) Model Selection
- Answer: A) Model Testing
Question: Which of the following is NOT a common metric for evaluating regression models?
- A) Accuracy
- B) Mean Squared Error (MSE)
- C) Mean Absolute Error (MAE)
- D) R-Squared
- Answer: A) Accuracy
Question: What is the term for the process of selecting the best machine learning model for a given task?
- A) Model Training
- B) Model Evaluation
- C) Model Selection
- D) Model Validation
- Answer: C) Model Selection

All Computer Science Solved MCQs at one place...

Address

Multan

Alerts

Be the first to know and let us send you an email when Computer Science Solved MCQs posts news and promotions. Your email address will not be used for any other purpose, and you can unsubscribe at any time.

Share