Notice: Due to an ongoing migration of our storage and publishing system, material requested since last month will not be uploaded for the time being, and new requests are paused. All existing notes remain available.
You're offline
Unit 6 MCQsArtificial Intelligence and Data Science
Question 1 of 60 · definition and scope of AI · Easy
What does the abbreviation AI stand for?
Not quite. Try another option.
Answer: Artificial Intelligence
AI stands for Artificial Intelligence, the simulation of human intelligence by machines.
Question 2 of 60 · definition and scope of AI · Easy
Which of the following best describes Artificial Intelligence?
Not quite. Try another option.
Answer: Machines performing tasks that normally require human intelligence
AI enables machines to perform tasks such as reasoning, learning, and decision-making that typically need human intelligence.
Question 3 of 60 · history and evolution of AI · Easy
The term "Artificial Intelligence" was first coined at a 1956 conference held at which university?
Not quite. Try another option.
Answer: Dartmouth
The term was introduced at the Dartmouth Conference in 1956, widely regarded as the birth of AI as a field.
Question 4 of 60 · history and evolution of AI · Easy
Which test was proposed to check whether a machine can exhibit intelligent behavior similar to a human?
Not quite. Try another option.
Answer: Turing Test
The Turing Test, proposed by Alan Turing, checks if a machine's responses are indistinguishable from a human's.
Question 5 of 60 · introduction to machine learning · Easy
Machine Learning is a subset of which broader field?
Not quite. Try another option.
Answer: Artificial Intelligence
Machine Learning is a branch of AI where systems learn patterns from data instead of being explicitly programmed.
Question 6 of 60 · introduction to machine learning · Easy
What is the main idea behind Machine Learning?
Not quite. Try another option.
Answer: Systems learn from data and improve over time
Machine Learning allows systems to learn from data and improve their performance without being explicitly reprogrammed.
Question 7 of 60 · introduction to machine learning · Easy
Which type of machine learning uses labeled data for training?
Not quite. Try another option.
Answer: Supervised learning
Supervised learning trains a model on labeled data, where the correct output is provided for each input.
Question 8 of 60 · neural networks · Easy
Artificial neural networks are inspired by which biological structure?
Not quite. Try another option.
Answer: The human brain
Neural networks are modeled after the interconnected neurons of the human brain.
Question 9 of 60 · neural networks · Easy
What is the basic unit of a neural network called?
Not quite. Try another option.
Answer: Neuron (node)
The basic processing unit of a neural network is a neuron, also called a node.
Question 10 of 60 · natural language processing · Easy
What does NLP stand for in the context of AI?
Not quite. Try another option.
Answer: Natural Language Processing
NLP stands for Natural Language Processing, which enables computers to understand and generate human language.
Question 11 of 60 · natural language processing · Easy
Which of the following is a common application of Natural Language Processing?
Not quite. Try another option.
Answer: Chatbots and language translation
NLP powers applications like chatbots, language translation, and speech recognition that deal with human language.
Question 12 of 60 · generative AI · Easy
What does Generative AI primarily do?
Not quite. Try another option.
Answer: Creates new content such as text, images, or audio
Generative AI generates new content, such as text, images, music, or code, based on patterns learned from data.
Question 13 of 60 · generative AI · Easy
Which of the following is an example of a Generative AI tool?
Not quite. Try another option.
Answer: ChatGPT
ChatGPT is a generative AI tool that produces human-like text responses.
Question 14 of 60 · Data science: definition and importance · Easy
Data Science mainly focuses on extracting what from data?
Not quite. Try another option.
Answer: Useful insights and knowledge
Data Science combines statistics, programming, and domain knowledge to extract useful insights from data.
Question 15 of 60 · Data science: definition and importance · Easy
Why is Data Science important for organizations?
Not quite. Try another option.
Answer: It helps make better data-driven decisions
Data Science enables organizations to make informed, data-driven decisions and discover trends.
Question 16 of 60 · big data · Easy
Which of the following is one of the well-known "V"s used to describe Big Data?
Not quite. Try another option.
Answer: Volume
Big Data is often described by the 3 Vs: Volume, Velocity, and Variety. Volume refers to the huge amount of data.
Question 17 of 60 · big data · Easy
The term Big Data generally refers to datasets that are:
Not quite. Try another option.
Answer: Too large and complex for traditional tools to handle
Big Data refers to extremely large and complex datasets that traditional data processing tools cannot handle efficiently.
Question 18 of 60 · Data collection methods · Easy
Which of the following is a common method of collecting data?
Not quite. Try another option.
Answer: Surveys and questionnaires
Surveys and questionnaires are widely used methods for collecting data directly from respondents.
Question 19 of 60 · primary vs. secondary data · Easy
Data collected directly by a researcher for a specific purpose is called:
Not quite. Try another option.
Answer: Primary data
Primary data is original data collected firsthand by the researcher for a specific purpose.
Question 20 of 60 · primary vs. secondary data · Easy
Data obtained from already existing sources like books or reports is called:
Not quite. Try another option.
Answer: Secondary data
Secondary data is data that was previously collected by someone else and reused, such as reports, books, or online sources.
Question 21 of 60 · definition and scope of AI · Medium
A system that plays chess by evaluating millions of board positions but cannot recognize a spoken word is best described as an example of which type of AI?
Not quite. Try another option.
Answer: Narrow (Weak) AI
Narrow AI is designed to perform a single specialized task well (like chess) and cannot transfer that ability to unrelated tasks such as speech recognition.
Question 22 of 60 · history and evolution of AI · Medium
The period during which AI research funding and interest sharply declined due to unmet expectations is commonly referred to as the:
Not quite. Try another option.
Answer: AI Winter
An "AI Winter" describes phases of reduced funding and pessimism that followed periods of overpromised results in AI research.
Question 23 of 60 · history and evolution of AI · Medium
Which test, proposed in 1950, evaluates a machine's ability to exhibit intelligent behavior indistinguishable from a human?
Not quite. Try another option.
Answer: The Turing Test
Alan Turing proposed the Turing Test, where a machine passes if a human evaluator cannot reliably tell it apart from a human based on conversation.
Question 24 of 60 · introduction to machine learning · Medium
A model is trained on emails labeled as "spam" or "not spam" so it can classify new emails. This is an example of:
Not quite. Try another option.
Answer: Supervised learning
Supervised learning uses labeled data (spam/not spam) to learn a mapping from inputs to known outputs, enabling classification of new data.
Question 25 of 60 · introduction to machine learning · Medium
A customer segmentation task groups shoppers by purchasing behavior without any predefined labels. Which learning type applies?
Not quite. Try another option.
Answer: Unsupervised learning
Unsupervised learning finds hidden patterns or clusters in unlabeled data, which is exactly what customer segmentation does.
Question 26 of 60 · introduction to machine learning · Medium
A model performs very well on training data but poorly on new, unseen data. This problem is called:
Not quite. Try another option.
Answer: Overfitting
Overfitting occurs when a model memorizes training data, including noise, and fails to generalize to new data.
Question 27 of 60 · neural networks · Medium
In an artificial neural network, what is the primary purpose of an activation function?
Not quite. Try another option.
Answer: To introduce non-linearity into the model
Activation functions add non-linearity, allowing neural networks to learn complex patterns that a purely linear model could not capture.
Question 28 of 60 · neural networks · Medium
A neural network that contains many hidden layers between the input and output layers is commonly called a:
Not quite. Try another option.
Answer: Deep neural network
Networks with multiple hidden layers are termed "deep" networks, and their use is the basis of deep learning.
Question 29 of 60 · neural networks · Medium
Which component of a neuron controls the strength of the connection between two nodes and is adjusted during training?
Not quite. Try another option.
Answer: Weight
Weights determine how strongly one neuron's output influences another; training adjusts weights to minimize error.
Question 30 of 60 · natural language processing · Medium
Breaking the sentence "AI is useful" into the individual units ["AI", "is", "useful"] is an NLP step known as:
Not quite. Try another option.
Answer: Tokenization
Tokenization splits text into smaller units (tokens) such as words, which is a fundamental preprocessing step in NLP.
Question 31 of 60 · natural language processing · Medium
An application that analyzes product reviews to decide whether each is positive or negative is performing:
Not quite. Try another option.
Answer: Sentiment analysis
Sentiment analysis is an NLP task that classifies text according to the emotional tone or opinion it expresses.
Question 32 of 60 · generative AI · Medium
Which of the following best distinguishes generative AI from traditional discriminative models?
Not quite. Try another option.
Answer: It creates new content rather than only classifying existing data
Generative AI produces new outputs (text, images, audio), whereas discriminative models mainly classify or predict labels for existing inputs.
Question 33 of 60 · generative AI · Medium
When a language model produces confident but factually incorrect information, this behavior is commonly called:
Not quite. Try another option.
Answer: Hallucination
"Hallucination" refers to a generative model producing plausible-sounding but false or fabricated information.
Question 34 of 60 · Data science: definition and importance · Medium
Data science is best described as an interdisciplinary field that primarily combines:
Not quite. Try another option.
Answer: Statistics, computer science, and domain knowledge
Data science blends statistical methods, computational tools, and subject-matter expertise to extract insights from data.
Question 35 of 60 · big data · Medium
In the classic "3 Vs" of big data, the term Velocity refers to:
Not quite. Try another option.
Answer: The speed at which data is generated and processed
Velocity captures how fast data is created and must be handled; Volume is size and Variety is format diversity.
Question 36 of 60 · big data · Medium
A dataset containing tweets, images, videos, and sensor logs together demonstrates which characteristic of big data?
Not quite. Try another option.
Answer: Variety
Variety refers to the many different types and formats of data (structured, unstructured, and semi-structured) being combined.
Question 37 of 60 · Data collection methods · Medium
A researcher uses an online questionnaire to gather opinions directly from users for a new study. This is an example of:
Not quite. Try another option.
Answer: Primary data collection through a survey
Collecting data firsthand for a specific purpose (via survey) is primary data collection.
Question 38 of 60 · primary vs. secondary data · Medium
Which scenario clearly uses secondary data?
Not quite. Try another option.
Answer: Analyzing census figures published by a government agency
Secondary data is collected by someone else for another purpose and reused; published census figures fit this definition.
Question 39 of 60 · basics of data cleaning and transformation · Medium
A dataset column for "age" contains the value 250 and several blank cells. Which two data cleaning issues are present?
Not quite. Try another option.
Answer: Outliers and missing values
An age of 250 is an outlier/invalid value, and blank cells represent missing values, both are common cleaning problems.
Question 40 of 60 · basics of data cleaning and transformation · Medium
Converting all values in a numeric feature to a common to range is a transformation step known as:
Not quite. Try another option.
Answer: Normalization
Normalization rescales numeric values into a common range (often to ) so features are comparable and models train better.
Question 41 of 60 · definition and scope of AI · Hard
A system uses a large lookup table to respond to every possible input with a pre-defined output, showing no capacity to generalize to unseen inputs. Under the standard definition of AI as systems that can learn, reason, and adapt, how should this system be classified?
Not quite. Try another option.
Answer: It is not genuinely intelligent because it lacks generalization and adaptation, relying purely on stored rules
AI implies the ability to generalize, reason, or adapt to novel situations. A fixed lookup table cannot handle unseen inputs, so it is rule-based automation, not intelligence in the meaningful sense.
Question 42 of 60 · history and evolution of AI · Hard
The period roughly from the 1970s to 1980s and again in the late 1980s is often called an 'AI winter.' What was the primary cause of these downturns?
Not quite. Try another option.
Answer: A collapse in funding and interest after AI systems failed to meet inflated expectations and hit computational and data limits
AI winters resulted from overhyped promises that could not be delivered, combined with limited compute and data, leading to reduced funding and pessimism.
Question 43 of 60 · introduction to machine learning · Hard
A model achieves 99% accuracy on training data but only 62% on test data. Which combination of description and remedy is most accurate?
Not quite. Try another option.
Answer: Overfitting; apply regularization, gather more data, or reduce model complexity
A large gap between high training accuracy and low test accuracy signals overfitting (high variance). Regularization, more data, or simpler models reduce this gap.
Question 44 of 60 · introduction to machine learning · Hard
You are given a dataset with 10,000 samples where only 50 belong to the positive class (fraud). A classifier predicts 'not fraud' for every sample. What accuracy does it achieve, and why is accuracy misleading here?
Not quite. Try another option.
Answer: accuracy, but it is misleading because the classifier never detects the minority class
With 9,950 of 10,000 correct by always predicting the majority class, accuracy is . On imbalanced data, precision, recall, or F1 are more informative than accuracy.
Question 45 of 60 · neural networks · Hard
In a deep feedforward network using sigmoid activations, gradients become extremely small in early layers during backpropagation, slowing learning. What is this problem and a common mitigation?
Not quite. Try another option.
Answer: Vanishing gradients; use ReLU activations and normalized initialization to preserve gradient magnitude
Sigmoid derivatives are at most , so repeated multiplication shrinks gradients across layers. ReLU and careful weight initialization help gradients flow through deep networks.
Question 46 of 60 · neural networks · Hard
Why does a multilayer neural network require non-linear activation functions between layers?
Not quite. Try another option.
Answer: Without them, a stack of linear layers collapses into a single equivalent linear transformation, unable to model non-linear relationships
A composition of linear functions is still linear. Non-linear activations let the network approximate complex, non-linear decision boundaries.
Question 47 of 60 · natural language processing · Hard
A traditional bag-of-words model classifies the sentences 'The service was good, not bad' and 'The service was bad, not good' identically. What core NLP limitation does this expose?
Not quite. Try another option.
Answer: It ignores word order and syntactic context, so it cannot capture meaning that depends on sequence
Bag-of-words treats text as an unordered set of tokens, so both sentences yield the same feature vector despite opposite meanings. Sequence models or transformers address this.
Question 48 of 60 · natural language processing · Hard
In word embeddings such as Word2Vec, the relationship can be observed. What property of the embedding space does this demonstrate?
Not quite. Try another option.
Answer: Semantic and syntactic relationships are encoded as consistent linear directions in vector space
Vector arithmetic works because embeddings place related concepts along consistent directions, capturing analogies like gender or royalty as vector offsets.
Question 49 of 60 · generative AI · Hard
A large language model confidently produces a fabricated citation to a non-existent research paper. What is this phenomenon, and what is its root cause?
Not quite. Try another option.
Answer: Hallucination; the model predicts statistically plausible token sequences without any grounded verification of factual truth
Generative models optimize for likely next tokens, not truth. They can produce fluent, plausible-sounding but false content, called hallucination.
Question 50 of 60 · generative AI · Hard
Which statement best distinguishes discriminative models from generative models?
Not quite. Try another option.
Answer: Discriminative models learn to separate classes, while generative models learn or to produce new samples
Discriminative models estimate the conditional probability of labels given inputs, while generative models model the data distribution itself, enabling generation of new samples.
Question 51 of 60 · Data science: definition and importance · Hard
A team builds a highly accurate churn-prediction model but never translates it into any business action or intervention. From a data science value perspective, what is the key failure?
Not quite. Try another option.
Answer: Insights were never operationalized into decisions, so the analytics produced no actionable value
The purpose of data science is to drive decisions and value. A model that is never acted upon delivers no business impact regardless of its accuracy.
Question 52 of 60 · big data · Hard
A company streams sensor readings arriving in inconsistent formats at millions of events per second and needs real-time analysis. Which combination of the 'V's of big data is MOST directly stressed?
Not quite. Try another option.
Answer: Velocity and variety, since data arrives fast and in heterogeneous formats
High-speed arrival stresses velocity, while inconsistent formats stress variety. Volume may also be high, but the described challenges center on speed and format diversity.
Question 53 of 60 · Data collection methods · Hard
A researcher conducts an online voluntary survey and generalizes the results to the entire national population. What is the most serious methodological flaw?
Not quite. Try another option.
Answer: Selection bias, because voluntary online respondents are not representative of the whole population
Self-selected online respondents differ systematically from the general population (access, motivation, demographics), so results cannot be generalized without correcting for this bias.
Question 54 of 60 · primary vs. secondary data · Hard
An analyst reuses a government census dataset collected years ago for a new study on current housing trends. Which limitation of secondary data is MOST relevant?
Not quite. Try another option.
Answer: The data may be outdated and was collected for a different purpose, reducing relevance to the current question
Secondary data is cheaper and faster but was gathered for other purposes and may be dated, so it can lack fit and currency for the new research question.
Question 55 of 60 · primary vs. secondary data · Hard
A startup interviews 200 of its own customers directly to understand product satisfaction. A competitor's published market report is also consulted. Which classification is correct?
Not quite. Try another option.
Answer: The interviews are primary data; the market report is secondary data
Primary data is collected firsthand for the specific purpose (the interviews). Secondary data is compiled by others for other purposes (the published report).
Question 56 of 60 · basics of data cleaning and transformation · Hard
A dataset has a numeric 'income' column with 15% missing values that are missing not at random (higher earners tend not to report). Simply replacing them with the column mean is risky because:
Not quite. Try another option.
Answer: Mean imputation ignores the systematic pattern of missingness and biases the distribution toward the center
When data is missing not at random, mean imputation distorts the true distribution and underestimates variance, introducing bias. Model-based or informed methods are preferable.
Question 57 of 60 · basics of data cleaning and transformation · Hard
A feature 'age' ranges from 0 to 100 while 'salary' ranges from 0 to 200,000. A distance-based algorithm like k-NN performs poorly. What transformation directly addresses this?
Not quite. Try another option.
Answer: Feature scaling (normalization or standardization) so both features contribute comparably to distance
Distance metrics are dominated by large-scale features. Scaling features to comparable ranges ensures each contributes fairly to distance computations in k-NN.
Question 58 of 60 · introduction to data analytics · Hard
A retailer wants to know not just what happened and why, but what action to take to maximize revenue next quarter. Which type of analytics does this require?
Not quite. Try another option.
Answer: Prescriptive analytics, which recommends actions using optimization and simulation
Descriptive answers 'what happened,' diagnostic 'why,' predictive 'what will happen,' and prescriptive 'what should we do.' Recommending optimal actions is prescriptive.
Question 59 of 60 · introduction to data analytics · Hard
An analyst finds that ice cream sales and drowning incidents are strongly correlated and concludes ice cream causes drownings. What is the flaw, and what likely explains the correlation?
Not quite. Try another option.
Answer: Correlation is not causation; a confounding variable (hot weather) drives both
A lurking variable, warm weather, independently increases both ice cream sales and swimming (hence drownings). Correlation alone does not establish a causal link.
Question 60 of 60 · introduction to machine learning · Hard
In k-fold cross-validation with , which statement is TRUE about how the data is used?
Not quite. Try another option.
Answer: The data is split into 5 folds; each fold serves as the validation set once while the other 4 train the model, and results are averaged
In 5-fold cross-validation, training and validation rotate across folds so every sample is validated exactly once, giving a more robust performance estimate.
That's unit 6
Answer a few questions and your score shows up here.
Nearly through. Did unit 6 of CAP1007 save you a night before the exam?
LPU Notes is free. A student pays for the servers.
Did unit 6 of CAP1007 save you a night before the exam?
Then you can help keep it free for the next batch. Ads cover part of the server bill;
the rest comes out of a student's own pocket: the domain, the storage, and keeping
the site up through the weeks everyone needs it at once.
The payment button didn't load. An ad blocker or a filtered network is the usual reason.
to try again.