Unit 2: Artificial Intelligence & Machine Learning - Practice Quiz

CSE121 — Orientation To Computing-Ii 60 Questions
0 Correct 0 Wrong 60 Left
0/60

1 What is the primary goal of Artificial Intelligence (AI)?

Introduction to AI, ML and Deep Learning Easy
A. To design better looking websites
B. To build faster computer hardware
C. To create systems that can think and act like humans
D. To increase internet connection speeds

2 Machine Learning (ML) is a subset of AI where systems are designed to...

Introduction to AI, ML and Deep Learning Easy
A. follow a fixed set of pre-written instructions only.
B. perform complex hardware calculations.
C. learn from data without being explicitly programmed.
D. browse the internet automatically.

3 Which of the following is a subset of Machine Learning that uses neural networks with many layers?

Introduction to AI, ML and Deep Learning Easy
A. Deep Learning
B. Augmented Reality
C. Fuzzy Logic
D. Expert Systems

4 What is the main purpose of an Expert System?

Expert systems Easy
A. To mimic the decision-making ability of a human expert in a specific domain
B. To create a virtual reality environment
C. To translate text from one language to another
D. To monitor social media for trends

5 Unlike traditional computer logic which is 'true' or 'false', Fuzzy systems use logic that allows for degrees of truth. This is called:

Fuzzy systems Easy
A. Boolean Logic
B. Symbolic Logic
C. Binary Logic
D. Fuzzy Logic

6 What does Augmented Reality (AR) do?

Augmented Reality Easy
A. Overlays computer-generated information onto the real world
B. Translates spoken languages in real-time
C. Helps cars drive themselves
D. Creates a completely artificial digital environment

7 In the field of AI, what does the acronym NLP stand for?

Use of AI in different fields - NLP Easy
A. Natural Language Processing
B. Network Logic Protocol
C. New Layered Program
D. Non-Linear Programming

8 Which of the following is a common application of AI in the field of healthcare?

Use of AI in different fields - Healthcare Easy
A. Scheduling janitorial services
B. Analyzing medical images like X-rays to detect diseases
C. Designing the hospital's website
D. Managing the hospital's payroll system

9 How can AI technology be applied in agriculture?

Use of AI in different fields - Agriculture Easy
A. By monitoring crop health and identifying pests using drones
B. By manually watering fields
C. By creating new types of farm equipment from scratch
D. By predicting the stock market prices for crops

10 What is a primary use of AI in social media monitoring for a business?

Use of AI in different fields - Social media monitoring Easy
A. Liking every post with a specific hashtag
B. Automatically creating user accounts
C. Designing profile pictures
D. Analyzing public sentiment towards its brand

11 Which of the following is a very popular programming language for developing AI and Machine Learning applications?

Tools and techniques for implementing AI Easy
A. SQL
B. Python
C. CSS
D. HTML

12 TensorFlow, PyTorch, and Scikit-learn are examples of what?

Tools and techniques for implementing AI Easy
A. Database management systems
B. Computer operating systems
C. AI and Machine Learning libraries/frameworks
D. Web development tools

13 Google Translate primarily uses which AI technology to convert text from one language to another?

Google Translator Easy
A. Augmented Reality
B. Computer Vision
C. Expert Systems
D. Natural Language Processing (NLP)

14 What AI technology is crucial for a driverless car to 'see' and identify objects like pedestrians and other cars?

Driverless Car Easy
A. Computer Vision
B. Fuzzy Logic
C. Speech Recognition
D. Sentiment Analysis

15 What is the primary function of AI-powered virtual assistants like Amazon's Alexa and Apple's Siri?

ALEXA, Siri, ChatGPT Easy
A. To understand and respond to human voice commands
B. To edit photos and videos
C. To analyze complex financial data
D. To write computer programs

16 ChatGPT is a famous example of what type of AI model?

ALEXA, Siri, ChatGPT Easy
A. Large Language Model (LLM)
B. Expert System
C. Image Recognition Model
D. Robotics Control System

17 Which company is known for developing ChatGPT?

ALEXA, Siri, ChatGPT Easy
A. Google
B. OpenAI
C. Amazon
D. Apple

18 Which of the following is considered a major current trend in AI?

Current trends and opportunities Easy
A. Using AI only for simple math calculations
B. Reducing the amount of data used for training models
C. Generative AI (models that create new content)
D. Building AI that cannot learn or adapt

19 Which of the following is a common job role specifically in the field of Artificial Intelligence?

Job roles and skillset for AI and ML Easy
A. Machine Learning Engineer
B. Technical Support Specialist
C. Web Designer
D. Network Administrator

20 A strong foundation in which subject is most essential for a career in Machine Learning?

Job roles and skillset for AI and ML Easy
A. History
B. Mathematics and Statistics
C. Literature
D. Geography

21 A machine learning model is trained on a dataset of images labeled as either 'cat' or 'dog'. After training, it is able to correctly classify new, unseen images. Which of the following best describes this scenario?

Introduction to AI, ML and Deep Learning Medium
A. Deep Learning
B. Supervised Learning
C. Reinforcement Learning
D. Unsupervised Learning

22 A medical diagnostic system is designed to assist doctors by reasoning through patient symptoms based on a vast database of medical knowledge provided by specialists. What core component of this expert system is responsible for applying logical rules to the knowledge base to derive a conclusion?

Expert systems Medium
A. Knowledge Base
B. User Interface
C. Database Management System
D. Inference Engine

23 An automated climate control system in a smart home needs to adjust the fan speed. Instead of using precise temperature thresholds (e.g., ON at 25°C, OFF at 24.9°C), it uses terms like 'cool', 'warm', and 'hot'. Why is a fuzzy logic system well-suited for this application?

Fuzzy systems Medium
A. It can handle imprecise, continuous, and human-like linguistic inputs.
B. It provides a more secure way of controlling devices.
C. It requires less computational power than binary logic.
D. It is the only system capable of processing temperature data.

24 A user points their smartphone camera at a street and sees digital arrows overlaid on the live video feed, guiding them to their destination. How does this Augmented Reality (AR) application fundamentally differ from a Virtual Reality (VR) application?

Augmented Reality Medium
A. AR is used for gaming, while VR is used for professional training.
B. AR uses GPS for tracking, whereas VR does not.
C. AR enhances the real world with digital information, while VR creates a completely immersive, artificial world.
D. AR requires a headset, while VR works on smartphones.

25 A company wants to automatically categorize thousands of customer support emails into topics like 'Billing Inquiry', 'Technical Issue', and 'Product Feedback'. Which Natural Language Processing (NLP) task is most directly applicable to this problem?

Use of AI in different fields - NLP Medium
A. Machine Translation
B. Sentiment Analysis
C. Text Generation
D. Text Classification

26 A research team is developing a deep learning model to identify diabetic retinopathy from retinal fundus images. Which type of neural network architecture is most suitable for this image analysis task?

Use of AI in different fields - Healthcare Medium
A. Simple Perceptron
B. Convolutional Neural Network (CNN)
C. Autoencoder
D. Recurrent Neural Network (RNN)

27 A developer is building a prototype for a complex natural language processing model using a transformer architecture. They need a library that offers a high level of flexibility, a dynamic computation graph, and is widely used in the research community. Which of the following would be the most suitable choice?

Tools and techniques for implementing AI Medium
A. MATLAB
B. Pandas
C. PyTorch
D. Scikit-learn

28 A driverless car uses data from multiple sources like cameras (visual), LiDAR (distance), and radar (velocity) to build a robust understanding of its environment, overcoming the weaknesses of any single sensor. What is this critical process of combining data from multiple sensors called?

Driverless Car Medium
A. Sensor Fusion
B. Path Planning
C. Data Augmentation
D. Object Detection

29 What is a key architectural difference that allows ChatGPT to have extended, context-aware conversations, compared to early versions of voice assistants like Siri or Alexa which primarily handled single-turn commands?

ALEXA, Siri, ChatGPT Medium
A. ChatGPT uses a larger vocabulary.
B. ChatGPT is based on the Transformer architecture, which uses an attention mechanism to weigh the importance of different words in the input context.
C. ChatGPT is trained exclusively on conversational data, while Siri is trained on web search data.
D. ChatGPT runs on more powerful servers.

30 An AI team has developed a working machine learning model. Now, they need a professional to take this model, optimize it for performance, integrate it into the company's existing software application, and ensure it can handle production-level traffic reliably. Which job role is primarily responsible for these tasks?

Job roles and skillset for AI and ML Medium
A. Data Scientist
B. Data Analyst
C. Machine Learning Engineer
D. AI Ethicist

31 A financial institution uses an AI model to approve or deny loan applications. To comply with regulations and build customer trust, the institution needs to be able to explain the specific reasons behind each decision made by the model. This need is a primary driver for the growing importance of which AI trend?

Current trends and opportunities Medium
A. Reinforcement Learning
B. Explainable AI (XAI)
C. Federated Learning
D. Generative AI

32 Around 2016, Google Translate experienced a dramatic improvement in translation quality. This was primarily due to a shift from its older Statistical Machine Translation (SMT) system to a new system. What was this new, more advanced system based on?

Google Translator Medium
A. Support Vector Machines
B. Expert Systems with grammatical rules
C. Fuzzy Logic systems
D. Neural Machine Translation (NMT)

33 A company develops an AI system that uses satellite imagery and weather data to predict crop yields for a specific region weeks in advance. What type of machine learning problem is this an example of?

Use of AI in different fields - Agriculture Medium
A. Dimensionality Reduction
B. Classification
C. Regression
D. Clustering

34 A marketing team is using an AI tool to analyze social media posts about their brand. The tool identifies posts and automatically labels them as 'positive', 'negative', or 'neutral' to gauge public opinion. This core functionality relies on which AI technique?

Use of AI in different fields - Social media monitoring Medium
A. Sentiment Analysis
B. Predictive Forecasting
C. Image Recognition
D. Anomaly Detection

35 The 'Generative' aspect of a model like ChatGPT refers to its ability to do what?

ChatGPT Medium
A. Classify input data into pre-existing categories.
B. Create new, original content (text, code, etc.) that did not exist in its training data.
C. Retrieve and display an exact copy of information from its database.
D. Generate a definitive true or false answer to any question.

36 Which statement accurately describes the relationship between Artificial Intelligence (AI), Machine Learning (ML), and Deep Learning (DL)?

Introduction to AI, ML and Deep Learning Medium
A. DL is the overarching field that contains both AI and ML.
B. AI is a type of DL, which is a type of ML.
C. ML is a type of AI, and DL is a specialized type of ML.
D. AI, ML, and DL are separate, unrelated fields.

37 A data scientist is training a complex model and is concerned it might be 'overfitting'. Which of the following observations would be the strongest indicator of overfitting?

Tools and techniques for implementing AI Medium
A. The model has low accuracy on the training data but high accuracy on the test data.
B. The model has high accuracy on the training data but low accuracy on the test data.
C. The model's training time is excessively long.
D. The model has low accuracy on both the training data and the test data.

38 Besides strong technical skills in programming (like Python) and mathematics (linear algebra, calculus), what is a critical non-technical skill for a successful AI/ML professional to ensure their solutions are effective in the real world?

Job roles and skillset for AI and ML Medium
A. Hardware engineering
B. Domain knowledge and communication
C. Graphic design
D. Web development

39 The concept of 'Edge AI' is a growing trend. What is the primary advantage of processing AI tasks on an 'edge' device (like a smartphone or a smart camera) instead of sending data to a central cloud server?

Current trends and opportunities Medium
A. It allows for training much larger and more complex models.
B. It reduces latency and improves privacy by processing data locally.
C. It is always cheaper because it doesn't use cloud resources.
D. It guarantees 100% accuracy for all AI tasks.

40 What is the primary reason that Deep Learning models, compared to traditional Machine Learning models, generally require much larger datasets to perform well?

Introduction to AI, ML and Deep Learning Medium
A. Traditional ML models are mathematically more complex.
B. Deep Learning algorithms are inherently slower and need more data to compensate for the time.
C. Deep Learning models have a vast number of parameters (weights and biases) that need to be learned, which requires extensive data to tune effectively.
D. Traditional ML models can learn from unlabeled data, while Deep Learning cannot.

41 A deep learning model trained for image classification on a specific dataset (e.g., cats and dogs) performs poorly when deployed in a new environment with different lighting conditions and camera angles. This issue is a classic example of a failure in which machine learning principle?

Introduction to AI, ML and Deep Learning Hard
A. Insufficient computational resources for inference
B. Overfitting to the training data
C. The vanishing gradient problem
D. Lack of model generalization, specifically a domain shift

42 An expert system for medical diagnosis is built with a comprehensive knowledge base and a forward-chaining inference engine. A new, rare disease emerges with symptoms that partially overlap with several existing diseases in the system. Why is the system likely to fail in correctly identifying the possibility of this new disease?

Expert systems Hard
A. Forward-chaining is only suitable for simple, linear diagnostic paths.
B. The knowledge acquisition bottleneck prevents the addition of new rules.
C. The system operates on a 'closed-world assumption'; it cannot reason about knowledge it doesn't explicitly possess.
D. The inference engine cannot process conflicting rules.

43 Consider a fuzzy logic controller for an air conditioner. It has two input variables, Temperature (with fuzzy sets: Cold, Pleasant, Hot) and Humidity (with fuzzy sets: Dry, Comfortable, Humid). If a rule is 'IF Temperature IS Hot AND Humidity IS Humid THEN FanSpeed IS VeryHigh', which fuzzy logic operator would be most appropriate for the 'AND' conjunction if the system needs to be conservative and select the lesser of the two membership grades to determine the rule's firing strength?

Fuzzy systems Hard
A. Probabilistic SUM (p + q - pq)
B. Fuzzy OR (max)
C. Fuzzy AND (min)
D. Centroid Defuzzification

44 The primary architectural innovation that allows Transformer-based models like ChatGPT to outperform Recurrent Neural Networks (RNNs) in handling long-range dependencies in text is the:

Use of AI in different fields - NLP Hard
A. Ability to process input sequences in a recurrent, step-by-step manner.
B. Use of gated mechanisms like in LSTMs or GRUs.
C. Implementation of a self-attention mechanism that computes a weighted score for all other words in the input for each word.
D. A significantly larger number of hidden layers, creating a deeper network.

45 A Level 4 autonomous vehicle is operating in a designated urban area. It encounters a complex, unmapped road construction zone where a human police officer is manually directing traffic, overriding all traffic signals. How is the vehicle's system designed to handle this situation?

Driverless Car Hard
A. It will enter a 'minimal risk condition,' such as safely pulling over to the side of the road and waiting for the situation to clear or for remote operator intervention.
B. It will ignore the officer and attempt to follow the GPS route and traffic signal data, as they are its primary truth source.
C. It will use its sensor suite to interpret the officer's hand signals and follow them as a human would.
D. It will immediately stop and transfer control to the human driver, as this is an out-of-design-domain scenario.

46 When a Large Language Model like ChatGPT generates a factually incorrect but grammatically plausible statement (a 'hallucination'), what is the most accurate technical explanation for this phenomenon?

ChatGPT Hard
A. The model is probabilistically assembling a sequence of words that is likely to follow the prompt, without an internal model of truth or fact-checking.
B. An error occurred in the attention mechanism, causing it to focus on irrelevant parts of its training data.
C. The model's knowledge base contains corrupted or incorrect data entries.
D. It is a deliberate feature to enhance creativity in text generation.

47 In an AI project lifecycle, after a Data Scientist has successfully trained and validated a promising machine learning model in a Jupyter Notebook, what is the primary and most critical responsibility of an ML Engineer to move the project forward?

Job roles and skillset for AI and ML Hard
A. To perform further exploratory data analysis to find new features for the model.
B. To research more advanced model architectures that could potentially yield better accuracy.
C. To rewrite the model's code for production, containerize it (e.g., using Docker), and deploy it as a scalable, low-latency API.
D. To create visualizations and a business report explaining the model's performance and potential ROI.

48 A sophisticated markerless AR application needs to overlay a virtual piece of furniture onto a user's living room floor and ensure it stays 'anchored' to the same spot even as the user walks around the room. The core computer vision technique that enables this spatial mapping and tracking is known as:

Augmented Reality Hard
A. Generative Adversarial Networks (GANs).
B. Simultaneous Localization and Mapping (SLAM).
C. Optical Character Recognition (OCR).
D. Object detection using a Convolutional Neural Network (CNN).

49 A deep learning model for detecting cancerous tumors in medical images achieves 99% accuracy. However, hospitals are reluctant to adopt it. What is the most significant ethical and technical barrier related to the model's 'black box' nature that causes this reluctance?

Use of AI in different fields - Healthcare Hard
A. Data privacy concerns related to storing patient scans in the cloud.
B. The model's inability to process different types of medical images (e.g., MRI vs. X-ray).
C. The high computational cost of running the deep learning model.
D. The lack of explainability (XAI), meaning doctors cannot understand why the model made a specific diagnosis, which is crucial for patient trust and avoiding liability.

50 The transition from Statistical Machine Translation (SMT) to Neural Machine Translation (NMT) in systems like Google Translate primarily solved which critical weakness of SMT?

Google Translator Hard
A. SMT systems required massive amounts of parallel text data for training.
B. SMT was unable to translate languages with different scripts (e.g., Cyrillic to Latin).
C. SMT could only translate between a single pair of languages, while NMT is multilingual.
D. SMT translated phrases in isolation, leading to disfluent, grammatically incorrect sentences that lacked broader context.

51 Federated Learning is an emerging ML paradigm gaining traction due to increasing data privacy regulations like GDPR. How does it fundamentally differ from traditional, centralized model training?

Current trends and opportunities Hard
A. It trains a global model by sending the model to the data (on-device training), aggregating only the model updates (weights/gradients), not the raw data.
B. It is a type of unsupervised learning that does not require labeled data.
C. It requires all data to be anonymized before being sent to a central server.
D. It uses a single, powerful GPU to train models faster than distributed methods.

52 A team needs to develop a mobile application that performs real-time object detection on the device itself (edge AI) to minimize latency and preserve user privacy. Which combination of tools/frameworks is most suitable for this specific task?

Tools and techniques for implementing AI Hard
A. Scikit-learn for model training and Flask for cloud-based API deployment.
B. Apache Spark for distributed data processing and Tableau for results visualization.
C. TensorFlow for training and TensorFlow Lite (TFLite) for on-device model conversion and inference.
D. PyTorch for research and prototyping, deployed via a standard Python server.

53 In training a very deep Recurrent Neural Network (RNN), you observe that the gradients of the loss function with respect to the weights in the initial layers become extremely small, effectively halting learning in those layers. This problem is famously known as the:

Introduction to AI, ML and Deep Learning Hard
A. Exploding Gradient Problem
B. Bias-Variance Tradeoff
C. Vanishing Gradient Problem
D. Curse of Dimensionality

54 In a fuzzy inference system, after the rule evaluation (applying antecedents) and aggregation steps, you are left with a final fuzzy set representing the output (e.g., 'fan speed'). The process of converting this fuzzy set into a single crisp numerical value (e.g., 3500 RPM) is known as:

Fuzzy systems Hard
A. Fuzzification
B. Membership Function Application
C. Aggregation
D. Defuzzification

55 A key difference between the AI pipeline of a traditional voice assistant like Siri or Alexa and a generative model like ChatGPT lies in their primary NLP task. Siri/Alexa heavily rely on ___, while ChatGPT's core strength is in __.

ALEXA, Siri, ChatGPT Hard
A. Natural Language Generation (NLG); Natural Language Understanding (NLU)
B. Speech-to-Text Conversion; Text-to-Speech Conversion
C. Intent Classification and Entity Recognition; Open-ended Text Generation
D. Sentiment Analysis; Text Summarization

56 An AI tool for social media monitoring is tasked with analyzing brand mentions. Which of the following represents the most complex and nuanced analytical task for the AI?

Use of AI in different fields - Social media monitoring Hard
A. Classifying the sentiment of a tweet about the brand as 'positive', 'negative', or 'neutral'.
B. Counting the number of times a brand is mentioned per day.
C. Extracting the geographic location from user profiles who mention the brand.
D. Identifying sarcasm in a tweet that says, 'Great, my new phone's battery lasts a whole 3 hours. #SoImpressed'.

57 A research team develops a computer vision model that accurately identifies a specific crop disease from leaf images taken in their lab. When deployed on a drone flying over a real field, the model's accuracy plummets. What is the most likely technical reason for this failure?

Use of AI in different fields - Agriculture Hard
A. The drone's camera has a lower resolution than the lab camera.
B. The model requires an internet connection to work, which is unavailable in the field.
C. The model was not trained using a deep learning architecture like a CNN.
D. The model has failed to generalize due to domain shift: variations in lighting, shadows, leaf angles, and weather conditions in the field were not in the training data.

58 Generative Adversarial Networks (GANs) consist of two neural networks, a Generator and a Discriminator, trained in a zero-sum game. This architecture, while powerful for creating realistic data (e.g., images), presents a significant societal risk primarily through its application in:

Current trends and opportunities Hard
A. Optimizing supply chain and logistics routes.
B. Generating 'deepfakes'—highly realistic but fabricated videos and audio for misinformation.
C. Improving the accuracy of medical diagnostic systems by generating synthetic training data.
D. Creating advanced AI for playing complex games like Go or Chess.

59 A driverless car's perception system uses sensor fusion to combine data from LiDAR, radar, and cameras. In heavy fog, which sensor's data becomes least reliable for object shape and classification, and which sensor's data remains most robust for detecting the presence and velocity of metallic objects?

Driverless Car Hard
A. Least reliable: LiDAR; Most robust: Radar
B. Least reliable: Camera; Most robust: LiDAR
C. Least reliable: Radar; Most robust: LiDAR
D. Least reliable: Camera; Most robust: Radar

60 An AI researcher has just published a paper with a novel neural network architecture that achieves state-of-the-art results on a benchmark dataset. Which skillset is most critical for this role, distinguishing it from that of an ML Engineer or Data Scientist?

Job roles and skillset for AI and ML Hard
A. Expertise in data warehousing, SQL, and building ETL (Extract, Transform, Load) pipelines.
B. Strong business acumen, data storytelling, and proficiency in visualization tools like Tableau.
C. Deep theoretical understanding of mathematics (linear algebra, calculus, probability), and the ability to design and implement novel algorithms from scratch.
D. Proficiency in A/B testing, cloud infrastructure management (AWS/GCP), and CI/CD pipelines.