Professional Documents
Culture Documents
2020
Book 10 Answer Key
Chapter 1
Worksheet 1
Scenario 1
Scenario 2
I will report the test leakage to the teacher. For hard test, I will take extra efforts to study and
prepare myself. Passing the test based on the leaked test is illegal and unethical.
Worksheet 2
Walking Humans It is natural for humans to walk. AI, not being a physical
entity, would depend on the functioning and built of its
mechanical structure when made to walk.
Checking Papers Both AI will find MCQs easy, humans will find Essay type easy
submitted by
students
Performing Both Surgery requires both skills and precision. Humans can
Surgery provide better skills and AI better precision.
Developing Both AI will find calculation part easy. Humans will find the rest
Vaccines easy
Creating Complex AI For AI, with its vast computational power and memory
Passwords capabilities, it would be quite easy to create complex
passwords.
Writing News Humans Humans will be able to write news reports in a much better
Report and reliable way.
Worksheet 3
Worksheet 4
Worksheet 5
Worksheet 6
Worksheet 7
AI QUIZ
QUIZ 4: Activity
1. A
2. B
3. C
AI Ready
Activity 1:
Tay was an experimental chatbot developed by Microsoft. The idea was to produce an AI based
chatbot capable of learning and growing. Within 24 hours of its release it developed a racial
misogynist personality based on user interactions with it.
Q2. Which problems are easier to solve: Structured decision problems or Unstructured decision
problems? Why?
Structured decision problems are easier to solve because they have a known solution. Unstructured
decision problems on the other hand are difficult to solve because they do not have any agreed
upon solution, but rather they depend on the choice of the decision-maker.
AI algorithms are complex and self-learning in nature. It is almost impossible for human beings to
understand how or why an AI comes to a particular decision in real life situation. This problem is
known as Black Box problem. This has significant implication in AI ethics. For example, assume that
an AI rejects a lower caste candidate for a promotion. The Black Box problem will make it impossible
for us to find out if AI had a caste prejudice or if there were other considerations for its decision.
In supervised learning, the AI system is provided with both questions and correct answers in
advance. In this the AI system establishes various patterns which aids it in answering future
questions.
In unsupervised learning on the other hand, the AI system is not trained by providing correct
answers. The AI system rather establishes patterns based on efficiency parameters.
A good AI policy is a policy which is transparent in nature i.e. a policy in which the AI only uses the
data over which it has right and the data should be collected and used only for the stated purposes.
Further on the consumers must have the right to leave the AI system and for requesting data
deletion.
Q7. What is Natural Language Processing? How is it different from Natural Language Understanding?
Natural Language Processing or NLP deals with the development of the Artificial Intelligence Systems
capable of communicating with human beings using natural language as opposed to computer
language. Natural Language Understanding or NLU is one component of the NLP and its deals with
understanding the spoken and written language.
Q8. What are the different abilities generally associated with intelligence?
The different abilities generally associated with intelligence are logic, reasoning, problem solving,
planning etc. These abilities are expressed in learning from experience, in identifying problems and
solving them.
At the current level of development, the Artificial Intelligence can only mimic human behaviour
based on the rules created by human beings. They cannot think, feel or even deal with unexpected
situations. AI systems are incapable of understanding causations.
AI stands for Artificial Intelligence. These systems are designed to mimic the behaviour of human
minds. ML stands for Machine Learning. ML is what happens when the AI system used data for
forming patterns and deciding on how to solve problems. DL stands for Deep Learning. DL is part of
ML or sometimes seen as its extension. It deals with applying the patterns and the learned problem-
solving techniques for actually solving the problems.
You have been asked to design an AI-based smart security system for your colony/village. What are
the different ethical concerns that can arise out of such a system?
1. The AI system will monitor the residents of the colony/village round the clock. This has
ethical concerns related to privacy.
2. The AI system will store the data related to the residents of the colony, including the
entry/exit timings, the people who accompany them, the dress they wear (if smart video is
used) etc. The ethical use of this data can be a concern
3. The data related to the residents cannot be collected and used by the AI system without
their approval or permission. This can lead to unethical collection and use of data.
Chapter 2
Worksheet 1
2. Add the sub-stages of Problem Scoping, Data Acquisition, Data Exploration, Modelling and
Evaluation Deployment to the five stages.
• Problem Scoping
• Business or Project
Design
Requiements
• Analytics Approach to Products
• Data Acquisition
• Data Requirment
• Data Collection
• Data Exploration
Develop
• Exploratory Data Analytics
• Data Preparation
• Data Modelling
• Model Selection
Testing • Evaluation
• Project Evaluation
• System Tuning
• Deployment
Deploy • Project
Deployent
• Project Review
Worksheet 2
Problem scoping is part of the project planning stage. This stage allows for establishing project goals
i.e. what has to be achieved? Identifying different stakeholders, the existing measures for solving the
problem and the ethical concerns related to the project.
Worksheet 3
1. All the data related to students with the school (including exam and test answer sheets)
2. All the data on the mobile phone.
Worksheet 4
1 Power Bi Microsoft
3 Excel Microsoft
Worksheet 5
Identify and name the different sections of the following Decision Tree
Worksheet 6
Project evaluation deals with collection of information and its evaluation. This helps in
identifying the correct knowledge for accumulation in different forms. For example, the
successes can be retained for replication and failures can be accumulated for avoidance.
3. Name some companies that use neural networks and mention how they use it
1. Facebook: The neural network is used for facial recognition.
2. Instagram: The neural network and deep learning is used for identifying the contextual
context of the emoji
3. Amazon: The neural network is used for brining recommendations to the customers
4. Google Translate: The neural network is used for automating translations
AI Quiz
QUIZ 3: Activity
Identify the Sustainable Development Goals associated with each of the following themes:
Environment: SDG 3 (Good Health and Well-Being), SDG 6 (Clean Water and Sanitation), SDG
7 (Affordable and Clean Energy), SDG 11 (Sustainable Cities and Communities), SDG 12
(Responsible Consumption and Production), SDG 13 (Climate Action), SDG 14 (Life Below
Water), SDG 15 (Life on Land)
Economy: SDG 1 (No Poverty), SDG 2 (Zero Hunger), SDG 7 (Affordable and Clean Energy),
SDG 8 (Decent Work and Economic Growth), SDG 9 (Industrial Innovation and
Infrastructure), SDG 12 (Responsible Consumption and production),
Equality: SDG 1 (No Poverty), SDG 4 (Quality Education), SDG 5 (Gender Equality), SDG 10
(Reduced Inequalities
You are designing an AI-based smart security system for your school. Identify the stakeholders for
this project.
• Senior Management
• Teachers
• Students
• Parents of students
• Support Workers
AI Ready
Goal setting is one of the stages of the problem scoping. The goals of the project are established
after the identification of the problem. These goals set the boundary of the project i.e. what is and
what is not going to be done.
Strictly speaking data visualisation is not required for designing the AI systems. Data visualisation
assist in understanding of data and in recognising patterns in it. AI cannot understand data. It can
identify patterns, and human beings have to make sense of these patterns. The use of the data
visualisation will depend on the type of data system which is being designed.
Q4. Are the neural networks the best rule-based systems? Why?
Artificial Intelligence systems can either be rules-based systems or they can be learning based
systems. In rules-based systems the selections or processing of data is based on user defined rules.
In neural networks, the selections or processing is based on the learning done by these networks.
In supervised learning, the AI systems are provided with the problems and the correct solution. The
AI system will establish patterns in the system and use them for finding solutions after training. In
reinforced learning, AI systems do not receive the correct solutions. Rather the right action or
decision is provided with positive reinforcement (positive weight) and incorrect action or decision is
rewarded with negative reinforcement (negative weight).
Learning based AI systems are not dependent on user established rules for processing data. These
systems rather learn by themselves. They are also known as adaptive intelligence. This learning can
take be supervised, unsupervised or reinforced learning.
Data Visualisation is dependent on the number of variables or parameters involved. Less complex
data is easier to visualise. Complex data will have to be simplified for making meaningful data
visualisation. This can be done through different techniques data segregation and classification.
Big data is the term used for referring to huge amount of data which cannot be stored or managed in
traditional database management systems. The Big data is continuously generated in real life. It can
be both structured/unstructured or semi-structured. It can come from various sources. This data is
very important because machine learning systems depend on it.
Q9. How are sustainable development goals linked with artificial intelligence?
Artificial Intelligence can provide significant help in achieving the Sustainable Development Goals of
the United Nations. AI systems among other things can assist in, managing disasters (SDG 9),
Data Acquisition deals with collecting or obtaining data from different sources. This is based on the
need on the project. For example, traffic data for traffic lights management system. Data Exploration
deals on the other hand deals with finding patterns/trends from the acquired data. The AI system
will use these findings for solving the given problems.
You have been asked to develop a Smart Student Grading System for your school. For developing
this system:
1. Set goals
1. Calculating correct grades for student tests/papers
2. Storing student grades for a minimum of 10 years
3. Communicating the student grades to teachers, students, parents, school administration
etc.
4. Protection against unauthorised tempering and access
2. Identify the stakeholders
1. Teachers
2. Students
3. Parents of students
4. School Administration
3. Identify the existing measures
1. Storing of student grades in database
2. Using emails and SMS for communicating student grades to parents
4. Identify the ethical concerns
1. Privacy of the students might be affected
5. Identify the data needs
1. Previous test papers, answer sheets and the provided grading
2. List of students along with relevant details
6. Identify the sources of data
1. School records
7. Visualise mock data
Students will have to create mock data and visualise it in any of the data visualisation
software
Download data from any of the sources listed in Section 1.2 Data Acquisition. Use the data
visualisation tools for drawing insights from this data. Share the insight with the others in the class.
Explanation: This is for students to try on their own. Responses may vary.
Worksheet 1
Try yourself
Worksheet 2
Try yourself
*NOTE: All problems and exercises of the chapter have been solved inside the book.
Chapter 4
Worksheet 1
Worksheet 2
Find out at least three uses of Data Science in the following sectors:
2. Hospitality: Assisting hotels in predicting demand and customer behaviour. Automated dynamic
pricing systems for ensuring maximum revenue generation.
3. Defence: Assisting in smart targeting of enemy installations. Assisting in threat risk assessments.
4. Real Estate: Providing help with property valuations. Risk mitigation based on predictive models.
Worksheet 3
Recently, several unauthorised persons were seen roaming around in your colony. For dealing with
this situation, you have been asked to design a smart security system, which will allow only
authorised people to enter the colony.
Q1. What data will you need for designing and implementing the system?
Worksheet 4
∑|𝑥𝑥−𝜇𝜇|2
Standard Deviation: � 𝑁𝑁
Where ∑ = sum of, x = value in the data set, 𝜇𝜇 = mean of the data set
and N = number of data points
∑(𝑥𝑥𝑖𝑖 −𝑥𝑥)2
Variance: 𝑆𝑆 2 = 𝑛𝑛−1
where 𝑆𝑆 2 = sample variance, 𝑥𝑥𝑖𝑖 = the value of one observation, 𝑥𝑥 = the mean
value of all observations and 𝑛𝑛 = the number of observations.
Worksheet 5
Sr. Type
1 Line
2 Column
3 Histogram
5 X Y Scatters
Worksheet 6
2. Myers–Briggs Type Indicator (Katharine Cook Briggs and Isabel Briggs Myers)
4. Enneagram of Personality (Oscar Ichazo is generally recognised for making this model known)
5. Type A and Type B personality theory (Meyer Friedman and Ray Rosenman)
WORKSHEET: 7
1. Used for smart surveillance. For example, detecting hidden packages at the bottom of shopping
carts.
2. For creating recommendation systems based on what the customer buys/watches/listens etc.
AI QUIZ
QUIZ 4: Activity
IR
IIP
IIIQ
IVT
VS
Data Acquisition deals with collecting or obtaining data from different sources. This is based on the
need on the project. For example, traffic data for traffic lights management system. Data Exploration
deals on the other hand deals with finding patterns/trends from the acquired data. The AI system
will use these findings for solving the given problems.
NumPy arrays have number of advantages over the Python lists. They are more convenient to use,
they are much faster than Python lists and the memory consumed by them is less because their data
structure takes less space.
KNN or K-Nearest Neighbours is an algorithm used for supervised machine learning. KNN can be
used with both regression and classification tasks. This method evaluates the labels of a selected
number of data points around a target data point to predict the class on which the data point falls.
The Five Factor Model is used for measuring the following five personality traits:
AI systems can collect or capture data from multiple sources. For example, eye-tracking sensors can
be used for capturing the movement of eye and body language, smartphones can be used for
capturing the usage data of the user, smart cameras can be used for capturing video data, data
streams can be used for capturing live data etc.
Q7. What is data visualisation? How can we use Python for data visualisation?
Data visualisation is a technique used for understanding and getting insights from the data. The two
most basic forms of data visualisation are graphs and charts. Python provides different plots for the
data visualisation, like Line plot, Histogram Plot, Scatter Plot, Bar Chart, Box and Whisker Plot etc.
Q8. What are Pandas and SciPy? Why are they used?
Pandas and SciPy are python libraries for assisting in scientific computations and data analysis.
Pandas deals with structured data operations and manipulations. It provides facility for data cleaning
and preparation. SciPy is one of the commonly used libraries for advanced-level science and
engineering functions. It provides access to Linear Algebra, Optimisation, Sparse Matrices etc.
Q9. Explain at least three different uses of data science in the financial sector.
Risk Analytics: this deals with analysing the risk associated with financial transactions like providing
loans or insuring something.
Fraud Detection: analysis of big data allows the financial sector to reduce frauds and scams.
Problem scoping is part of the planning stage of the AI projects. It starts once the problem is
identified and includes establishing of goals, identification of stakeholders, finding out what is being
currently done for dealing with the problem and the ethical concerns related to the problem.
Problem Scoping establishes the limit of the problem.
For this project, collect the marksheets of five of your classmates. Use Data Visualisation tools (plots)
in Python for showing these marksheets on the computer screen. Which of these tools provides the
best visualisation for your data? Why?
Explanation: This is for students to try on their own. Responses may vary.
For this project, collect the roll numbers and age of all the students in your class. Use Data
Visualisation tools (plots) in Python for showing this data on the computer screen. Which of these
tools provides the best visualisation for your data? Why? Was the result of this the same as the
result of Project given above? Why?
Explanation: This is for students to try on their own. Responses may vary.
Chapter 5
Worksheet 1
Try yourself
Worksheet 2
Try yourself
Worksheet 3
1IV
2I
3V
4II
Worksheet 4
1. False
2. True
3. False
4. False
5. True
How would you use computer vision in your school for improving discipline among the students?
1. I will set goals by asking the question: How can we improve discipline among the students?
Possible goals can include:
--Identify students outside class when the class is going on
--Taking smart attendance of students
--Identifying cases of incorrect behaviour in the school campus
2. The second step will involve identifying stakeholders, ethical concerns etc. for complete
problem scoping.
3. Then for the actual project, I will use cameras in all the strategic locations. The data from
these cameras will be forwarded to a CNN for identifying the students and their actions. The
CNN will mark the actions showing deviance from normal behaviour for review by teachers
or school administration.
QUIZ 4: Design-Activity
How can you use computer vision for making your home child safe?
First, I will identify strategic locations in the house for installing smart cameras.
Second, I will link these cameras with the CNN based computer vision system
--predict accidents before they take place, and I seniors can intervene for making the child safe.
--monitor the child for alerting the seniors if child needs something which is not within the reach of
the child.
AI READY
Convulsion is a mathematical operation used for multiplying two matrices of numbers. This
operation is used on images for creating filtered images. Convolutional Neural Network (CNN) is part
of the machine/deep learning which uses multiple convulsion layers for assisting in Artificial
Intelligence based Computer Vision.
A computer image is made up of a rectangular array of dots. These dots are known as pixels. These
dots are the essential building blocks of digital image. Image resolutions depict the number of pixels
which an image has. 4K image will have 3840 X 2160 pixels whereas an 8K image will have 7680 X
4320 pixels.
Computer vision is an artificially designed system which tries to mimic the functioning of natural
human vision. It has three components; visual information retrieval system (eye in human vision is
replaced by sensors in computer vision), interpretation of the visual information (the role of brain in
human vision is mimicked by artificial neural networks in computer vision) and outputting the
interpretation.
In sports, the computer vision is used for tracking the movement of players and the movement of
the sport equipment in the field. The information generated helps players and managers to enhance
their performance, umpires and referees to provide better decisions and the viewers to experience
the sports in a better manner.
Kernel is as matrix used for extracting different features from an image in the Convolution Neural
Network. This matrix carries out the dot-product with the sub-region of the input data and provides
the output as the matrix of the dot-products. Kernel uses stride value for processing the input data.
The effects such as blurring, sharpening, embossing etc. are applied on images using Kernel.
In manufacturing sector, the Computer Vision is used for performing predictive maintenance.
Computer Vision assists in monitoring the machinery in real time and predict maintenance before
the breakdown takes place. It is also used for Robotic Process Automation (RPA) for improving the
production workflow.
Pixels are the building blocks of digital images. Every digital image is a rectangular array made of
dots called pixels. Each dot represents a value for the colour or light at that point. An image with the
resolution of 1,024 X 768 will be made of an array of 1,024 columns and 768 rows. This array will
have a total of 7,86,432 pixels. Pixels do not refer to physical dimensions of the image.
Convolution layer: This is the layer where the convolution processing of the image takes place. Here
the pixels of the input image are changed.
Rectified Linear Unit Function: In the ReLU layer, non-linearity is introduced in to the image. All the
negative values are changed to 0 and all blacks are removed.
Pooling Layer: In this layer, a set width of pixels scans over the image and the max, sum, or average
of those pixels is obtained as a representation of that portion of the image.
Computer sees or identifies images by mimicking the behaviour of the human eyes. The computer
receives visual information in form of input images from sensors (cameras) and processes it. While
processing, the image is broken down into three basic colour channels i.e. Red, Green and Blue. Each
of the colour channel is then linked to the pixel in the image. Computer identifies the value related
to each pixel and determine its size.
Image features are relevant information in the image. For example, points, edges, objects etc. The
features are normally classified into two main categories:
Try yourself
Worksheet 1
Worksheet 2
Sentiment Analysis Find sentiment among the numerous posts or even in the same post where
emotion is not always clearly expressed.
Virtual AssistantsCreating a constant and interactive interface between humans with machines
Worksheet 3
A. Problem Scoping
B. Data Acquisition
C. Data Exploration
D. Modelling
E. Evaluation
1c
2a
3d
4b
Worksheet 5
We use many programming languages in our projects. Most of these languages have abbreviated
names, which become so popular that we tend to forget or choose to ignore their full forms. Given
below are such programming languages, can you write their full forms?
2. Give some examples of cases of different syntax and same semantics and vice-versa.
A+B = B+A
Amit is the father of Sunil = Sunil is the son of Amit
4+1+3=4+4
3. Mention some words which can have multiple meanings and explain the meanings by using them
in sentences.
Post
Subsequent to or after: The development of computer systems picked speed post 19th
century.
Job or paid employment: He resigned from the post of Inspector
A timber/metal piece in the ground used as a marker: Follow the green post and turn right
Bat
An equipment for playing sports: A cricket bat
A mammal: The bats fly in night time
Fluttering (of eyelashes or eyelids): She batted her eyelashes at him
Fair
Light: She has a fair complexion
Fine and dry: The weather was fair
An event for public entertainment: The fair was held on the school grounds.
4. Given some examples of sentences having correct syntax and incorrect semantics.
Worksheet 6
1. Corpus
2. Bag of words
3. Term Frequency and Inverse Document Frequency (TFIDF)
4. Text Classification
5. Increases
AI READY
We are living in information age where information overload is common. In such a situation
separating relevant information from irrelevant information becomes very important. Automatic
summarisation helps in this by summarising the contextual meaning of documents and information
along with the emotional meaning hidden in the document.
Bag of words is a commonly used model for converting raw text into vector numbers. Machine
Learning Algorithms suffer from a fundamental problem on not being able to process raw text. Bag
of words model help in overcoming this problem. In this model first text is normalised, then a
dictionary is created. After this vector are created for the documents.
Term Frequency and Inverse Document Frequency (TFIDF) is a statistical measure used for finding
out the importance of a word to a document in a corpus. TFIDF helps in document searching by
retrieving the most relevant results. It is used for keyword extraction from documents for indexing
or identification. It can also be used for document classification, topic modelling, stopword filtering
etc.
Sentiment analysis is used for identifying emotions/sentiment in the text in which the emotions are
not generally clearly expressed. Companies use this analysis for understanding the opinions and
sentiments regarding them, their products and their services online. This allows the companies to
judge reactions and address them appropriately. The analysis also helps companies to understand
the purchasing decisions of the customers.
You have been asked to design a chatbot for an online shopping website. What different processes
will be involved in developing this chatbot and what features will you include?
The following processes will be involved in developing a smart chatbot for the online shopping
website:
--Lexical Analysis
--Syntactic Analysis
--Semantic Analysis
--Discourse Integration
--Pragmatic Analysis
Chapter 7
Worksheet 1
In AI projects, data modelling and evaluation are two closely related stages. The trained data models
have to be evaluated to see if they meet the project requirements i.e. if the answers provided by
them are useful. The evaluation criteria or the parameters as such become the basis of selecting the
data model to be used and the evaluation of the effectiveness of the selected data models.
No No True Negative
*NOTE: There is a correction in the activity. True negative (the highlighted text) is mentioned as False negative
in the activity in the book.
Scenario TP TN `FP FN
2. Machine predicts that the car is red in colour, but in reality, the car is not X
red in colour
3. Machine predicts that the car is not red in colour, but in reality, the car is X
red in colour
4. Machine predicts that the car is not red in colour and in reality, car is not X
red in colour
*NOTE: There is correct in the activity. The highlighted text (and in reality, car is not red in colour) is
missing from the activity in the book
Worksheet 3
Accuracy tells us the percentage of correct predictions out of the total observations. High
percentage of accuracy is desirable, but by itself, it does not tell us if the Ai model is performing
good, mediocre, poor or terrible because it does not take into account, the actual number of
observations into account.
The food performance cannot be measured on the basis of the accuracy alone. A model might
generate 100% accuracy with 96% of predictions being false positive/negative. In such cases the high
accuracy will not make the AI model a good performing one.
Good precision by itself does not translate into good performance of the AI model. Precision
measures all the true performance scenarios in the case under study. The problem with this measure
is that it does not take into account false positives. For example, in a rain AI model with 100 percent
precision means that every positive prediction of rain comes true i.e. it rains whenever the model
predicts rainfall. But this does not translate into good performance if it fails to predict rainfall in
cases where it actually rains.
Precision measures true positive cases out of the total positive cases. Recall on the other hand
measures the ratio of true positives to true positives and false negatives. High recall shows small
number of false negatives. High recall and low precision will show that there most of the positive
examples were correctly recognised but there were many false positives. Low recall with high
precision will show that we miss many positive examples, but those which we predict are in fact
positive.
Try yourself
Try yourself
1. Amplitude
2. Self-awareness
3. Verbal
4. Preposition
5. Coping Strategies
6. Anti-Virus
Open-minded is a personality trait which allows individuals to accept new things. An open-minded
entrepreneur will be willing to try new things and adapt to the changing environment. The two
things which are required for business success.
Moving a file means shifting a file from one location to another. The original file is no longer
available at the original location. Whereas copying a file refers to creating an identical copy of the
file in a new location. In copying the original file remains at the original location.
1. Independent persons prefer to handle their own affair themselves. They are willing to take help
from others, but only after trying things themselves rather than immediately asking others for help.
2. Independent persons are not quickly influenced by the opinion and thoughts of others. They
prefer to think things through and arrive at their own opinion.
I understand team management as an ability of assist or work with a group of people in a manner
that the given task is performed. Team management involves number of skills like communication,
organisation, delegation, openness etc.
11. What are the two most important qualities to become a successful entrepreneur?
A successful entrepreneur should be willing to try new things and he or she should be willing to
adapt to the changing environment.
SECTION—B
C. Answer any 10 questions out of the given 12 questions of 1 mark each. (1 × 10 = 10)
13. Which of the following technology is based on the adaption of how the human brain works?
14. …………………......……. is a filter used for extracting the features from the images in a Convolutional
neural network.
a. Kernel b. Pixel
c. Convolution d. Pool
15. ……………….........….... is a specific branch of computer science that focuses on developing systems
that are capable of collecting data and making decisions and solving problems.
17. The type of machine learning in which the input used for training the model is neither classified
or labelled is called?
*NOTE: The answer choices in the book are incorrect. Both Reinforcement learning and
unsupervised learning uses unlabelled datasets.
18. The Turing Test was developed by ……………….........….... in 1950s. Alan Turing
19. ……………….........….... makes use of past data to solve a problem with the help of statistical
methods and trained algorithm model. Machine learning
20. We use ……………….........…...., a type of convolutional layer, when we need to crop the size of
volume which can make computation quicker, reduces memory, and checks overfitting. Pool layer
22. The length or size of a string can be found out by the ……………….........….... method. Len()
a. A scripted chatbot can easily perform a task that has not been written in its code. (True/False)
b. Language translation applications like Google Translate make use of NLP. (True/False)
AI algorithms are complex in nature. It is almost impossible for human beings to understand how the
AI system arrived at a particular decision based on the given input. This is known as the Black Box
problem.
26. Give two examples where NLP is used and explain them.
Language translation applications use Natural Language Processing for translating text from one
language to other.
AI based Personal Assistants use Natural Language Processing for understanding natural language
and performing tasks.
Turing Test is a test which measures the ability of Artificial Intelligence Systems to mimic humans.
Originally the test checked if conversation with Artificial Intelligence could fool human beings
Scripted chatbots are not AI based chatbots which follow the predetermined processes or
procedures for communicating with the users.
Rectified Linear Unit Function is a layer in the CNN used for introducing non-linearity into the feature
map. All the negative values in the map are changed to zero.
E. Answer any 4 questions out of the given 6 questions of 3 marks each. (3 × 4 = 12)
Job Loss: Many people argue that use of AI systems is unethical because it deprives human beings of
job and means of livelihood. This argument has been going on since the introduction of AI systems.
There is no consensus on it.
Increased Inequalities: Some people argue that current economic system provides economic
benefits based on the contribution to the economy. With the advent of AI the, the contribution
made by individuals will be taken over by AI’s managed by companies. As such economic benefit will
also shift from individuals to companies.
Negative Adoption: There is significant ethical concern regarding negative use of AI systems. For
example, AI systems used for spreading terror or for hacking systems.
31. Describe the Neural Network technology and how it has taken its inspiration from the human
brain?
32. Mention the three domains of Artificial Intelligence and write a short note on each.
Data Science: This domain deals with collection, maintenance and manipulation of data for obtaining
meaning out of it. This involves both data systems and processes.
Computer Vision: This domain deals with processing visual data for the purpose of identification and
classification. Google Photos, Facebook, Snapchat, Smart Security Systems etc. all depend on
computer vision.
Natural Language Processing: This domain deals with the ability of the AI systems to communicate
with human beings using natural languages rather than computer languages.
Deep learning is a subset of machine learning which is normally based on artificial neural networks.
The deep learning systems learn from the data supplied to them. They improve their functioning and
efficiency with time. The research in this area is focused on creating Truly Intelligent systems
capable of performing all the tasks performed by human mind.
The Machine learning algorithms are incapable of processing raw text. For dealing with this the raw
text is first converted into vectors of numbers through a process known as extraction. Bag of Words
is one of the popular methods of this extraction. The Bag of Words model requires the following
steps:
Try yourself
SECTION—A
The following should be kept in mind for making effective written communication:
--Clear and easy to understand
--Free from grammatical and other errors
--Correct tone and avoidance of offensive language
The four elements for keeping a person motivated are clear purpose, competence, adequate
feedback and clear rewards.
A file is a container for storing specific data in digital memory. A file may store images, videos, text
documents, audio etc. Folder is a container for organising computer memory. A folder can contain
files and other folders.
Sustainable development can be best explained as the development for meeting the needs of the
today without negatively affecting the ability of future generations to meet their need.
Using anti-virus software is the best way of protecting computer against viruses.
SECTION—B
C. Answer any 10 questions out of the given 12 questions of 1 mark each. (1 × 10 = 10)
a. Matplotlib b. NumPy
c. Boost d. SciPy
a. Bar b. Histogram
14. …………………......……. is a field of study that enables computers to imitate the human visual
system.
16. Which of the following is a machine learning algorithm that can be used in both regression and
classification tasks?
17. An 8-bit colour depth utilises the numbers ……………….........….... for each colour channel in a pixel.
a. 0-127 b. 0-255
c. 1-128 d. 1-256
18. ……………….........….... is a machine learning method and algorithm that we use in both regression
and classification tasks. K-Nearest Neighbour
19. The conversion of raw text into vectors of numbers to aid in machine learning algorithms is
called ……………….........….... Feature extraction
20. The full form of NLTK is ……………….........….... Natural Language Tool Kit
22. In Python, a histogram plot can be designed by calling the ……………….........….... function and
passing in a list or array that shows the data sample. Hist()
b. In an AI Project Cycle, stakeholder identification comes under the Data Acquisition process.
(True/False)
Big data is the term used for referring to huge amount of data which cannot be stored or managed in
traditional database management systems. The Big data is continuously generated in real life. It can
be structured/unstructured or semi-structured.
Data science is a domain of computer science used for extracting information (patterns, tends etc.)
from the given data with the help of scientific methods, algorithms and statistics.
Virtual environment is a tool in Python which assists in keeping the dependencies required by
different Python projects isolated from one other.
A programming language is a vocabulary and set of grammatical rules with the help of which a
computer or computing device performs specific tasks.
Open Source Computer Vision (OpenCV) is a Python package for image processing. It supervises the
overall functions that concentrate on real-time computer vision. It focuses on image processing,
video capture and analysis including features like face detection and object detection.
Supervised learning models use labelled dataset for training computer models. In this model the AI
system is provided with both problems and solutions. Unsupervised learning models use unlabelled
data for training computer models.
E. Answer any 4 questions out of the given 6 questions of 3 marks each. (3 × 4 = 12)
Advantages:
• KNN can be useful in both regression and classification tasks, in contrast to some other
supervised learning algorithms.
• KNN is exceptionally accurate and easy to use. It is simple to interpret, understand, and
implement.
• KNN does not make any assumptions about the data. It can be used for a broad range of
problems.
Disadvantages:
• KNN has to keep most or all of the data, which requires a lot of storage space, and it is
computationally expensive. Large datasets can also cause predictions to take longer time.
• KNN is very sensitive to the scale of the dataset. It can be junked by irrelevant features quite
easily in comparison to the other models.
31. What are NumPy and Matplotlib? Where are they used?
NumPy and Matplotlib are Python libraires. NumPy contains essential linear algebra functions,
Fourier transforms, and advanced random number capabilities. They are also used for integrating
with the other basic level languages, such as Fortran, C, and C++ and for handling n-dimensional
arrays.
The Jupyter Notebook is an open-source web application that enables us to create and share
documents with live codes, equations, visualisations, etc. This platform is used for data cleaning and
transformation, statistical modelling, data visualisation, machine learning, and a lot more. Jupyter
supports more than 40 different programming languages including Python.
CV is the capacity of computers to perceive, process, and predict images and videos. Almost every
business sector uses CV, which is transforming the way the industries work. Almost all companies
have adopted CV, and the demand for CV and similar technologies has been rising very fast. Its
ability to solve problems on large scale, accurately, quickly, and in an affordable manner is the
primary reasons for its fast pace and growth. With computer power becoming affordable, more
accessible, and portable, an increasing number of computer vision applications for businesses,
smart-city surveillance, health service, automobile industries, analytical imaging tools, etc. can be
expected in the near future
Rule based algorithms use set of predefined rules for processing data and finding solutions to
complex problems. Learning based algorithms on the other hand are not restricted to predefined
rules but rather are based on algorithms which learn from the data fed to them. They solve
problems based on patterns, trends and insights gained from the training data.
35. Discuss the various evaluation methods used to check the functioning of an AI system.
The evaluation methods used for checking the functioning of the AI systems are:
Accuracy: This measures the percentage of correct predictions out of the observations made.
Precision. This measures the percentage of true positive cases out of all the predictive positive cases.
Recall: This measures the ratio of total number of correctly classified positive examples to the total
number of positive examples.
F1 Score: This measures the balance between the precision and Recall
Try yourself
PRACTICAL-BASED EXERCISE
Try yourself