Digicode AI Book 8 _Answer Key
Digicode AI Book 8 _Answer Key
8 Answer key
Digicode AI
1. Google Apps
(Page no. 7)
TeCh Ready
A. 1. (iii) 2. (i) 3. (ii) 4. (ii) 5. (iii)
B. 1. Sundar Pichai 2. Google Sheets 3. Share 4. Map, Satellite, Terrain
5. Saved
C. 1.
Google Drive is a cloud-based storage service. The synchronisation feature allows you to
download and upload files into the remote server.
2. Gmail account is used to access other apps of Google.
3. Google Maps is a digital navigation program that provides detailed information about
the geographical regions of any particular area. Google Map was launched on February
8, 2005. It became available in the Play Store from December 2012.
4. Perform the following steps to download a file from Google Docs:
Step 1 Click on the File option.
Step 2 Click on the Download option.
Step 3 Select the desired format and click on save button.
2. Animation in Krita
(Page no. 24)
TeCh Ready
A. 1. (ii) 2. (iv) 3. (i) 4. (i) 5. (ii) 6.(ii)
B. 1. T 2. F 3. T 4. T 5. T 6. T
D. 1. Layers are transparent sheets containing objects which are stacked on top of each other
so that the individual properties of an object are preserved.
2. Layers are useful in Krita as the layers help edit an object without affecting other objects.
3. To use the multiple layers in a file , follow the given steps:
Step 1: Insert an image into the file as a new layer.
Step 2: click on the Text Tool.
Step 3: Apply desired formatting styles and click on Save button.
New object can be added as separate layers without affecting the properties of the
objects in the other layer.
4. Timeline is used to control and manage the animation of different objects and layers.
5. The animation takes place in number of small steps where an object is moved in small
steps one at a time. Each step is depicted as a frame in the timeline.
IMPRINT 1
A. 1. Add Layer button 2. Duplicate layer or mask button
5. Open-eye-shape icon
B.
1. C
hoose workspace icon
Step 2: Click on the Delete the layer or mask button at the bottom right corner of the Layers docker.
3. Trending Technologies
(Page no. 41)
Do it yourself.
A ü ü ü
ü A A
TeCh Ready
A. 1. (i) 2. (iii) 3. (ii) 4. (ii) 5.(i)
B. 1. T 2. F 3. F 4. T 5. T 6. T
2.
• ophia is considered the most advanced humanoid robot. It is the world’s first robot
S
citizen.
• Aibo is a robotic dog. It can develop emotional bonds with family members and
provide love and affection.
• Pepper is a friendly humanoid designed to be a companion in home and help
customers at retail stores.
3. Augmented Reality is a technology that superimposes sounds, images and text on the
real world that we can see. Images are created by developers within applications that
blend in with content in the real world. For Example, Snapchat, Pokemon Go.
Virtual Reality is a technology that creates a complete virtual world that users can
interact with. In this world, you can experience places as if you were actually there.
While using virtual reality, the user almost always wears VR devices such as HTC Vive
or Google Cardboard.
IMPRINT 1
A. Do it yourself
B. 1. Ameca robot’s movements are more lifelike than other robots. Companies creating AI
or machine learning technology can use Ameca to test and present their technology in
front of a live audience.
2. Sophia is considered the most advanced humanoid robot. It is the world’s first robot
citizen.
3. Aibo is a robotic dog. It can develop emotional bonds with family members and provide
love and affection.
4. Nao is a small humanoid robot, packed with sensors. It can walk, dance, speak, and
recognize faces and objects.
1. Voice Recognition
2. 3D Printing
Periodic Assessment 1
(Based on chapters 1 to 3)
A. 1. Like button 2. Google sheet 3. Google Maps 4. Dislike button
B.
C. 1. Animation is a method by which images are manipulated in a manner so that they appear
as moving objects.
2. Timeline is a rectangle shape section which is used to control and manage the animation of
different objects and layers.
D. 1. Augmented Reality (AR) is a technology that superimposes sounds, images and text on the
real world that we can see. Images are created by developers within applications that blend
in with content in the real world.
2. Virtual Reality is a technology that creates a complete virtual world that users can interact
with. In this world, you can experience places as if you were actually there. While using virtual
reality, the user almost always wears VR devices such as HTC Vive or Google Cardboard.
3. Robotic Process Automation (RPA) is a software robot running on physical or virtual machine
that mimics human actions. With RPA, software users create software robots that can learn,
mimic, and then execute rule-based business processes.
4. Internet of Things (IoT) describes the network of physical devices that have unique identifiers
(UIDs). This technology can transfer data over a network without any human intervention.
4. Algorithmic Intelligence
(Page no. 53)
1. Do it yourself.
2. Try harder
(Move 1 right)
Repeat 4 times
(Move 1 up)
TeCh Ready
A. 1. (ii) 2. (iii) 3. (iii) 4.(i)
IMPRINT 1
C. 1. A sequence of instructions when repeated for a fixed number of times or until a condition
is true is called a loop.
2. a. AND: r esults in YES only if both the conditions are true. If any condition is false, the
result will be false.
OR: results in YES if any one of the conditions is true. If both are false, the result will
be false.
Conditional loops: These repeat until a certain condition is reached which means
they keep going until some condition remains true.
3. if (today is Sunday and a Cricket match)
then
display “Yes”
else
display “No”
4. if (today is Weekday or Your Exam)
then
display “Yes”
else
display “No”
A 1. Num1 4 7 87 45 22
Num2 7 5 34 32 90
Num 2 is Num 1 is Num 1 is Num1 is num2 is
Print
greater greater greater greater greater
2. Marks 45 40 55 49 85
Result Fail Fail Pass Fail Pass
3. Start û ü
û ü
û ü
û ü
û ü
û
B 1.
2. Start û
û
û
û
û
û
display ‘No‘.
IMPRINT 1
Step 6: Print “It’s not a prime number”
Step 7: Exit the loop
Step 8: Print “It’s a prime number”
TeCh Ready
A. 1. (iv) 2. (iv) 3. (iv) 4. (iii) 5. (i) 6 (ii)
B. 1. T 2. T 3. F 4. F 5. T 6. T
C. 1. d 2. a 3. e 4. b 5. c
D. 1. The three basic types of control structures are: Sequential, Selection/Conditional and
Iteration.
2. (This question was printed incorrectly in the book. Please correct it in your textbook.)
Question: Which method is used to add an element in an array? Explain with the help
of an example.
Ans. append() is a method to add an element to an array. For example:
a=[ ]
for I in range(11)
m.append(i)
print(m)
A. 1. int age
if age > 18:
print(‘You are eligible to vote’)
else:
print(‘Not eligible to vote’)
1. pop()
2. if-else statement
Periodic Assessment 2
(Based on chapters 4 & 5)
A. Repeat 5 times
(
Fill Colour
Move 1 right
Move 1 down
)
Repeat 5 times
(
Move 1 up
)
Repeat 5 times
(
Fill Colour
Move 1 left
Move 1 down
)
‘Number is even’
say
C.
C. 1. F 2. F 3. F 4. T 5. T 6. T 7. T 8. T
D. 1. Layers are useful in Krita as the layers help edit an object without affecting other objects.
Step 1: Insert an image into the file as a new layer.
Step 2: click on the Text Tool.
Step 3: Apply desired formatting styles and click on Save button.
New object can be added as separate layers without affecting the properties of the objects
in the other layer.
5. Sophia is considered the most advanced humanoid robot. It is the world’s first robot citizen.
Aibo is a robotic dog. It can develop emotional bonds with family members and provide
love and affection.
6. A
ugmented Reality is a technology that superimposes sounds, images and text on the real
world that we can see. Images are created by developers within applications that blend
in with content in the real world. For Example, Snapchat, Pokemon Go. Virtual Reality is a
technology that creates a complete virtual world that users can interact with. In this world,
you can experience places as if you were actually there. While using virtual reality, the user
almost always wears VR devices such as HTC Vive or Google Cardboard.
then
display “Yes”
else
display “No”
1. F 2. T 3. T 4. T 5. F 6. T
Statements
Statements
3. A. -10
-9
-8
-7
-6
-4
-3
-2
-1
B. Orange Education
Orange Education
Orange Education
Orange Education
Orange Education
TeCh Ready
A. 1. (This question was printed incorrectly in the book. Please correct it in your textbook.)
Question: What is the use of range(n) function?
(i) Generates a set of whole numbers starting from 0 to (n+1).
(ii) Generates a set of whole numbers starting from 1 to (n+1).
(iii) Generates a set of whole numbers starting from 0 to (n-1).
(iv) Generates a set of whole numbers starting from 1 to (n-1).
Ans. (iii)
2. (This question was printed incorrectly in the book. Please correct it in your textbook.)
Question: Which of the following is a looping statement in Python?
(i) for statement (ii) continue statement
(iii) if statement (iv) break statement
Ans. (i)
3. (i) 4. (iii)
B. (This question was printed incorrectly in the book. Please correct it in your textbook.)
D.1. Looping refers to the process of repeating a set of statements repeatedly on the basis of
a condition until the condition is falsified.
2. The syntax of for loop is
for <variable> in <iterator>:
Statements
3. Sometimes, there is a situation when the control of the program needs to be transferred
out of the loop body, even if all the values of the iterations of the loop have not been
completed. For this purpose, jumping statements are used in Python.
4. The while statement is used to repeat a set of instructions until a condition evaluates
to true.
For example,
Program:
i=0
a = input(“Enter the string: “)
while i<len(a):
print(“Current Letter: “, a[i])
i += 1
Output:
Enter the string: Orange
Current Letter: O
Current Letter: r
Current Letter: a
Current Letter: n
Current Letter: g
Current Letter: e
5. The break statement is used for bringing the program control out of the loop. When a
continue statement is encountered inside a loop, control of the program jumps to the
1. 55
2. 2
4
3. apple
banana
cherry
4. 0
0
1
0
2
7. Functions in Python
(Page no. 95)
sum = 0
2. The main difference between these two categories is that built-in functions do not require to
be written by us whereas a user-defined function has to be developed by the user at the time
of writing a program.
2. (This question was printed incorrectly in the book. Please correct it in your textbook.)
(i) A program is divided into small modules and each module performs some specific task.
Each module can be called as per the requirement.
(iii) It makes debugging easy and makes the code efficient, both in terms of time and memory.
Ans. (iv)
B. (This question was printed incorrectly in the book. Please correct it in your textbook.)
3. functions are created by the user according to the need of the program.
5. A function can be called anytime from other functions or from the ____________ prompt
after the definition.
C. 1. T 2. T 3. T 4. T 5.T
6. (This question was printed incorrectly in the book. Please correct it in your textbook.)
Question: Explain different categories of user-defined functions.
Ans. User-defined functions are divided into various categories:
• The functions that do not take any parameter or return anything are called type 1 functions.
• The type 2 functions take parameters but do not return anything.
• The type 3 functions take parameters and return output.
7. (This question was printed incorrectly in the book. Please correct it in your textbook.)
Question: How can we create a function? Explain in detail.
Ans. We can create a function in the following way:
• Defining a Function: We use the def keyword to begin the function definition.
• Naming a Function: Provide a meaningful name to your function.
• Supply Parameters: The parameters (separated by commas) are given in the parenthesis
following the name of the function. These are basically the input values we pass to the
function.
• Body of the function: The body of the function contains Python statements that make
our function perform the required task.
1. testing...
passing the value 4
the function returns 4
2. Enter number2
Raise to power3
2 raise to power 3 is 8
8. Parts of Robots
(Page no. 103)
1. achine Learning (ML) is a technology that discovers rules causing a problem by using the
M
data and finding a solution to that problem.
2. An algorithm is a process or set of rules which need to be followed to solve the given problem.
3. Deep learning techniques will provide machine to perform high-level thoughts, image
recognition, etc.
4. Pattern recognition is the process of identifying and classifying patterns within data or signals,
often using machine learning algorithms to automate the task.
Wrist
Shoulder
D. 1. End effector is fixed at the end of the manipulator. Manipulators are usually set and End
effectors are free to end. They are expected to perform the tasks traditionally performed by
human fingers and palm of a human hand. The end effectors usually do the work. They are
attached to the robot’s wrist and controlled through a computer.
2. The robot’s Manipulator is just like a human arm and has several joints and links. They are
electronically controlled devices consisting of multiple sections. A manipulator uses strong
links connected by joints with one fixed end and one free end to perform a given job, such
as moving a box from one location to another.
3.
4. Locomotion Device: Human beings use muscles to give movements to their arms, palms
and fingers. For a robot, the power comes from motors. Three fuels are used in locomotion,
depending on the energy source.
There are three widespread types of Locomotive devices.
• Electric: This uses magnets and electric current to facilitate movement. They are noiseless
and easy to program.
• Hydraulic: This uses oil to facilitate movement. They are used in heavy machinery, which
includes mining and construction equipment.
• Pneumatic: This uses air to facilitate movement. They are used in Rock drills, pavement
breakers, paint sprayers, etc.
5. Without the data supplied by the sense organs, the human brain cannot perform intelligently
in any given situation. Similarly, controllers would be unable to perform if the robot’s sensors
do not constantly feed the controller about their position, force, temperature, etc. The sensors
are the powerhouse of a robot’s feedback system and act as eyes and ears. A wide range of
sensors is used in a robot system to perform the tasks.
Periodic Assessment 3
(Based on chapters 6 to 8)
A. 1. It will create an infinite loop.
2. Name: Taarush
Age: 21
B. sum = 0
i=1
while(i<6):
sum += i
i += 1
print(“The sum of the first five natural numbers is: “, sum)
C. 1. Built-in functions do not require to be written by us, for example range(), type(), etc.
2. The input given to the functions are referred to as arguments. A function can or cannot have
any arguments.
9. Domains of AI
(Page no. 113)
1.1 T
here are 4 stages of HMI. This involves the activities of intention, selection, execution and
evaluation.
• Intention: This is the first stage of HMI. In this stage the user first sets the goal for interaction.
And then perform actions using a system to reach to the goal. This is a mental stage.
• S
election: This stage is also defined as the selection of action. In this stage order of actions are
set. This means that the user defines how the interaction is going to take place.
• E
xecution: Once the course of action is set it moves for the execution. In this stage the action
is performed.
• E
valuation: This is very important stage in HMI as the success of the interaction depends upon
the feedback.
TeCh Ready
A. 1. (iii)
2. (This question was printed incorrectly in the book. Please correct it in your textbook.)
Question: ____________ is a subfield of AI which helps in communication between human
and computer in natural language.
(i) Computer Vision (ii) Natural Language Processing
(iii) Big Data (iv) Machine Learning
Ans. (ii)
3. (ii)
B. (This question was printed incorrectly in the book. Please correct it in your textbook.)
3. ____________ can be used to check the patient’s image and determine the ailment.
C. 1. F 2. T 3. T 4. T 5.T
D. 1. T
here are different approaches or domains to achieve Artificial Intelligence. There are various
methods through which we can develop artificially intelligent systems. Different domains of
AI are:
• Natural Language Processing
• Computer Vision
• Big Data
Computer Vision: Self driving cars, drones that can examine crop health, patient imaging
and diagnostics and security and surveillance.
3. Real Life uses of NLP are voice text messaging and virtual assistants.
4. Computer Vision is a very popular field that trains a computer to understand and interpret
the visual world.
1. Computer Vision
10. SDGs
(Page no. 122)
1. Smart Hubs provide connectivity with appliances and systems to control through smart phones
using the Internet.
2. Video doorbells provide security as the owner can watch who is outside the door before actually
opening it.
3. S
mart Thermostats is used to automatically control the temperature of a smart home.
4. S
mart speakers can accept voice commands and can be controlled through smart phones.
TeCh Ready
A. 1. (ii) 2. (iii)
Ans. (ii)
4. (iii)
5. (This question was printed incorrectly in the book. Please correct it in your textbook.)
Question: Which of the following goals aims to achieve gender equality and empower all
women and girls?
Ans. (iii)
6.(iv) 7.(iv)
C. 1. F 2. F 3. T 4. F 5. T 6.T
D. 1. In 2015, the General Assembly adopted the 2030 agenda for Sustainable Development that
includes 17 Sustainable Development Goals (SDGs). These are based on the principle of
“Leaving none behind”, where it emphasises a holistic approach to achieve SDGs. The 17
SDGs were laid to transform the world into a better place to live for everyone.
2. Goal 12 aims to achieve efficient use of natural resources and reduce global food waste at
retail and consumer level.
3. (This question was printed incorrectly in the book. Please correct it in your textbook.)
ns. AI is very good at routine tasks and in analysing a lot of data. This makes AI an
A
indispensable ally in improving the condition of the world. AI can analyse data from the
past years to make predictions that can improve the agriculture yield and also predict the
weather patterns to make accurate future assumptions. This way AI can help us to achieve
the SDG and make this world a better place to live.
4. (This question was printed incorrectly in the book. Please correct it in your textbook.)
Question: Write a short note on SDG goal 13.
Ans. The SDG 13 aims to take urgent action to combat climate change and its impacts. It
aims to improve the present conditions to mitigate natural disasters and create awareness
among people.
TeCh Ready
A. 1. (i) 2. (i) 3. (iv) 4. (ii) 5.(i) 6.(ii) 7.(iii)
B. 1. T 2. F
3. (This question was printed incorrectly in the book. Please correct it in your textbook.)
Question: With the advancement of AI, the field of space exploration is expanding
rapidly.
Ans. T
4. T
• Programming language
• Machine learning algorithm
• Artificial neural networks
• Mathematics and Algorithms
• Signal processing techniques
1. Expertrons
2. Technical skills required for data scientist are:
• Machine Learning techniques
• Data Visualisation and Reporting
2. Computer Vision is a very popular field of AI that trains a computer to understand and
interpret the visual world.
B. 1. It aims to end hunger, achieve food security, improve nutrition and promote sustainable
agriculture.
2. It aims to achieve universal access to modern energy, increase in renewable energy and
improvement in energy efficiency.
4. It aims to reduce violence, protect women and child abuse, promote rule of law.
4. (This question was printed incorrectly in the book. Please correct it in your textbook.)
Question: Which of the following receives data in the form of arguments and uses it to run
a specified set of statements and produces the final output?
(i) Function (ii) Operator
(iii) Parameter (iv) Sequence
Ans. (i)
5. (i)
6. (This question was printed incorrectly in the book. Please correct it in your textbook.)
Question: Which of the following information adds value to the Big data pool?
Ans. (iv)
7. (This question was printed incorrectly in the book. Please correct it in your textbook.)
Ans. (ii)
8. (i)
5. (This question was printed incorrectly in the book. Please correct it in your textbook.)
Question: ____________ can be used to check the patient’s image and determine the ailment.
6. CPU 7. command
8. (This question was printed incorrectly in the book. Please correct it in your textbook.)
6. T 7. T
8. (This question was printed incorrectly in the book. Please correct it in your textbook.)
Question: With the advancement of AI, the field of space exploration is expanding rapidly.
Ans. T
D. 1. (This question was printed incorrectly in the book. Please correct it in your textbook.)
Question: Write the name of any five technical skills required to get a job in the field of AI.
Ans. Some of the technical skills required to get a job in the field of AI are:
• Programming language
• Machine learning algorithm
• Artificial neural networks
• Mathematics and Algorithms
• Signal processing techniques
3.(This question was printed incorrectly in the book. Please correct it in your textbook.)
Question: How can AI helps to achieve the SDGs?
Ans. AI is very good at routine tasks and in analysing a lot of data. This makes AI an
indispensable ally in improving the condition of the world. AI can analyse data from the
past years to make predictions that can improve the agriculture yield and also predict the
weather patterns to make accurate future assumptions. This way AI can help us to achieve
the SDG and make this world a better place to live.
4. (This question was printed incorrectly in the book. Please correct it in your textbook.)
Question: Write a short note on SDG goal 13.
Ans. The SDG 13 aims to take urgent action to combat climate change and its impacts. It
aims to improve the present conditions to mitigate natural disasters and create awareness
among people.
• Electric: This uses magnets and electric current to facilitate movement. They are noiseless
and easy to program.
• Hydraulic: This uses oil to facilitate movement. They are used in heavy machinery, which
includes mining and construction equipment.
• Pneumatic: This uses air to facilitate movement. They are used in Rock drills, pavement
breakers, paint sprayers, etc.
7. For calling a function, we type the function and pass the parameters.
For example: To call a function.
8. The break statement is used for bringing the program control out of the loop. When a continue
statement is encountered inside a loop, control of the program jumps to the beginning of
the loop for next iteration, skipping the execution of rest of the statements of the loop.