Select the field in which the following robots are used.

- Agriculture
- Warehouse
- Electric Car
- Entertainment
Answer
Warehouse
Reason — The robot shown is used for tasks such as storing, picking, sorting, and transporting goods, which are operations carried out in warehouses.
Which of the following is an example of probabilistic computing?
- Time tables
- Maps
- Report cards
- Weather forecast
Answer
Weather forecast
Reason — Weather forecasting is based on probability, as it predicts future weather conditions using data, patterns, and likelihood rather than giving exact or fixed results.
Which of the following statements about cobots is true?
- Cobots eliminate the need for human presence
- Cobots work collaboratively with humans
- Cobots are used only in educational settings
- Cobots are outdated technology
Answer
Cobots work collaboratively with humans
Reason — Cobots (collaborative robots) are designed to work together with humans by assisting them in tasks while ensuring safety, cooperation, and shared control, rather than replacing human presence.
Tinkercad can be used to design and simulate the motion of a simple robotic system, such as a wheeled mobile robot.
- True
- False
Answer
True
Reason — Tinkercad is used to visualise, design, and simulate robotic components and their motion, including simple robotic systems such as wheeled mobile robots.
Consider the following block diagram of a control system in a robot:
[Input] → [Controller] → [Robot] → [Feedback]
Which component of this system is responsible for making decisions based on sensor data?
- Input
- Robot
- Controller
- Feedback
Answer
Controller
Reason — The controller is responsible for making decisions based on sensor data, as it receives input through feedback, processes the information, and sends control signals to operate the robot accordingly.
What is the function of actuators in a robotic system?
- To process data from sensors
- To control the power supply to the robot
- To convert electrical signals into physical movement
- To regulate the temperature within the robot
Answer
To convert electrical signals into physical movement
Reason — Actuators are devices such as motors and hydraulic systems that receive electrical signals and convert them into mechanical motion, enabling the robot to move and perform actions.
Which of the following character is used to give a single line comment in Python?
- //
- #
- !
- /*
Answer
#
Reason — In Python, the hash symbol (#) is used to write a single-line comment, which is ignored by the Python interpreter during program execution.
Camera is an example of:
- Pressure Sensor
- Vision Sensor
- Solar Sensor
- Motion Sensor
Answer
Vision Sensor
Reason — A camera is used to capture images and visual information from the surroundings, which helps a robot see and interpret its environment, therefore, it is classified as a vision sensor.
Which of the following expressions is the correct option for ab?
- a*b
- a**b
- a^b
- a^*b
Answer
a*b
Reason — In Python, the symbol * is the multiplication operator used to multiply two variables, so a*b correctly represents the product of a and b.
Which statement about single-board computers in robotics is correct?
- Single-board computers are only used for power supply in robotic systems.
- Single-board computers cannot process sensor data.
- Single-board computers are used to control the operations of a robotic system.
- Single-board computers are not suitable for use in wheeled mobile robots.
Answer
Single-board computers are used to control the operations of a robotic system.
Reason — Single-board computers act as the controller of a robotic system. They process sensor data and control the functioning and operations of the robot, including movement and decision-making.
In the context of machine learning, what is the role of data?
- To execute pre-defined instructions.
- To provide examples for machine learning and predictions.
- To store the robot’s programming code.
- To manage and direct the robot's movements.
Answer
To provide examples for machine learning and predictions.
Reason — In machine learning, data is used to train and test models by providing examples from which machines learn patterns and make predictions, rather than following fixed, pre-defined instructions.
The motor in a robot works as a/an:
- Actuator
- Sensor
- End effector
- Controller
Answer
Actuator
Reason — A motor converts electrical signals into mechanical movement, helping the robot move or perform actions, therefore, it functions as an actuator.
Which statement best describes the Turing Test?
- It measures the speed of a computer.
- It evaluates a machine's intelligence.
- It tests human memory capacity.
- It determines a person's IQ score.
Answer
It evaluates a machine's intelligence.
Reason — The Turing Test checks whether a machine can exhibit human-like behaviour, that is, whether its responses are indistinguishable from those of a human during interaction.
What is the primary goal of cybersecurity?
- To increase computer speed
- To protect data from unauthorised access
- To reduce software development time
- To enhance user interface design
Answer
To protect data from unauthorised access
Reason — The primary goal of cybersecurity is to protect data and systems from unauthorised access, misuse, and threats, ensuring the safety and security of information.
Assertion (A): The Turing Test helps in evaluating the intelligence of a machine.
Reason (R): The Turing Test checks if a machine can exhibit human-like behavior.
- Both A and R are true, and R is the correct explanation of A
- Both A and R are true, but R is not the correct explanation of A
- A is true, but R is false
- A is false, but R is true
Answer
Both A and R are true, and R is the correct explanation of A
Reason — The Turing Test is used to evaluate a machine’s intelligence by checking whether it can exhibit human-like behaviour that is indistinguishable from a human during interaction.
What are the 4 Ws used for understanding a problem in AI project scoping?
- Who, What, When, Where
- Why, When, Where, What
- Who, What, Where, Why
- Who, Where, When, Why
Answer
Who, What, Where, Why
Reason — The 4 Ws Problem Canvas is used in AI project scoping to understand a problem by identifying Who is affected, What the problem is, Where it occurs, and Why it needs to be solved.
What type of graph is shown in the image?

- Line graph
- Bar graph
- Pie chart
- Scatter plot
Answer
Pie chart
Reason — A pie chart represents data as slices of a circle, where each slice shows the proportion of a category relative to the whole.
What does the following code output?
string = "Hello World"
print(string[1:5])- "Hell"
- "ello"
- "World"
- "Hello"
Answer
"ello"
Reason — In Python, string slicing returns characters from the starting index up to the ending index minus one. Therefore, string[1:5] extracts the characters at index positions 1, 2, 3, and 4, which are e, l, l, and o, and hence the output is "ello".
The full form of IDLE is:
- Integrated Development and Language Environment.
- Integrated Development and Learning Environment.
- Inline Development and Learning Environment.
- Inside Development and Language Environment.
Answer
Integrated Development and Learning Environment.
Reason — IDLE stands for Integrated Development and Learning Environment and is used as a programming environment in Python to write, execute, and debug programs in interactive and script modes.
Which operation can be performed on both lists and tuples?
- Append elements
- Insert elements
- Access elements
- Delete elements
Answer
Access elements
Reason — Both lists and tuples allow accessing their elements using index values, whereas operations like appending, inserting, or deleting elements are not permitted in tuples because they are immutable.
What are some features of smart home robotic systems?
Answer
The features of smart home robotic systems are as follows:
- Automated control of lighting.
- Automated control of temperature.
- Automated control of home appliances.
- Security monitoring.
- Energy efficiency management.
- Remote access and control using smart devices.
Cobots are becoming increasingly important in industries where human-robot collaboration can enhance productivity and safety. For example, in manufacturing, cobots can perform repetitive tasks while humans handle more complex and decision-making tasks, leading to more efficient workflows.
With reference to the above, mention two benefits of using cobots in manufacturing.
Answer
Two benefits of using cobots in manufacturing are increased productivity and enhanced worker safety. Cobots handle repetitive and physically demanding tasks efficiently, which reduces human fatigue and allows workers to focus on complex and decision-making activities, while their built-in safety features ensure safe human-robot collaboration.
Explain the role of gears in robotic systems.
Answer
Gears play an important role in robotic systems by transmitting motion and power from one component to another. They help in changing the speed, torque, and direction of motion, allowing the robot to move smoothly and perform tasks efficiently.
Differentiate between Data and Information.
Answer
The difference between data and information is as follows:
| Data | Information |
|---|---|
| Raw facts | Processed facts |
| Does not have meaning | Is meaningful |
| Does not have context | Has context |
Outline the steps involved in machine learning.
Answer
The steps involved in machine learning are:
- Problem definition
- Data collection
- Data preprocessing
- Model selection
- Training the model
- Evaluation and validation
- Deployment and monitoring
What is the Turing Test, and what role does it play in AI?
Answer
The Turing Test is a test used to determine whether a machine can exhibit intelligent behaviour similar to that of a human. It plays an important role in artificial intelligence by evaluating a machine’s intelligence based on its ability to produce responses that are indistinguishable from those of a human during interaction.
What is problem scoping in the context of an AI project?
Answer
Problem scoping in the context of an AI project refers to the process of understanding and defining the problem, identifying the factors influencing it, and setting clear goals for the project. It involves analysing the problem using the 4 Ws (Who, What, Where, Why) to clearly outline what needs to be solved before building an AI solution.
What will be the output of the code given below:
my_list = [10, 20, 30, 40, 50]
print("The number is ", my_list[-2])Answer
The number is 40
In Python, negative indexing is used to access elements from the end of a list. The index -1 refers to the last element, and -2 refers to the second last element. In the list [10, 20, 30, 40, 50], the second last element is 40, so it is printed.
What will be the output of the code given below:
import numpy as np
arr = np.array([1, 2, 3, 4, 5])
print(arr[2])Answer
3
In a NumPy array, indexing starts from 0. Therefore, arr[2] accesses the element at index position 2, which is 3.
What will be the output of the code given below:
text = "Python Programming"
print(text[7:])Answer
Programming
In Python, if the ending index is not mentioned in string slicing, the slice returns characters from the starting index up to the end of the string. Here, text[7:] starts from index 7 and returns all characters till the end, resulting in Programming.
How do assistant robots in healthcare improve patient care? Provide two specific examples.
Answer
Assistant robots in healthcare improve patient care by performing routine tasks and supporting patients, which allows healthcare professionals to focus on more critical medical duties and improves overall efficiency.
Examples:
Medication delivery: Robots deliver medicines to patients, ensuring timely administration and reducing the workload of nursing staff.
Patient monitoring: Robots equipped with sensors continuously monitor patients vital signs and alert medical staff if any abnormalities are detected.
What are the main differences between subjective decision making by humans and objective decision making by machines?
Answer
Subjective decision making by humans depends on personal judgement, emotions, intuition, and past experiences, so it can vary between individuals.
Objective decision making by machines relies on data and algorithms, producing consistent and repeatable results for the same input and does not involve emotions.
Write a Python program to plot a bar chart using the Matplotlib library. Your program should:
- Import the necessary libraries.
- Create a list of categories and their corresponding values.
- Plot a bar chart with appropriate labels and a title.
Answer
import matplotlib.pyplot as plt
categories = ['A', 'B', 'C', 'D', 'E']
values = [5, 7, 3, 8, 6]
plt.bar(categories, values)
plt.xlabel('Categories')
plt.ylabel('Values')
plt.title('Category-wise Performance Analysis')
plt.show()Output

Explain the key differences between traditional industrial robots and cobots. Why are cobots considered more suitable for collaborative tasks?
Answer
Differences between traditional industrial robots and cobots:
Traditional industrial robots operate in isolated environments and are mainly used for repetitive, high-speed tasks. They require safety barriers to prevent human interaction during operation. They can perform heavy-duty tasks at fenced-off areas.
Cobots (collaborative robots) are designed to work alongside humans without safety barriers. They are equipped with sensors and safety features that allow safe human-robot interaction and do not require strict isolation. They are lightweight, flexible and easy to reprogram.
Cobots are more suitable for collaborative tasks because they are designed to work alongside humans safely, assisting them in tasks where human involvement and supervision are required. They focus on cooperation, involvement, and safety, making them ideal for environments where humans and robots share the workspace.
Describe the steps involved in a machine learning project using the example of fruit sorting.
Answer
The steps involved in a machine learning project using the example of fruit sorting are:
- Data collection: Collect images of different fruits such as apples, bananas, and oranges.
- Data preparation: Label the images and preprocess them to make the data suitable for analysis.
- Feature extraction: Identify features such as colour, shape, and size of fruits.
- Model training: Train a machine learning model using the prepared and labelled data so that it can learn patterns.
- Model testing: Test the trained model using new fruit images to check its accuracy.
- Deployment: Use the trained model in a real-time system to automatically sort fruits based on their features.
Create a user defined function isPrime() to accept a number and returns True if number is prime otherwise False. (A number is said to be prime if it is only divisible by itself and 1)
Answer
def isPrime(n):
if n <= 1:
return False
for i in range(2, n):
if n % i == 0:
return False
return TrueDefine the role of sensors in robotics. Differentiate between internal and external sensors with examples.
Answer
Sensors act as the "sense organs" of a robot. They detect changes in the robot’s surroundings or inside the robot (like distance, light, sound, temperature, pressure, position, etc.) and convert this information into electrical signals. The robot’s controller uses these signals to make decisions and control actions, such as navigation, obstacle avoidance, safety, and accurate movement.
| Internal Sensors | External Sensors |
|---|---|
| Internal sensors measure the internal state of the robot. | External sensors detect the external environment and surroundings. |
| Examples: Position sensors, velocity sensors, motor encoders, gyroscope, accelerometer. | Examples: Camera (vision sensor), ultrasonic sensor, infrared (IR) sensor, temperature sensor, touch sensor. |
List three ethical issues related to cybersecurity.
Answer
Three ethical issues related to cybersecurity are:
- Unauthorised access to computer systems
- Theft of software and intellectual property
- Data privacy violation
A library charges fine according to the number of days a book returned late, according to the following criteria.
| Days | Fine per day |
|---|---|
| First 10 days | Rs. 1 |
| Next 10 days | Rs. 2.5 |
| Beyond 20 days | Rs.5 |
Write a program to enter the number of days a book was returned late and print the fine to be paid.
days = int(input("Enter number of days late: "))
if days <= 10:
fine = days * 1
elif days <= 20:
fine = 10 * 1 + (days - 10) * 2.5
else:
fine = 10 * 1 + 10 * 2.5 + (days - 20) * 5
print("Fine to be paid:", fine)Enter number of days late: 25
Fine to be paid: 60.0
Explain the use of Tinkercad in designing robotic components. What are the advantages of visualising motion using Tinkercad?
Answer
Use of Tinkercad in designing robotic components:
Tinkercad is an online tool used to visualise, design, and create robotic components. It provides a 3D design environment where components such as joints, gears, and mechanisms can be designed and assembled. Tinkercad also allows users to simulate robotic systems, helping in better understanding of how different components work together.
Advantages of visualising motion using Tinkercad:
- Helps in understanding the movement and interaction of robotic components
- Allows error detection and correction before actual construction
- Makes learning interactive and cost-effective
- Enables safe testing and debugging of designs
- Helps students visualise motion before building the real robot
Explain how the phenomenon of hacking can lead to data theft and what measures can be implemented to prevent it.
Answer
Hacking is the act of gaining unauthorised access to computer systems or networks. Through hacking, attackers can steal sensitive information such as personal data, passwords, bank details, and confidential files, leading to data theft and misuse of information.
Measures to prevent hacking and data theft:
- Using strong and unique passwords
- Implementing multi-factor authentication
- Regularly updating software and operating systems
- Using encryption to protect data
- Installing and updating antivirus and security software
- Avoiding suspicious links and untrusted websites
Write a Python program that performs the following operations on a list of integers:
- Create a list of integers: [10, 20, 30, 40, 50].
- Append the integer 60 to the list.
- Insert the integer 25 at index 2.
- Sort the list in ascending order.
- Search for the integer 30 in the list and print its index.
- Print the final list.
numbers = [10, 20, 30, 40, 50]
numbers.append(60)
numbers.insert(2, 25)
numbers.sort()
index_30 = numbers.index(30)
print("Index of 30:", index_30)
print("Final list:", numbers)Index of 30: 3
Final list: [10, 20, 25, 30, 40, 50, 60]
Explain the importance of integrating sensors, actuators, and controllers in a robotic system.
Answer
Integrating sensors, actuators, and controllers is important in a robotic system because it allows the robot to perceive its environment, make decisions, and perform actions. Sensors gather data from the surroundings, the controller processes this data and decides the appropriate response, and actuators carry out the required movements. This integration ensures that the robot can operate efficiently and autonomously.
Explain the importance of defining the problem statement in an AI project. How does it impact the project's success?
Answer
Defining the problem statement is important because it sets the direction for the entire AI project. It helps in clearly understanding the problem to be solved, identifying the objectives, and defining the goals of the project.
A well-defined problem statement impacts the project’s success by keeping the project focused and relevant. It ensures that the AI solution is developed to solve the right problem effectively, thereby increasing the chances of successful project implementation.
Write a Python program that performs the following operations on a tuple:
- Create a tuple with the elements: (5, 10, 15, 20, 25).
- Access and print the element at index 2.
- Convert the tuple into a list.
- Append the integer 30 to the list.
- Convert the list back into a tuple.
- Print the final tuple.
numbers_tuple = (5, 10, 15, 20, 25)
element = numbers_tuple[2]
print("Element at index 2:", element)
numbers_list = list(numbers_tuple)
numbers_list.append(30)
final_tuple = tuple(numbers_list)
print("Final tuple:", final_tuple)Element at index 2: 15
Final tuple: (5, 10, 15, 20, 25, 30)
Describe the process of building a simple wheeled mobile robot and mention the key components involved.
Answer
Process of building a simple wheeled mobile robot:
Design the frame (chassis) – Construct a sturdy base to hold all the components of the robot.
Install wheels and motors – Attach wheels to the chassis and connect them to DC motors for movement.
Integrate sensors – Add sensors to help the robot detect obstacles and navigate its surroundings.
Add the controller – Install a microcontroller to process sensor data and control the motors.
Provide power supply – Connect a battery to supply power to the controller, motors, and sensors.
Program the robot – Write and upload the program to define how the robot should move and respond to inputs.
Key components involved:
- Frame or chassis
- Wheels and DC motors
- Sensors (e.g., ultrasonic sensor)
- Controller (microcontroller)
- Battery / power supply
- Connecting wires and hardware tools
List and briefly describe three different ways of representing data visually.
Answer
Bar graph – Represents categorical data using rectangular bars, where the height of each bar shows the value or frequency of a category.
Line graph – Shows trends or changes over time by connecting data points with a continuous line.
Pie chart – Represents data as slices of a circular pie, where each slice shows the proportion of a category in the whole dataset.
Write a Python program that performs the following operations on a string:
- Create a string with the value "Artificial Intelligence".
- Convert the entire string to uppercase and print the result.
- Find and print the position of the substring "Intelligence" within the string.
- Replace the substring "Artificial" with "Machine" and print the new string.
- Check if the string starts with "Machine" and print the result (True/False).
- Count and print the number of occurrences of the letter 'i' in the string.
original_string = "Artificial Intelligence"
uppercase_string = original_string.upper()
print("Uppercase string:", uppercase_string)
position = original_string.find("Intelligence")
print("Position of 'Intelligence':", position)
new_string = original_string.replace("Artificial", "Machine")
print("New string:", new_string)
starts_with_machine = new_string.startswith("Machine")
print("Starts with 'Machine':", starts_with_machine)
count_i = original_string.count('i')
print("Number of occurrences of 'i':", count_i)Uppercase string: ARTIFICIAL INTELLIGENCE
Position of 'Intelligence': 11
New string: Machine Intelligence
Starts with 'Machine': True
Number of occurrences of 'i': 4