SHS/EOMS/ED/QP/R&AI/IX
SACRED HEART SCHOOL
Moga, Punjab
(Sample paper for practice)
STD.: IX SUB.: Robotics & AI
SECTION-A (40 Marks)
(Attempt all questions from this Section.)
Question 1
Choose the correct answer and write the correct option.
(i) Which type of actuator would be required for lightweight applications?
(a) Electric Actuators (b) Hydraulic Actuators
(c) Pneumatic Actuators (d) Piezoelectric Actuators
(ii) Which of the following is not an autonomous robot?
(a) A self-driven robot used for underwater life monitoring and research.
(b) A warehouse robot used for shifting products using navigation sensor.
(c) A robot used in medicine for rehabilitation therapy.
(d) The Mars rover is designed to explore the surface of Mars.
(iii) Which of the following is an example of a deterministic problem?
(a) Weather forecasting (b) Solving a mathematical equation like 2+2
(c) Predicting stock market trends (d) Diagnosing a disease
(iv) The mechanical block of a robot primarily includes:
(a) Sensors and cameras (b) The physical structure, motors, and actuators
(c) Software algorithms (d) User interfaces
(v) Assertion: Bias in AI refers to the tendency of an AI system to give results based on unfair data
collection.
Reason: Bias occurs when an AI system is trained with imbalanced data, collected
disproportionately from a particular geographical location.
(a) Both assertion and reason are true, and the reason is the correct explanation of the assertion.
(b) Both assertion and reason are true, but the reason is not the correct explanation of the
assertion.
(c) Assertion is true, but the reason is false.
(d) Assertion is false, but the reason is true.
(vi) Which of the following illustrates the need for AI in solving real-life problems?
(a) AI systems always produce the same result for the same input.
(b) AI can handle variability and make decisions based on probabilistic outcomes.
(c) AI replaces the need for human decision-making in all scenarios.
(d) AI systems are only useful for deterministic problems.
(vii) What is the function of actuators in a robotic system?
(a) To process data from sensors
(b) To control the power supply to the robot
(c) To convert electrical signals into physical movement
(d) To regulate the temperature within the robot
(viii) Assertion (A): The return statement is optional in a Python function.
Reason (R): If no return statement is specified, Python automatically returns None.
(a) Both A and R are true, and R is the correct explanation of A.
(b) Both A and R are true, but R is not the correct explanation of A.
(c) A is true, but R is false.
(d) A is false, but R is true.
(ix) Which type of joint in a robot allows rotational movement around a single axis,
similar to the motion of a door hinge?
(a) Prismatic joint (b) Revolute joint (c) Spherical joint (d) Cylindrical joint
(x) What role does data play in natural language processing (NLP) applications?
(a) To ensure fairness and generalization of trained models
(b) To identify meaningful patterns and relationships in data
(c) To train AI models to understand text data and context
SHS/IX ROB&AI/ Page 1 of 4
(d) To continuously adapt to changes in the environment
(xi) What will be the output for the following Python code?
val=’Enjoy Coding’
chk=’A’
while chk in val:
print(chk)
(a) Syntax Error (b) No Output (c) Infinite Loop (d) AAAAAAAAAA
(xii) Which of the following is the first stage of AI project framework?
(a) Data collection (b) Problem definition and scoping (c) Evaluation (d) Modeling
(xiii) Which of the following conditions is always False?
(a) x == x (b) x != x (c) x >= x (d) x <= x
(xiv) What part of the robot is equivalent to the human hands, legs, and body movement?
(a) Communication system (b) Manipulators (c) Sensors (d) End effectors
(xv) Which of the following will result in an error?
(a) while x == 5: print("x is 5") (b) while x = 5: print("x is 5")
(c) while x != 5: print("x is not 5") (d) while x >= 5: print("x is greater than or equal to 5")
(xvi) What will be the output of the following code?
a=7
b=3
c = a % b + a // b * b
print(c)
(a) 7 (b) 9 (c) 10 (d) 12
(xvii) Assertion (A): XOR gate produces a '1' output only when both inputs are identical.
Reason (R): The XOR gate is designed to produce a '1' output when both inputs are
complementary.
(a) Both A and R are true, and R is the correct explanation of A.
(b) Both A and R are true, but R is not the correct explanation of A.
(c) A is true, but R is false.
(d) A is false, but R is true.
(xviii) In the context of robotic arms, what is an "end-effector"?
(a) The main controller unit of the robot
(b) The sensor that provides environmental data
(c) The device or tool attached to the end of a robotic arm used to interact with objects
(d) The battery that powers the robot
(xix) The Oculus Quest 2 is an example of AI in which field?
(a) Face recognition technology
(b) Virtual reality
(c) Autonomous driving
(d) E-commerce automation
(xx) What will be the output of the following code?
for i in range(3):
if i == 2:
break
print(i, end = ‘ ’)
(a) 0 1 2 (b) 0 1 (c) 1 2 (d) 2
Question 2
(i) Explain the three laws of robotics.
(ii) Differentiate between actual and formal parameters with the help of an example.
(iii) Predict the output:
for num in range(12):
if num % 2 == 1:
continue
SHS/IX ROB&AI/ Page 2 of 4
if num > 9:
break
print(num)
(iv) A robot is being designed to navigate a warehouse and detect obstacles to ensure smooth
operation. How could infrared sensors and ultrasonic sensors be used to improve the robot’s
ability to detect obstacles and navigate the space?
(v) What does the following code perform? What will be the output if the inputs are x=5,y=10 ?
x = int(input( "Enter an integer:" ))
y = int(input( "Enter an integer:" ))
while x < y:
x += 1
if x == 5:
continue
print(x, end=" ")
(vi) Explain how the Turing Test is used to assess the performance of Natural Language Processing
tools in applications like speech recognition or sentiment analysis. What challenges might arise in
these applications?
(vii) What will be the output from the code given below:
def add(x, y=5):
return x + y
print(add(3))
print(add(3, 7))
(viii) Predict the output of the following code:
def task(x):
return x + 10
result = task(5) * 2
print(result)
(ix) After identifying the correct data, how does survey and web scraping help while acquiring relevant
data?
(x) Discuss any two power sources that can be used to make a robot functional.
SECTION-B
The answers in this Section should consist of the programs in either python environment or any program
environment with python as the base. Each program should be written using variable description/ mnemonic
codes so that the logic of the program is clearly depicted. Flowcharts and algorithms are not required.
Question 3
(i) What is the role of microcontroller? Mention its types.
(ii) What do you understand by machine learning and deep learning?
(iii) Write a program to accept the sales of a salesman. Calculate and display his total commission
based on the sale value according to the following rates:
Sales in ₹ (Indian Currency) Commission
0 to 5000 5% on sale
5001 to 7000 7.5% on sale
7001 to 10000 10% on sale
Above 10000 15% on sale
Questions 4
(i) Define Degrees of Freedom and mention any two types of degrees of freedom.
(ii) Why binary logic system is important?
(iii) Mr. Rahul is an LIC agent. He offers discount to his policy holders on the annual premium.
However, he also gets commission on the sum assured as per the given tariff.
Sum Assured Discount Commission
Up to ₹ 1,00,000 5% 2%
₹ 1,00,001 and up to ₹ 2,00,000 8% 3%
₹ 2,00,001 and up to ₹ 5,00,000 10% 5%
More than ₹ 5,00,000 15% 7.5%
Write a program to input name of the policy holder, the sum assured and first annual premium.
Calculate the discount of the policy holder and the commission of the agent. The program displays
all the details as:
Name of the policy holder :
Sum assured :
Premium :
Discount on the first premium :
SHS/IX ROB&AI/ Page 3 of 4
Commission of the agent
Questions 5
(i) How are humanoid robots different from collaborative robots?
(ii) What do you understand by ethics? Discuss any two ethical issues in AI.
(iii) Write a menu driven program, where the user enters a choice from the below mentioned menu and
perform logical calculations to get desired results: -
1. Accept a number and check if it is even or odd.
2. Accept a number, calculate and display its factorial.
3. Accept time in seconds and convert it in hours, minutes and seconds.
Sample Input: Enter a choice (1 or 2 or 3) 1
Enter a number for check 109
Sample Output: 109 is an odd number
Question 6
(i) Imagine you are a defense strategist tasked with reducing risks to human soldiers during
dangerous missions. How would you incorporate robotic technology into your plans? Suggest at
least two specific applications of robots in the defense field and explain how they would enhance
operational efficiency.
(ii) Explain the conditional logic gates NAND and XOR. For each gate, include:
a) Its function
b) The circuit symbol
c) The truth table
(iii) a) Write a program to accept a value x from the user , calculate and display the sum of the series:
𝑠 = x/2!+x/3!+x/4!+x/5!+………..+x/20!
b) Write a program to print following pattern:
54321
4321
321
21
1
Question 7
(i) Classify Robots based on Field. Mention one application of each type.
(ii) During Supply Chain Management, which computing technique would be more suitable? Justify
your answer.
(iii) Write a program to accept a degree [up to 180] and categorize its type based on the following
classifications:
A degree that lies between 180 and 90 is obtuse.
A degree that is 90 is right angle.
Any degree that lies between 0 to 90 is acute.
Question 8
(i) A company is designing an underwater robot for deep-sea exploration. What key design features
must be considered to ensure the robot can withstand high pressure, maintain communication, and
navigate effectively at great depths?
(ii) What are the different methods of identifying relevant data in AI project development?
(iii) Define a class to accept a 3 digit number and check whether it is a duck number or not. Note: A
number is a duck number if it has zero in it
Example1: Input: 2183 Output: Invalid Example 2: Input: 103 Output: Duck number
*****
SHS/IX ROB&AI/ Page 4 of 4