Part B Chapter 1
Part B Chapter 1
INTRODUCTION TO AI
Task (Page 146)
1. Accept all relevant answers.
2. By 2030, AI will replace most number of jobs that are done by Human like for example most of the cleaning jobs will be
done by Robots. There will be Bots, AI enabled that will be dealing with people with stress – CBT.
3. Computers can do tasks that are repetitive like large statistical calculations, better than humans.
b. No e. Yes
c. No
Exercise
Unsolved Questions
SECTION A (Objective Type Questions)
Competency-based/Application-based questions:
1. Metadata collected from the user’s history and interactions.
2. Vikram can install an application that provides augmented reality (AR) features and various filters to enhance and customize
images are:
a. PhotoDirector d. PicsArt
b. YouCam Perfect e. Snapseed
c. Pixlr f. Adobe Photoshop Camera
3. Answer
a. Disadvantages of AI are:
The disadvantages are things like costly implementation, potential human job loss, and lack of emotion and creativity.
b. AI is now perfect in performing routine jobs so such non-creative jobs will inevitably vanish soon. AI has the potential to
increase productivity, create new jobs, and raise living standards. However, by its very nature of performing “non-routine”
tasks formerly thought to be strictly the domain of humans, AI is likely to disrupt large swaths of jobs and tasks.
c. These could include data detectives or scientists, prompt engineers, robotics engineers, machine managers, and programmers,
particularly those who can code in Python which is key for AI development.
d. Although lives of people do not improve if they keep on being unskilled. Unskilled people will have difficulties in growth and
personal development.
e. No, AI should not replace laborious jobs completely as if it replaces laborious jobs completely, then there will be no source of
income for the daily wage workers due to unemployment. So, industry owners can use some machines but more of manpower
keeping in mind the growing world population
4. d
5. a
2. Criminals who have explicitly shown interest in his escape on any media.
3. Background of the criminal, and who have been his associates in crime and have still not been captured.
5. Flight stop-overs, and who all can have access to the flight at the time of stop-over and the duration of the flight. List of
components of your system to detect unauthorised access are as follows:
c. Facial security cameras for entry places other than main door of the Aircraft
We test algorithms to find out which algorithm, out of our shortlisted ones, produces most accurate results, when different
combination of people are sent in front of the camera in the aircraft for testing.
C. True False
2. Modelling or data modelling is defined as the process of designing decision-making algorithms that has to be trained on a set
of data (which was acquired at the data acquisition stage for the problem you scoped in the problem scoping stage) and apply
that learning to recognize certain types of patterns.
i. Problem Scoping
iv. Modelling
v. Evaluation
4. There are two types of data:
Training Data: It is data on which we train our AI project model. It is basically to fit the parameters of the project for the
model. In training data, the output is available to the model.
Testing Data: It is used to check the performance of an AI model. In testing data, the data is not seen for which the
predictions have to be made.
5. Data can be collected from various sensors like collecting environmental data and stored in some data storage solutions.
Sensors are connected through gateways which enable them to collect live data in the offline mode.
6. There are times using the internet, we acquire unauthentic data from websites for our AI project. Extracting private data can
be an offence.
So, keeping this in mind we should ensure the data is collected from open-sourced websites hosted by the government. They
are one of the most reliable and authentic sources of information.
7. (This question was printed incorrectly in the book, please correct it in your textbook.)
Question: What is root node in a decision tree?
A root node is the first node of a decision tree and it represents the entire set of data.
8. Data is the base for any AI project to be built. When the data is acquired, it's important to check if it's from a reliable and
authentic source for the accuracy of the project.
9. It is a data visualization tool provided by Microsoft. It is freely available to download and use.
10. It is a combination of a bubble chart, data visualization and a map. It is used to visualize location and proportion using
circles over geographical regions with the area of the circle being proportional to its value in the dataset.
11. (This question was printed incorrectly in the book, please correct it in your textbook.)
Questions: What is child node?
A sub-node in a decision tree that falls under another node.
12. Pixel It is an example of a machine learning approach which is used in computer vision applications. The graphics or
images created in computers are pixel-based images. It shows how the computer classifies the images and reads them.
13. Learning based approach refers to the model where the relationship or patterns in the data are not defined by the developer.
Random data is fed into the machine and the machine develops its own pattern or trends based on data outputs.
14. (This question was printed incorrectly in the book, please correct it in your textbook.)
Questions: What is web scrapping?
Ans. Web scraping or Data scraping is the method of downloading information from the World Wide Web (WWW) and
storing it onto your computer for later reference.
15. Machine learning aims at making a machine that can learn through data and solve complex problems. Deep learning aims at
building neural network that can help in discovering patterns or trends.
• Problem Scoping: The first stage of an AI project cycle is problem scoping to identify the problem and have a vision
to solve it. Problem scoping means selecting a problem and finding a solution for it using AI technology. The project
identifies the area in which AI can be used to provide a solution.
Many times we are unable to observe any problem in our surroundings. In that case, we can take a look at the
Sustainable Development Goals. 17 goals have been announced by the United Nations which are termed as
the Sustainable Development Goals. The aim is to achieve these goals by the end of 2030.
• Modelling: It is the design phase of the project cycle. In this, we select the best way to reach the solution. It requires
the process of selecting the right algorithm to develop a working model for the project. In this step, the algorithm is
converted into a model.
• Data Acquisition: The term data acquisition means collecting raw data for the purpose of reference or analysis for the
project. The data can be in the form of text, numbers, images, videos or audio. The data acquisition system allows us to
obtain valuable information about reality to improve the performance of the project.
2. Answer
3. Answer
4. A system map is a diagrammatic representation of a set of things working together. It focuses on the components and
boundaries of a system. System map helps us to find relationships between different elements of the problem which we have
scoped. It helps to find a solution to achieve the goal of our project. We use system maps to understand the complex issues
that have inter connected factors affecting each other.
5. We use system maps to understand the complex issues that have inter connected factors affecting each other. A system
comprises of:
• Elements: These are different, discrete elements within the system.
• Interconnections: These are the relationships that connect the elements.
Rules for system maps are:
a. The circles represent elements.
b. Arrows are used to represent relationships/interconnections.
c. The '+' and '-' signs are indicators of the nature of a relationship. The arrowhead depicts the direction of the effect and
the sign (+ or -) shows their relationship.
d. If the arrow goes from X to Y with a + sign, it means that both are directly related to each other. That means if X
increases, Y also increases and vice versa.
e. If the arrow goes from X to Y with a -sign, it means that both the elements are inversely related to each other. That
means if X increases, Y would decrease and vice versa.
6. There are various sources to collect relevant data for our project:
• Surveys: Data can be collected from online surveys, telephonic surveys or in person surveys and collect responses.
Surveys are a way of collecting data from a group of people in order to gain information and insights into various topics
of interest. The process involves asking people for information through questionnaires which can be online or offline. It
can be considered as a data source.
• Web Scraping: Data or information can also be extracted from a website. Web scraping or Data scraping is the method of
downloading information from the World Wide Web (WWW) and storing it onto your computer for later reference. The
data collected in this way is an online data.
• Sensors: Data can also be collected from various sensors like collecting environmental data and stored in some data
storage solutions. Sensors are connected through gateways which enable them to collect live data in the offline mode.
• Cameras: Data can be seen, written down or recorded onto the computer. Cameras are used to collect data in the form of
images. CCTV, web cameras, surveillance cameras are big sources of visual data that can be acquired from various
places.
• Observations: It is a method of collecting data by watching facts as they occur. Using the observation technique data can
be analysed and used for testing the model.
• Application Programming Interface (APIs): APIs are a set of functions and procedures that allow one application to
connect to another. So, one of the ways of collecting data is through APIs that can be used to collect data from social
media services for analysis.
7. Data exploration refers to the techniques and tools used to visualize data through complex statistical methods.
• Data exploration means to find the patterns and trends in the data. It is the third stage in the AI project cycle and the
initial step in data analysis. It is used to understand what is in a dataset and the characteristics of the data.
• Data exploration cleans the big data to provide an input to an AI project. Terabytes of data sitting in the data centre
unused is a burden, if correctly processed it can become digital gold.
8. Here are 10 elements of good data visualization that can help you present information that readers can process quickly and
easily
• Clear Headings and Keys • Relevant Comparisons. • Add design elements.
• Obvious Trends. • Lots of Data/Evidence. • Consolidated Information.
• Simple Analysis. • Summaries of Key Points.
9. Difference-
AI aims at making a machine that mimics human Aims at making a machine that can learn through data and solve
intelligence. complex problems
It is the simulation of intelligence in machines. It is the training of machines to take decisions with experience.
10. Following are some of the important points to consider while designing a decision tree:
• There can be a possibility of multiple decision trees which lead to correct prediction for a single dataset. The simplest one
should be chosen.
• The dataset might contain redundant data at times, which does not have any reference while creating a decision tree.
Therefore, it is necessary that only those parameters that affect the output directly should be included.
• While making Decision Trees, one should take a look at the dataset given to them and try to figure out what pattern does
the output leaf follow. Try selecting any one output and on its basis, find out the common links which all the similar
outputs have.
11. Decision trees are tools that follow a rule based approach that uses a tree-like model of decisions and their possible
consequences. It is a kind of flow chart, where the flow starts at the root node and ends with a decision made at the leaves. It
is used to depict conditions and their outcomes. It is one of the most widely used and practical methods for supervised
learning.
The decision tree starts from the root node just like the structure of a tree with two different ways or conditions: Yes or No.
The forks or diversions are known as Branches of the tree. The branches either lead to another decision/ question node or
they lead to another condition for decision, which is known as leaf node. If you look closely at the image, it looks like an
inverted tree with roots above and leaves below
12. Machine Learning: Machines need to learn the ways of humans by learning the techniques and processes. So machine
learning is a subset of artificial intelligence that uses statistical methods that enable machines to improve with experiences.
So machines learn from their mistakes and take them into consideration in the next iteration, this way they keep improving
with experience. For example, Snapchat filters and Netflix recommendations.