QuestionBankfor ClassX AI
QuestionBankfor ClassX AI
1. The basis of decision making depends upon the availability of and how we
experience and understand it. (information/data/conditions/past experience/
knowledge/awareness.)
2. A machine can also become intelligent if it is trained with which helps them
achieve their tasks (data)
True/False:
1. A machine is artificially intelligent when it can accomplish tasks by itself. (True)
2. Is a smart washing machine an example of an Artificially Intelligent devices? (False)
3. Platforms like Netflix, Amazon, Spotify, YouTube etc. show us recommendations on the
basis of what we like. (True)
Direct Question:
1. What is Intelligence? Explain in brief any three types of intelligence that are
mainly perceived by human beings?
Intelligence is the ‘ability to perceive or infer information, and to retain it as knowledge
to be applied towards adaptive behavior within an environment or context.’
OR
Intelligence is the ability to interact with the world (speech, vision, motion,
manipulation), ability to model the world and to reason about it, ability to learn, ability
to make decisions and to adapt.
OR
Intelligence has been defined in many ways: It involves abstract reasoning, mental
representation, problem solving, and decision making, the ability to learn, emotional
knowledge, creativity, and adaptation to meet the demands of the environment
effectively.
3. Differentiate between what is AI and what is not AI with the help of an example?
AI Machine Not AI machine
1. AI machines are trained with data 1. Smart machines which are not AI, do
and algorithm. not require training data, they work on
2. AI machines learn from mistakes and algorithms only.
experience. They try to improvise on 2. Smart machines work on fixed
their next iterations. algorithms and they always work with
3. AI machines can analyses the the same level of efficiency, which is
situation and can take decisions programmed into them.
3. Machines which are not AI cannot take
4. AI based drones capture the real-time
decisions on their own.
data during the flight, processes it in
real-time, and makes a human- 4. An automatic door in a shopping mall,
independent decision based on the seems to be AI-enabled, but it is built
processed data. with only sensor technology.
(Any other valid examples of AI and Non-AI machine can be considered.)
While we see a lot of AI applications around us, there still exist a lot of them which are
smart but not intelligent.
An AI enabled machine should not only recognize, but should also do something with
its gathered information. Artificial intelligence” must mean a human-made interface
with the power to reason and integrate knowledge. AI must demonstrate at least some
of the following behaviors associated with human intelligence: planning, learning,
reasoning, problem solving, knowledge representation, perception, motion,
manipulation and, to a lesser extent, social intelligence, and creativity.
Most IOT items are ordinary things outfitted with sensors and connected to the
Internet. For example, sensors in your office can recognize shadows or movements,
but that doesn’t make them an example of artificial intelligence. A fully automatic
washing machine can work on its own, but it requires human intervention to select the
parameters of washing and to do the necessary preparation for it to function correctly
before each wash, which makes it an example of automation, not AI
4. A scenario is given to you below. Read it and answer the questions that follow:
Late one night, a car ran over a pedestrian in a narrow by street and drove away
without stopping. A policeman who saw the vehicle leave the scene of the accident
reported it moving at very high speed. The accident itself was witnessed by six
bystanders. They provided the following conflicting accounts of what had
happened:
- It was a blue car driven by a man;
- The car was moving at high speed and its headlights were turned off;
- The car did have license plates; it wasn’t going very fast;
- It was a Toyota and its headlights were turned off;
- The car didn’t have license plates; the driver was a woman;
- It was a grey Ford.
When the car and its driver were finally apprehended, it turned out that only one
of the six eyewitnesses gave a fully correct description. Each of the other five
provided one true and one false piece of information. Keeping that in mind, can
you determine the following:
Explanation: Out of the statements of 6 bystanders, the third statement becomes false
as the policeman who saw the vehicle leave the scene of the accident reported it
moving at very high speed. Then eliminating all false statements of bystanders, the
above results can be extracted.
5. How intelligent robots are helping us in accomplishing dangerous jobs?
Robots let humans avoid some hurtful work:
(i) Lifting up heavy material at the construction site.
(ii) Stirring and mixing metals or liquids at a high temperature.
(iii) Collecting and packaging of radioactive waste.
(iv) Working in contaminated and dusty environments.
True/False:
3. All the apps collect some kind of data. (True)
Direct Questions:
4. What do you understand by Machine Learning?
Machine learning focuses on the development of computer programs that can access data
and use it to learn for themselves.
5. What do you understand by Deep Learning?
Deep learning is an artificial intelligence (AI) function that imitates the workings of the
human brain in processing data and creating patterns for use in decision making.
6. What are the three domains of AI?
● Data Science/ Big Data
● Computer Vision
● Natural Language Processing (NLP)
1. What do you understand by AI, ML & DL? How are they different from each
other?
4. Write the names for missing stages in the given AI project cycle:
2. Draw the 4Ws problem canvas and explain each one of them briefly.
The 4Ws problem canvas is the basic template while scoping a problem and using this
canvas, the picture becomes clearer while we are working to solve it.
a) Who: The “Who” block helps you in analyzing the people getting affected directly or
indirectly due to it? Under this, you find out who the ‘stakeholders’ to this problem are
and what you know about them. Stakeholders are the people who face this problem
and would be benefitted with the solution.
b) What: Under the “What” block, you need to look into what you have on hand. At this
stage, you need to determine the nature of the problem. What is the problem and how
do you know that it is a problem?
c) Where: In this block, you need to focus on the context/situation/location of the
problem. It will help you look into the situation in which the problem arises, the
context of it, and the locations where it is prominent.
d) Why: in the “Why” canvas, think about the benefits which the stakeholders would get
from the solution and how would it benefit them as well as the society.
For example, suppose you have a dataset of 1000 images of random stray dogs of your
area. You would put this into a learning approach-based AI machine and the machine
would come up with various patterns it has observed in the features of these 1000
images which you might not have even thought of!
4. What is an Artificial Neural Network? Explain the layers in an artificial neural
network.
Artificial Neural Network: Modeled in accordance with the human brain, a Neural
Network was built to mimic the functionality of a human brain. The human brain is a
neural network made up of multiple neurons, similarly, an Artificial Neural Network
(ANN) is made up of multiple perceptrons.
A neural network consists of three important layers:
Input Layer: As the name suggests, this layer accepts all the inputs provided by the
programmer.
Hidden Layer: Between the input and the output layer is a set of layers known as
Hidden layers. In this layer, computations are performed which result in the output.
There can be any number of hidden layers
Output Layer: The inputs go through a series of transformations via the hidden layer
which finally results in the output that is delivered via this layer.
7. Five sustainable Development Goals are mentioned below. Write 2 problems under
each goal that you think should be addressed for achieving the goal.
a. Quality Education
b. Reduced Inequalities
c. Life on Land
d. No Poverty
e. Clean Water and Sanitation
a. Quality Education:
i. Providing education remotely, leveraging hi-tech, low-tech and no-tech approaches;
ii. Ensure coordinated responses and avoid overlapping efforts;
iii. Ensuring return of students to school when they reopen to avoid an upsurge in
dropout rates.
b. Reduced inequalities:
i. Reduction of relative economic inequalities inequality in some countries having
poorest and most vulnerable communities.
ii. Improving the situations in countries with weaker health systems.
c. Life on Land:
i. Prevention of Deforestation caused by humans and restoration of land
ii. Preventions and cure of diseases that are transmissible between animals and humans
d. No Poverty
i. Creation of Strong social protection systems to prevent people from falling into
poverty
ii. Reduction of social exclusion, and high vulnerability of certain populations to disasters
and diseases.
iii. Responsible distribution of resources.
e. Clean Water and Sanitation
i. To increase access to clean drinking water and sanitation mostly in rural areas
ii. Managing our water sustainably to manage our production of food and energy.
CHAPTER 7: NATURAL LANGUAGE PROCESSING
1. What are the types of data used for Natural Language Processing applications?
Natural Language Processing takes in the data of Natural Languages in the form of
written words and spoken words which humans use in their daily lives and operates on
this.
Script-bot Smart-bot
A scripted chatbot doesn’t carry Smart bots are built on NLP and
even a glimpse of A.I ML.
Script bots are easy to make Smart –bots are comparatively
difficult to make.
Script bot functioning is very Smart-bots are flexible and
limited as they are less powerful. powerful.
Script bots work around a script ● Smart bots work on bigger
which is programmed in them databases and other resources
directly
No or little language processing ● NLP and Machine learning skills
skills are required.
Limited functionality ● Wide functionality
Sentence Segmentation - Under sentence segmentation, the whole corpus is divided into
sentences. Each sentence is taken as a different data so now the whole corpus gets
reduced to sentences.
Tokenisation- After segmenting the sentences, each sentence is then further divided into
tokens. Tokens is a term used for any word or number or special character occurring in
a sentence. Under tokenisation, every word, number and special character is considered
separately and each of them is now a separate token.
Removing Stop words, Special Characters and Numbers - In this step, the tokens which
are not necessary are removed from the token list.
Converting text to a common case -After the stop words removal, we convert the whole
text into a similar case, preferably lower case. This ensures that the case-sensitivity of
the machine does not consider same words as different just because of different cases.
Stemming In this step, the remaining words are reduced to their root words. In other
words, stemming is the process in which the affixes of words are removed and the
words are converted to their base form.
Lemmatization -in lemmatization, the word we get after affix removal (also known as
lemma) is a meaningful one.
With this we have normalized our text to tokens which are the simplest form of words
present in the corpus. Now it is time to convert the tokens into numbers. For this, we
would use the Bag of Words algorithm
CHAPTER 8: EVALUATION
One (01) Mark Questions
1. Define Evaluation.
Moving towards deploying the model in the real world, we test it in as many ways
aspossible. The stage of testing the models is known as EVALUATION.
OR
Evaluation is a process of understanding the reliability of any AI model, based on outputs
by feeding the test dataset into the model and comparing it with actual answers.
OR
Evaluation is a process that critically examines a program. It involves collecting and
analyzing information about a program’s activities, characteristics, and outcomes. Its
purpose is to make judgments about a program, to improve its effectiveness, and/or to
inform programming decisions.
2. Which two parameters are considered for Evaluation of a model?
Prediction and Reality are the two parameters considered for Evaluation of a model.
The “Prediction” is the output which is given by the machine and the “Reality”is the real
scenario, when the prediction has been made?
Precision is defined as the percentage of true positive cases versus all the cases where the
prediction is true.
That is, it takes into account the True Positives and False Positives.
4. What are the possible reasons for an AI model not being efficient? Explain.
Reasons of an AI model not being efficient:
a. Lack of Training Data: If the data is not sufficient for developing an AI Model, or if the
data is missed while training the model, it will not be efficient.
b. Unauthenticated Data / Wrong Data: If the data is not authenticated and correct, then
the model will not give good results.
c. Inefficient coding / Wrong Algorithms: If the written algorithms are not correct
and relevant, Model will not give desired output. Not Tested: If the model is not
tested properly, then it will not be efficient.
d. Not Easy: If it is not easy to be implemented in production or scalable.
e. Less Accuracy: A model is not efficient if it gives less accuracy scores in production
or test data or if it is not able to generalize well on unseen data.
(Any three of the above can be selected)
Confusion Matrix:
A Confusion Matrix is a table that is often used to describe the performance of a
classification model (or "classifier") on a set of test data for which the true values are
known.
(or)
A 2x2 matrix denoting the right and wrong predictions might help us analyse the rate of
success. This matrix is termed the Confusion Matrix. The following confusion matrix table
illustrates how the 4-classification metrics are calculated (TP, FP, FN, TN), and how our
predicted value compared to the actual value in a confusion matrix
Let’s decipher the matrix:
Example:
Case: Loan (Good loan & Bad loan)
The result of TP will be that bad loans are correctly predicted as bad loans.
The result of TN will be that good loans are correctly predicted as good loans.
The result of FP will be that (actual) good loans are incorrectly predicted as bad loans.
The result of FN will be that (actual) bad loans are incorrectly predicted as good loans.
The banks would lose a bunch of money if the actual bad loans are predicted as good loans
due to loans not being repaid. On the other hand, banks won't be able to make more
revenue if the actual good loans are predicted as bad loans. Therefore, the cost of False
Negatives is much higher than the cost of False Positives.