KnowledgeBoat Logo
|
OPEN IN APP

Chapter 13

Sample Paper

Class 9 - KIPS Robotics & AI



Section A

Question 1(i)

Name the application of NLP depicted in the given picture.

Name the application of NLP depicted in the given picture. Sample Paper, KIPS ICSE Robotics & Artificial Intelligence Solutions Class 9.
  1. Language translation
  2. Language generation
  3. Question answering
  4. Classification of text

Answer

Language translation

Reason — The picture shown depicts text being translated from one language to another, which is an application of Natural Language Processing (NLP). Language translation is an NLP application that enables computers to understand text in one language and convert it into another language, such as translating English text into Hindi or other languages.

Question 1(ii)

A person is searching for the brands of an electronic item. On an e-commerce website, a chatbot recommends a specific product to him. Which ethical issue is related to this scenario?

  1. Transparency
  2. Interpretability
  3. Explainability
  4. Accountability

Answer

Explainability

Reason — Explainability refers to the ability of an AI system to explain or justify the decisions or recommendations it makes. In this scenario, when a chatbot recommends a specific product on an e-commerce website, it is important to understand why that particular product was suggested. Hence, the ethical issue related here is explainability, as users should be able to know the reasoning behind AI-based recommendations.

Question 1(iii)

NLP is the processing of natural language through computers. Which of the following is an example of NLP?

  1. Voice search on Google
  2. Image search on Google
  3. Image generation on Canva
  4. Product recommendation on Amazon

Answer

Voice search on Google

Reason — Natural Language Processing (NLP) enables computers to understand and process human language in written or spoken form. Voice search on Google is an example of NLP because it involves speech recognition and language understanding, where the system interprets spoken queries and provides relevant results.

Question 1(iv)

............... enables systems to learn from experience by identifying patterns in large datasets, often using algorithms and computational techniques.

  1. Deep learning
  2. Machine learning
  3. Data science
  4. Neural networks

Answer

Machine learning

Reason — Machine learning enables systems to learn from experience by identifying patterns in large datasets using algorithms and computational techniques.

Question 1(v)

Which of the following is not a category of robots?

  1. Aerial robots
  2. Ground robots
  3. Underwater robots
  4. Quantum robots

Answer

Quantum robots

Reason — Robots are categorised based on their operating environment, such as ground robots, aerial robots, and underwater robots.

Question 1(vi)

Which of the following is a limitation of using robots?

  1. Consistency in performance
  2. High initial cost
  3. Ability to work in hazardous environments
  4. Efficiency in repetitive tasks

Answer

High initial cost

Reason — One limitation of using robots is the high initial cost involved in their purchase, installation, and maintenance. Robots offer advantages such as consistency, efficiency in repetitive tasks, and the ability to work in hazardous environments.

Question 1(vii)

............... is one of the applications of human robots.

  1. Rescue operation
  2. Fly silently
  3. Crop pollination
  4. Inspection of narrow pipes

Answer

Rescue operation

Reason — Humanoid (human) robots are designed to perform tasks in a human-like manner, especially in situations where human assistance is required. One of their applications is rescue operations, where they can help in searching, assisting, and rescuing people in disaster-affected or dangerous areas.

Question 1(viii)

............... help robots interact with the environment.

  1. Controllers
  2. Encoders
  3. Actuators
  4. Sensors

Answer

Sensors

Reason — Sensors help robots interact with their environment by detecting changes such as temperature, light, sound, pressure, and distance.

Question 1(ix)

............... are designed with a pressure-resistant mechanism to work in extreme depths of oceans.

  1. Mobile robots
  2. Humanoid robots
  3. Underwater robots
  4. Aerial robot

Answer

Underwater robots

Reason — Underwater robots are designed to work in the extreme depths of oceans and therefore require a pressure-resistant mechanism to withstand high water pressure.

Question 1(x)

Data plays a vital role in designing an AI-based recommendation system. Platforms such as Netflix, Amazon, Spotify, etc., use it to recommend ............... to users.

  1. Personalised content
  2. Tools for NLP
  3. Review literature
  4. Tools for fraud detection

Answer

Personalised content

Reason — AI-based recommendation systems use user data, preferences, and behaviour patterns to suggest personalised content. Platforms such as Netflix, Amazon, and Spotify analyse past interactions to provide customised recommendations to users.

Question 1(xi)

In Python programming, a comment is denoted by:

  1. #
  2. //
  3. /*
  4. ~

Answer

#

Reason — A comment in Python is denoted by the # symbol. Any text written after # on a line is ignored by the Python interpreter and is used to explain the code or make it more readable.

Question 1(xii)

An example of a probabilistic problem is:

  1. Solving a quadratic equation
  2. Predicting weather conditions
  3. Finding the shortest path in a graph
  4. Sorting a list of numbers

Answer

Predicting weather conditions

Reason — Probabilistic computing is used for problems that involve uncertainty and prediction. Weather forecasting is given as an example where probabilistic algorithms estimate the likelihood of different weather events based on historical data and current conditions. The other options are deterministic problems with predictable outcomes.

Question 1(xiii)

Robots in a factory improve their task efficiency by receiving feedback based on their actions and adjusting accordingly. This type of learning is called:

  1. Supervised learning
  2. Unsupervised learning
  3. Reinforcement learning
  4. Machine learning

Answer

Reinforcement learning

Reason — Reinforcement learning is a type of learning in which a system learns by receiving feedback (rewards or penalties) based on its actions and adjusts its behaviour accordingly. In factory settings, robots improve task efficiency by using this feedback mechanism to optimise their actions over time.

Question 1(xiv)

............... actuators are used to create different types of motion in robots.

  1. Hydraulic
  2. Electric
  3. Pneumatic
  4. Piezoelectric

Answer

Electric

Reason — Electric actuators are used to create different types of motion in robots, such as rotational and linear motion.

Question 1(xv)

The output of the expression print(5 * (3 + 2)) is:

  1. 15
  2. 25
  3. 10
  4. 20

Answer

25

Reason — According to operator precedence:

= 5 * (3 + 2)
= 5 * 5
= 25

Question 1(xvi)

Identify the data types:

i. 5
ii. True
iii. "ICSE"

  1. i. Boolean ii. String iii. Numeric
  2. i. String ii. Boolean iii. Numeric
  3. i. Numeric ii. Boolean iii. String
  4. i. Float ii. Numeric iii. Boolean

Answer

i. Numeric ii. Boolean iii. String

Reason — According to the Python Programming:

  • 5 is a numeric (integer) data type.
  • True represents a Boolean value.
  • "ICSE" is enclosed in quotation marks, so it is a String data type.

Question 1(xvii)

Assertion (A): AI helps smart machines to think and learn like humans.

Reason (R): AI systems can adapt based on experience.

  1. Both Assertion (A) and Reason (R) are true, and Reason (R) is not a correct explanation of Assertion (A).
  2. Both Assertion (A) and Reason (R) are true, and Reason (R) is a correct explanation of Assertion (A).
  3. Assertion (A) is true, and Reason (R) is false.
  4. Assertion (A) is false, and Reason (R) is true.

Answer

Both Assertion (A) and Reason (R) are true, and Reason (R) is a correct explanation of Assertion (A).

Reason — Artificial Intelligence enables machines to simulate human intelligence, allowing them to think, learn, and make decisions. AI systems adapt based on experience and data, which explains how smart machines are able to learn in a human-like manner.

Question 1(xviii)

Read the following text, and choose the correct answer:

Broad AI, also known as Strong AI or Artificial General Intelligence, refers to artificial intelligence systems that have human-like cognitive abilities and can understand, learn, and accomplish any intellectual work that a human can perform. Broad AI means to imitate human intelligence across multiple domains, allowing the system to adapt and apply its knowledge and skills to a variety of scenarios and contexts.

What abilities do Broad AI systems have?

  1. Only learning
  2. Only understanding
  3. Human-like cognitive abilities
  4. Only memory

Answer

Human-like cognitive abilities

Reason — Broad AI (Strong AI / Artificial General Intelligence) refers to systems that possess human-like cognitive abilities, enabling them to understand, learn, and perform a variety of intellectual tasks across multiple domains, similar to humans.

Question 1(xix)

Assertion (A): All robots are autonomous.

Reason (R): Some robots require human intervention to operate.

  1. Both Assertion (A) and Reason (R) are true, and Reason (R) is a correct explanation of Assertion (A).
  2. Both Assertion (A) and Reason (R) are true, and Reason (R) is not a correct explanation of Assertion (A).
  3. Assertion (A) is true, and Reason (R) is false.
  4. Assertion (A) is false, and Reason (R) is true.

Answer

Assertion (A) is false, and Reason (R) is true.

Reason — Not all robots are autonomous. Many robots require human intervention or remote control for their operation. This is especially true in hazardous environments, military applications, and certain industrial tasks, where robots are controlled by humans to ensure safety and accuracy.

Question 1(xx)

The first fully autonomous robot was:

  1. ASIMO
  2. Roomba
  3. Shakey
  4. Sophia

Answer

Shakey

Reason — Shakey is regarded as the first fully autonomous robot.

Question 2(i)

Mobile robots should be able to move autonomously in their environment. They may be designed to work in an industry, hospital, shopping complex, or for outdoor tasks. They can be used to perform a wide range of tasks, like transportation and delivery, inspection, surveillance, etc.

What are some of the environments where mobile robots can operate, and what tasks can they perform?

Answer

Mobile robots are designed to move autonomously and can operate in industries, hospitals, shopping complexes, and outdoor environments. They are used to perform tasks such as transportation and delivery of goods, inspection, and surveillance. Their autonomous movement enables them to work efficiently in different environments while carrying out a variety of tasks.

Question 2(ii)

Describe two types of sensors used in robots.

Answer

Two types of sensors used in robots are:

  1. Temperature Sensor – A temperature sensor is used to detect changes in temperature. These sensors help robots to take decisions based on temperature variations, such as fire-control robots detecting a rise in temperature and performing necessary actions.

  2. Ultrasonic Sensor – An ultrasonic sensor is used to detect objects or obstacles using sound waves. It helps robots to navigate from one place to another by detecting obstacles through the transmission and reflection of sound waves.

Question 2(iii)

In the defence field, robots are designed to enhance military capabilities, reduce risks to human soldiers, and improve operational efficiency. With reference to this, mention two advantages of AI.

Answer

Two advantages of AI in the defence field are:

  1. Better decision-making through fast data analysis: AI can quickly analyse large amounts of battlefield data from drones, satellites, and sensors to identify threats and support commanders in taking timely, accurate decisions.
  2. Improved surveillance and early warning: AI systems can continuously monitor borders/areas using cameras and sensors, detect suspicious movement, and raise alerts early, helping prevent surprise attacks.

Question 2(iv)

State one difference between narrow AI and broad AI.

Answer

Narrow AI is designed to perform a single task or a set of closely related tasks, whereas Broad AI is designed to mimic human intelligence and perform a variety of intellectual tasks across different domains.

Question 2(v-a)

Mention any one example of a robot that moves in one direction only.

Answer

An example of a robot that moves in one direction only is a conveyor belt robot.

Question 2(v-b)

A chatbot can conduct a full conversation like a human. True or False?

Answer

False

Reason — A chatbot can simulate conversation using NLP and AI, but it does not actually think like a human. It replies based on programmed rules or the data it has been trained on, so its responses can be limited and may not handle every situation like a real person.

Question 2(vi)

What will be the output from the code given below:

a, b = 3, 5
c = a * 2 + b / 2
print(c * 2)

Answer

Output
17.0
Explanation

1. a, b = 3, 5 — This line assigns the value 3 to variable a and 5 to variable b using multiple assignment.

2. c = a * 2 + b / 2 — According to operator precedence:

c = a * 2 + b / 2
c = 3 * 2 + 5 / 2
c = 6 + 5 / 2
c = 6 + 2.5
c = 8.5

3. print(c * 2) — This line multiplies the value of c by 2: 8.5 * 2 = 17.0. The print() function displays the result.

Question 2(vii)

A student executes the following program segment and the answer displayed is the wrong output. Name the error. How can the program be modified to get the correct answer?

x = 8, y = 2
    if (x == y)
        print("both are unequal")
    else:
        print("both are equal")

Answer

Type of error: Syntax error

The program gives the wrong output because it contains syntax errors, such as incorrect variable assignment, missing colon (:) in the if statement, and improper indentation.

The corrected program:

x = 8
y = 2
if (x == y):
    print("both are unequal")
else:
    print("both are equal")

Question 2(viii)

How many times will the following loop execute? What will be the output?

count = 0
while count < 3:
    print("Hello")
    count += 1

Answer

Number of times the loop will execute: 3 times

Output
Hello
Hello
Hello
Explanation
  • The variable count is initialised to 0. The while loop runs as long as count < 3 is true.
  • Each time the loop executes, "Hello" is printed and the value of count is increased by 1.
  • When count becomes 3, the condition count < 3 becomes false and the loop stops.

Question 2(ix)

Predict the output of the following code:

flag = False
if flag:
    print("True")
else:
    print("False")

Answer

Output
False
Explanation

The variable flag is assigned the value False. Since the condition in the if statement evaluates to False, the control moves to the else block, and "False" is printed as the output.

Question 2(x)

Write the output of the following code:

nums = [1, 2, 3]
print(nums)
print(type(nums))

Answer

Output
[1, 2, 3]
<class 'list'>
Explanation
  • print(nums) displays the contents of the list nums.
  • print(type(nums)) displays the data type of nums, which is a list in Python.

Section B

Question 3(i)

Draw the block diagram showing four degrees of freedom in a robot.

Answer

Block diagram showing four degrees of freedom in a robot is given below:

Draw the block diagram showing four degrees of freedom in a robot. Sample Paper, KIPS ICSE Robotics & Artificial Intelligence Solutions Class 9.

Question 3(ii)

This branch of Artificial Intelligence allows machines to understand and interpret human language and speech.

a. Name the technology used here.

b. Mention two applications of this technology.

Answer

a. Natural Language Processing (NLP)

b. Two applications of NLP are:

  1. Language translation
  2. Chatbots

Question 3(iii)

Write a program in Python that accepts the name and price of a product and calculates the net amount to be paid by a customer, based on the following criteria:

Product PriceDiscount
<10000%
1000-50002%
5001-150003%
15001-250005%
25001-5000010%
>5000012%
Solution
name = input("Enter product name: ")
price = float(input("Enter product price: "))

if price < 1000:
    discount = 0
elif price <= 5000:
    discount = 2 / 100
elif price <= 15000:
    discount = 3 / 100
elif price <= 25000:
    discount = 5 / 100
elif price <= 50000:
    discount = 10 / 100
else:
    discount = 12 / 100

discount_amount = price * discount
net_amount = price - discount_amount

print("Product Name:", name)
print("Original Price:", price)
print("Discount Amount:", discount_amount)
print("Net Amount to be Paid:", net_amount)
Output
Enter product name: Mobile Phone
Enter product price: 20000
Product Name: Mobile Phone
Original Price: 20000.0
Discount Amount: 1000.0
Net Amount to be Paid: 19000.0

Question 4(i)

List different types of autonomous vehicles. Explain one type.

Answer

Different types of autonomous vehicles are:

  1. Autonomous ground vehicles
  2. Autonomous aerial vehicles
  3. Autonomous underwater vehicles

Autonomous ground vehicles: Autonomous ground vehicles are vehicles that can operate without human intervention. They use sensors, cameras, and Artificial Intelligence techniques to sense their surroundings, make decisions, and navigate from one place to another. These vehicles are used for tasks such as transportation, inspection, and surveillance, and help in reducing human effort and improving efficiency.

Question 4(ii)

Discuss three benefits of integrating technology in medical and healthcare.

Answer

Three benefits of integrating technology in medical and healthcare are:

  1. Early disease detection and diagnosis – Technology such as Artificial Intelligence and computer vision is used to analyse medical images like X-rays, CT scans, and MRIs, which helps doctors in detecting diseases at an early stage and making accurate diagnoses.
  2. Better patient monitoring – Smart devices and sensors are used to monitor patient's health conditions continuously. This helps doctors and healthcare professionals to track vital signs and provide timely treatment.
  3. Improved efficiency in healthcare services – The use of technology helps in automating medical processes, managing patient data, and supporting decision-making, which reduces human effort and improves the overall efficiency of healthcare systems.

Question 4(iii)

Write a program to accept a symbol from the user and draw the following pattern containing that symbol.

Input: Enter the symbol: *

Output:

*  
* *  
* * *  
* * * *  
Solution
sym = input("Enter the symbol: ")
for i in range(1, 5):
    print((sym + " ") * i)
Output
Enter the symbol: *
* 
* *
* * *
* * * *

Enter the symbol: #
# 
# #
# # #
# # # #

Question 5(i)

Computer vision enables computers and machines to perceive, analyse, and extract meaningful information from visual data, such as photos and videos. Name any two applications of computer vision. Also, define each type.

Answer

Two applications of Computer Vision are:

  1. Medical Imaging — Computer vision is used to analyse medical images such as X-rays, CT scans, and MRIs. It helps doctors in detecting diseases and identifying abnormalities accurately.
  2. Face Recognition — Face recognition is an application of computer vision that enables a system to identify a person by analysing facial features from images or videos. It is commonly used in security and surveillance systems.

Question 5(ii)

Based on the following picture, answer the given questions.

Based on the following picture, answer the given questions. Sample Paper, KIPS ICSE Robotics & Artificial Intelligence Solutions Class 9.

a. Identify the type of joint.

b. Briefly explain this type of joint.

Answer

a. Spherical joint

b. Spherical joints, also known as ball and socket joints, provide the most freedom of movement among all joint types. They allow the links to rotate around multiple axes, enabling the robot to move in multiple directions. Spherical joints are commonly found in the human shoulder and hip joints.

Question 5(iii)

Create a user-defined function that accepts a number as input. Perform the following operations:

  • If the number is divisible by 3, it should return "ice".
  • If divisible by 5, it should return "water".
  • If it is divisible by both 3 and 5, it should return "icewater".
  • Otherwise, it should return the same number.
Solution
def ice_water(n):
    if n % 3 == 0 and n % 5 == 0:
        return "icewater"
    elif n % 3 == 0:
        return "ice"
    elif n % 5 == 0:
        return "water"
    else:
        return n

num = int(input("Enter a number: "))
result = ice_water(num)
print(result)
Output
Enter a number: 15
icewater

Enter a number: 9
ice

Enter a number: 20
water

Question 6(i)

Motion means the ability to move. A robot can move around in space and change its position or direction. Define linear, angular, and circular motions in robots.

Answer

Linear Motion: Linear motion in robots refers to the movement of a robot in a straight line. The robot in linear motion travels in a straight line and its displacement is proportional to the time elapsed.

Angular Motion: Angular motion is the rotational movement of a robot or its part around a fixed axis. In this motion, the robot changes its direction by rotating through a certain angle.

Circular Motion: Circular motion is the movement of a robot or its part along a circular path. In this type of motion, the robot continuously changes its direction while moving around a fixed centre.

Question 6(ii)

Accountability in AI ethics tells about who is accountable or responsible for AI system's activities and repercussions, including their creators, operators, and organisations. To manage any harm caused by AI technology and guarantee accountability for decisions made by AI systems, clear guidelines of responsibilities and processes must be established. Accountability also includes continuous monitoring and optimisation of AI systems. Discuss the above issue with the 4W canvas.

a. Who is responsible for the activities and impacts of AI systems?
b. What should be established to ensure accountability in AI systems?
c. Why is continuous monitoring important in AI ethics?
d. How can harm caused by AI technology be managed?

Answer

a. The responsibility for the activities and impacts of AI systems lies with the creators, developers, operators, and organisations that design, deploy, and use the AI systems.

b. To ensure accountability in AI systems, clear guidelines of responsibilities and well-defined processes must be established so that accountability for decisions made by AI systems can be clearly identified.

c. Continuous monitoring is important in AI ethics because it helps in tracking the behaviour, performance, and outcomes of AI systems and ensures that they function as intended without causing unintended harm.

d. Harm caused by AI technology can be managed by establishing proper accountability mechanisms, following ethical guidelines, and optimising AI systems regularly to reduce risks and negative impacts.

Question 6(iii)

Write a function for checking the speed of drivers. This function should have one parameter: speed.

  • If the speed is less than 70, it should print "OK".
  • Otherwise, for every 5 km above the speed limit (70), it should give the driver one demerit point.

Calculate and print the total number of demerit points at the end. For example, if the speed is 80, it should print: "Demerit Points: 2".

Solution
def check_speed(speed):
    if speed < 70:
        print("OK")
    else:
        points = (speed - 70) // 5
        print("Demerit Points:", points)
speed = int(input("Enter the speed: "))
check_speed(speed)
Output
Enter the speed: 80
Demerit Points: 2

Question 7(i)

Data plays a very important role in the development and operation of AI. The performances and accuracy of AI models can be considerably impacted by the quantity, quality, and relevance of the data used. Why is data important in AI-based recommendation systems?

Answer

Data is important in AI-based recommendation systems because AI algorithms use large amounts of data to learn user preferences and behaviour. Recommendation systems analyse data such as user choices, past interactions, ratings, and browsing history to identify patterns. The quality, quantity, and relevance of data directly affect the performance and accuracy of the recommendations. Accurate and well-processed data helps the AI system generate personalised and meaningful recommendations, whereas poor or insufficient data can lead to incorrect or less useful suggestions.

Question 7(ii)

Draw the circuit diagram and write the truth table for the NOR gate.

Answer

Circuit Diagram of NOR Gate:

Draw the circuit diagram and write the truth table for the NOR gate. Sample Paper, KIPS ICSE Robotics & Artificial Intelligence Solutions Class 9.

Truth Table of NOR Gate:

XYOutput
001
010
100
110

Question 7(iii)

Write a function in Python that returns the sum of multiples of 3 and 5 between 0 and limit (parameter). For example, if the limit is 20, it should return the sum of 3, 5, 6, 9, 10, 12, 15, 18, 20.

Solution
def sum_multiples(limit):
    s = 0
    for i in range(0, limit + 1):
        if i % 3 == 0 or i % 5 == 0:
            s = s + i
    return s

limit = int(input("Enter limit: "))
print(sum_multiples(limit))
Output
Enter limit: 20
98

Question 8(i)

"Robots are flexible mechanical machines." Justify this statement.

Answer

Robots are called flexible mechanical machines because they are designed with links, joints, actuators, and controllers that allow them to perform a wide variety of tasks. Robots can change their position, direction, and movement according to the task requirements. They can be reprogrammed to perform different operations without changing their physical structure. Due to their flexibility, robots can be used in different environments and applications such as manufacturing, medical surgery, transportation, and space exploration. This ability to adapt and perform multiple tasks makes robots flexible mechanical machines.

Question 8(ii)

"All robots are machines, but all machines are not robots." Prepare a write-up on the same.

Answer

All robots are machines because they are electromechanical devices designed to perform specific tasks using mechanical parts, electronic components, and computer programs. Robots are capable of sensing their environment, processing information, and performing actions either autonomously or with minimal human intervention.

However, all machines are not robots. A machine is any device that helps humans perform work more easily, such as a fan, washing machine, or calculator. These machines work only according to fixed instructions and do not have sensors, decision-making ability, or adaptability. They cannot sense the environment or make decisions based on inputs.

Robots, on the other hand, can process sensor data, make decisions, and adapt to changes in their surroundings. Therefore, while every robot is a machine, every machine cannot be called a robot, which justifies the statement.

Question 8(iii)

Write a Python program to input two numbers and find their HCF and LCM.

Solution
a = int(input("Enter first number: "))
b = int(input("Enter second number: "))
x = a
y = b
while b != 0:
    r = a % b
    a = b
    b = r
hcf = a
lcm = (x * y) // hcf
print("HCF:", hcf)
print("LCM:", lcm)
Output
Enter first number: 12
Enter second number: 18
HCF: 6
LCM: 36
PrevNext