O Level Computer Science 2210 · Area 1 · Computer systems

Robotics: characteristics and roles

Robotics is the branch of computer science concerned with designing, building and operating robots, and a robot is defined by three characteristics: a mechanical structure, electrical components such as sensors, microprocessors and actuators, and being programmable. The roles section asks you to apply those ideas to industry, transport, agriculture, medicine, domestic settings and entertainment, weighing what a robot gains and what it costs in each. Marks are lost by describing any automatic machine as a robot, and by giving advantages of robots in general instead of advantages of robots doing that job.

Not started

Syllabus coverage

  • Understand what is meant by robotics: a branch of computer science that incorporates the design, construction and operation of robots
  • Give examples of robots, including factory equipment, domestic robots and drones
  • Describe the characteristics of a robot, including a mechanical structure or framework
  • Describe the electrical components of a robot, including sensors, microprocessors and actuators
  • Explain why a robot must be programmable, and how a change of program gives it a different task
  • Understand the roles that robots can perform in industry, transport, agriculture, medicine, domestic settings and entertainment
  • Describe the advantages and disadvantages of using robots for a given role

Part of the O Level Computer Science syllabus 2210.

What makes a machine a robotA robot is a machine that can be programmed to carry out a task, with sensors and a structure that lets it act.Advantages and disadvantages must be given for the specific role in the question.A robot hasa mechanical structureelectrical components such as sensorsa programmable control systemThe programme, not the shape, decides what it doesRoles- assembly and welding- warehouse picking- surgery and inspection- exploring where people cannot
A robot arm with its characteristics labelled: the mechanical structure or framework of joints and links, sensors, the control system that runs the program, and the power supply, with three roles of robots listed beside it in industry, medicine and domestic settings.

What robotics is

Robotics is a branch of computer science that incorporates the design, construction and operation of robots. All three words matter: robotics is not only the building of a machine but the whole cycle of designing it, putting it together and running it.

The syllabus gives three examples to hold on to: factory equipment such as an arm on a production line, domestic robots such as a machine that cleans floors on its own, and drones, which fly and carry cameras or sensors. These are not the only robots, but they show the range: one is fixed in place, one moves around a home, and one moves through the air.

Robotics sits inside computer science rather than mechanical engineering because the behaviour of the machine is decided by a program. The structure and the motors give a robot the ability to act; the program decides what it does and when.

Learn the definition word for word: a branch of computer science that incorporates the design, construction and operation of robots. Definitions are marked exactly, and this one is short enough to remember.

Characteristic 1: a mechanical structure or framework

A robot has a mechanical structure or framework: a physical body, made of parts that can move, which allows it to carry out actions in the world. The structure might be an arm on a fixed base, a wheeled chassis, a set of legs, or the frame and rotors of a drone.

The structure is what separates a robot from software. A program that decides what to do is not a robot; the robot is the thing that does it, and it needs joints, links and moving parts to do it. The structure also limits what the robot can do: an arm fixed to a bench cannot go to another room, and a wheeled robot cannot climb stairs.

The moving parts are driven by actuators, usually motors. The structure holds the actuators, the sensors and the microprocessor together in the arrangement that lets the robot do its job.

Characteristic 2: electrical components

Inside the structure are electrical components: sensors, a microprocessor and actuators. Their jobs are the same as in any automated system, but in a robot they are carried on the moving body.

The sensors tell the robot about its surroundings and about itself: how far away an object is, how much light there is, whether the body is tilted, how far a joint has turned, where it is on a map. The microprocessor runs the robot's program, takes the readings, decides what to do next and sends signals to the actuators. The actuators move the joints, turn the wheels or spin the rotors, so the decision becomes movement.

A robot also needs a power supply, usually a battery for a mobile robot or a mains connection for one fixed in place, and a way of communicating if it is controlled or monitored from elsewhere. On a diagram of a robot you should be able to label the structure, a sensor, the microprocessor or control system, an actuator and the power supply.

ComponentWhat it does in the robot
Mechanical structure or frameworkThe body of moving parts that lets the robot act physically in the world
SensorsReport on the surroundings and on the robot's own position, such as distance, light, tilt or joint angle
Microprocessor and control systemRuns the program, processes the sensor readings and decides what the robot should do next
ActuatorsConvert signals into movement, driving the joints, wheels or rotors
Power supplyProvides the energy, a battery in a mobile robot or mains power in a fixed one
Do not confuse the control system with the power supply. The control system decides; the power supply enables. A robot with a flat battery has a working control system and still cannot move.

Characteristic 3: it is programmable

A robot is programmable: it follows a set of instructions that can be written and changed, so the same machine can be given a different job by changing its program rather than by rebuilding it.

This is the characteristic that separates a robot from an ordinary machine. A washing machine has a motor, a drum and a controller, and it follows a sequence, but that sequence is fixed by the manufacturer and cannot be rewritten to make it do something else. A robot arm, by contrast, can be taught a new set of movements and will then perform a different task on the same structure.

Programmability is also what makes a robot flexible enough to be worth its cost. A production line that is going to make a different product next year can have its robots reprogrammed rather than replaced, and a research robot can be given a new behaviour without new hardware.

  • A mechanical structure or framework, so it can act physically in the world.
  • Electrical components: sensors to gather information, a microprocessor and control system to decide, actuators to move.
  • Programmable, so its instructions can be written and changed to give it a different task.

The roles robots perform

The syllabus lists six areas, and each one has a different reason for using a robot rather than a person.

In industry, robots weld, paint, assemble and move parts on production lines, and they handle materials in places that are unsafe for people. In transport, they move goods around warehouses, drive trains on fixed routes, and fly as drones for surveying or delivery. In agriculture, they sow, spray, weed and harvest, using sensors to tell a crop from a weed and to work a field precisely.

In medicine, a robotic arm assists in surgery, holding an instrument steady and moving it in smaller increments than a hand can manage. In domestic settings, robots vacuum floors, cut grass and carry out routine household tasks. In entertainment, they appear in films and theme parks, and drones film from viewpoints a camera operator could not reach.

Notice the pattern: robots are used where the work is repetitive, dangerous, or needs a precision or a viewpoint that a person cannot sustain. Those three reasons will answer most questions about why a robot is used for a particular role.

AreaRole the robot performsWhy a robot suits it
IndustryWelding, painting, assembling and moving parts on a production lineThe work is repetitive and must be identical every time, and some of it is dangerous
TransportMoving goods in warehouses, driving on fixed routes, flying drones for survey or deliveryRoutes are known and repeatable, and the vehicle can work without a driver
AgricultureSowing, spraying, weeding and harvesting, guided by sensorsLarge areas need work for long hours, and precision reduces wasted spray
MedicineAssisting in surgery by holding and moving instrumentsMovements must be steadier and smaller than a hand can reliably make
Domestic settingsVacuuming floors, cutting grass and routine household tasksThe task is repetitive and takes time that the occupant would rather spend elsewhere
EntertainmentAppearing in films and theme parks; filming from the air with dronesThe action or viewpoint is one a person cannot perform or reach
Name the area, the task and the reason. 'Robots are used in medicine because they are accurate' is weak; 'a robotic arm holds an instrument steady and moves it in smaller steps than a hand, so the surgeon can work with more precision' is an answer.

Advantages of using robots

The advantages follow from what a robot is: a programmable machine that does not tire and does not need to be persuaded.

A robot works consistently, producing the same result every time, which matters where quality has to be uniform. It works continuously, without breaks, meals or shifts, and it does not lose concentration towards the end of a long task. It can work in dangerous or hostile conditions — extreme heat, toxic atmospheres, deep water, a vacuum, or alongside heavy machinery — where a person could not safely be. It can be more precise than a person, both in the accuracy of a movement and in the repetition of it. It reduces the cost of labour for the work it takes over, and it can increase productivity, because a task that a person does slowly can be done faster and without stopping.

Disadvantages of using robots

The disadvantages are just as real, and a one-sided answer loses marks.

Robots are expensive to design, buy and install, and the cost has to be justified by the work they do. They need skilled staff to program, calibrate and maintain them, and those skills are themselves costly. They take over work that people used to do, so jobs are lost in that area, and the people affected may not have the skills for the new maintenance roles. They cannot deal with the unexpected: an object in an unusual position, a damaged part or a situation outside the program will stop the process or cause a wrong action, because a robot has no judgement to fall back on. A robot that malfunctions while working near people is a safety risk, which is why industrial robots work inside guarded cells. And a robot needs a power supply; a mobile robot that runs out of charge stops where it is.

AdvantageDisadvantage
Produces the same result every timeCannot vary its behaviour when something is out of the ordinary
Works continuously without breaks or loss of concentrationNeeds a reliable power supply, and a mobile robot must be recharged
Can work in conditions that would harm a personThe equipment built for those conditions is expensive to buy and repair
More precise and repeatable than a personVery high purchase and installation cost
Reduces the cost of labourRemoves jobs, and needs expensive skilled staff to maintain it
Can raise productivityA malfunction near people is a safety risk, and there is no judgement to notice a mistake
For a role question, give the advantage and disadvantage that belong to that role. A surgical robot's advantage is precision and a smaller cut; a welding robot's is identical welds at speed. Swapping them shows you have not thought about the setting.

Robots, automated systems and ordinary machines

Examiners like the boundary between these three, so be able to state it plainly.

An automated system measures, compares and acts in a loop, but it need not have a body that moves or be reprogrammable: a central heating controller is an automated system. A robot has all of that plus a mechanical structure it moves, and it is programmable. An ordinary machine, such as a washing machine or a toaster, may contain a microprocessor and motors, but its sequence is fixed and its body performs one narrow task, so it is neither a robot nor a general automated system.

The test is therefore two questions: does it have a mechanical structure that carries out physical actions, and can its instructions be changed to give it a different job? If both answers are yes, it is a robot.

Mechanical structure that actsProgrammableUses sensors and a microprocessor
Ordinary machine (washing machine)Yes, but one fixed actionNo: the sequence is fixedUsually yes
Automated system (heating controller)No: it switches a separate deviceNot usuallyYes
Robot (arm, floor cleaner, drone)Yes, and it moves to carry out varied tasksYesYes

Key terms you must be able to define

Robotics
A branch of computer science that incorporates the design, construction and operation of robots. Examples include factory equipment, domestic robots and drones.
Robot
A programmable machine with a mechanical structure or framework and electrical components, including sensors, microprocessors and actuators, that carries out physical tasks.
Mechanical structure
The physical body or framework of a robot, made of parts that can move, which allows it to carry out actions in the world.
Actuator
A component that converts a signal from the control system into movement, driving a joint, a wheel or a rotor.
Control system
The microprocessor and program that process sensor readings, decide what the robot should do and send signals to the actuators.
Programmable
Able to follow a set of instructions that can be written and changed, so the same machine can be given a different task by changing its program rather than being rebuilt.
Drone
An unmanned aircraft that flies under remote or program control, often carrying a camera or sensors, and is one of the examples of a robot given in the syllabus.
End effector
The part fitted to the end of a robot arm that does the work, such as a gripper, a welding torch, a spray nozzle or a surgical instrument.

In context

2210 sets its questions inside systems a student already uses - a school network, a phone, a supermarket till, a vending machine, a website. These show how the theory is applied to a context you have not seen before, then you answer for the system you are given.

A welding arm on a production line

The arm has a mechanical structure of joints and links, bolted to the floor beside the line. Proximity sensors confirm that a body shell is in position before each cycle, a microprocessor runs the stored program of movements, and actuators at each joint move the torch along the seam. Because it is programmable, the same arm can be given a new set of movements when the factory changes model. The advantage is an identical weld, at the same speed, all shift. The disadvantage is that a shell presented at the wrong angle is outside the program, so the arm stops and a person has to correct it.

A floor-cleaning robot in a home

A low disc with a bump sensor, distance sensors, a microprocessor and two motor-driven wheels. It follows a program that moves it across the floor and turns it away from obstacles, and it returns to its charger when the battery falls below a stored level. It is a robot because it has a structure that moves, electrical components that sense and decide, and a program that could be changed. The advantage is that the floor is cleaned without anyone doing it. The disadvantage is that a cable, a pet or an unusual obstacle can defeat it, and it cannot judge how clean the floor actually is.

A surgical robot

A robotic arm under the surgeon's control holds an instrument and moves it in very small, steady increments, with sensors reporting the position of the instrument and the microprocessor filtering out any tremor from the surgeon's hand. Its precision is the point: smaller movements mean smaller cuts and a quicker recovery. The disadvantages are the cost of the equipment, the training the surgical team needs, and the fact that the surgeon is still wholly responsible for the decisions, because the machine has no judgement of its own.

A drone surveying a field

A drone is a robot that flies: a frame with rotors, a battery, sensors for position and height, a camera, and a microprocessor that keeps it stable and follows a programmed route over the field. It covers ground that would take a person hours to walk, and it carries a camera to a viewpoint that a person could not reach. The disadvantages are the limited battery life, the cost of the equipment, and the fact that a fault in flight puts the machine and anything beneath it at risk.

A robot in a warehouse

A wheeled robot carries shelves or containers between the storage area and the packing stations. It follows markers or a map, uses sensors to avoid people and other robots, and is given its route by a program. The advantage is that goods are moved continuously without a person walking the length of the building. The disadvantage is that a dropped item or a person standing in the wrong place can block it, and the whole system depends on the routes and markers being maintained.

Flashcards

Click a card to flip it. Mark honestly — the tracker uses this.

Q1What is robotics?
A branch of computer science that incorporates the design, construction and operation of robots.
Q2Give three examples of robots named in the syllabus.
Factory equipment, domestic robots and drones.
Q3What are the three characteristics of a robot?
A mechanical structure or framework; electrical components such as sensors, microprocessors and actuators; and it is programmable.
Q4Why does a robot need a mechanical structure?
Because it has to carry out physical actions in the world; the structure of moving parts is what lets the actuators move something real.
Q5What does the control system do in a robot?
It runs the program, processes the readings from the sensors, decides what the robot should do next and sends signals to the actuators.
Q6Why must a robot be programmable?
So that its instructions can be written and changed, allowing the same machine to be given a different task without being rebuilt.
Q7How does a robot differ from an automatic machine such as a washing machine?
A robot has a structure that carries out varied physical actions and can be reprogrammed for a different task; a washing machine follows a fixed sequence and cannot.
Q8Name three areas in which robots are used.
Any three of: industry, transport, agriculture, medicine, domestic settings, entertainment.
Q9Give two advantages of using robots.
Any two of: consistent results; continuous work without breaks; can work in dangerous conditions; greater precision; lower labour cost; higher productivity.
Q10Give two disadvantages of using robots.
Any two of: expensive to buy and install; need skilled staff to program and maintain; jobs are lost; cannot deal with the unexpected; a malfunction near people is a safety risk; they need a power supply.
Q11Why is a robotic arm useful in surgery?
It holds the instrument steady and moves it in smaller, more precise increments than a hand, so the cuts can be smaller and recovery quicker.
0 of 11 marked as known

Exam-style questions

7 questions, 25 marks. Write your answer and press Mark my answer — it is marked against the scheme and tells you which points you made and what would gain the next mark. You can still reveal the scheme and mark it yourself instead.

DefineAO11 mark
Define the term robotics.

Mark scheme — tick each point you actually made

Examiner tip: Use all three parts of the definition: design, construction and operation. A definition that says only 'making robots' is incomplete.
DescribeAO13 marks
Describe the characteristics of a robot.

Mark scheme — tick each point you actually made

Examiner tip: Three characteristics, three marks. Do not spend the answer on examples; the question asks what makes a machine a robot.
ExplainAO24 marks
A factory already has automatic machines that stamp metal parts. Explain why fitting a programmable robot arm to the line gives the factory more flexibility than the existing machines.

Mark scheme — tick each point you actually made

Examiner tip: Flexibility is about change. Say what can be changed (the program), what that allows (a new task) and what the alternative would cost (new tooling).
ExplainAO25 marks
A hospital uses a robot arm to assist a surgeon. Explain two advantages and two disadvantages of using the robot for this role.

Mark scheme — tick each point you actually made

Examiner tip: Five marks from five separate points. Two advantages and two disadvantages with a consequence each, plus one further disadvantage, fills the answer without repetition.
DescribeAO24 marks
A warehouse uses wheeled robots to carry containers from the storage area to the packing stations. Describe the role of these robots and give one advantage and one disadvantage of using them.

Mark scheme — tick each point you actually made

Examiner tip: Describe the role before weighing it. An advantage of 'warehouse robots' in general, with no link to moving containers, is too vague to credit.
EvaluateAO36 marks
A farm is considering using robots to sow, spray and harvest its fields. Evaluate the advantages and disadvantages of doing this.

Mark scheme — tick each point you actually made

Examiner tip: An evaluate answer needs more than a list. Finish with a judgement that says under what conditions the change is worthwhile, and why.
IdentifyAO12 marks
Identify two areas, other than industry, in which robots are used, and state one task a robot performs in each.

Mark scheme — tick each point you actually made

Examiner tip: Any two areas from transport, agriculture, medicine, domestic settings and entertainment would be accepted, but the task must match the area you name.

Exam technique for this topic

  • For the characteristics of a robot, give three separate points: a mechanical structure or framework, electrical components such as sensors, microprocessors and actuators, and that it is programmable. Each is a mark, and the third is the one most often forgotten.
  • When asked why a machine that is not a robot is not one, use the two tests: does it have a mechanical structure that carries out physical actions, and can its instructions be changed? A washing machine fails the second.
  • For a role question, name the area, the task and the reason the robot suits it. Then give one advantage and one disadvantage that could only belong to that role.
  • Do not say robots are more accurate than people without qualifying it. They are consistent and repeatable; a sensor fault still produces a confident wrong action.
  • Keep examples generic: a factory welding arm, a warehouse picking robot, a surgical arm, a domestic floor cleaner, a survey drone. Do not invent named products, companies or figures.

Why students lose marks here

A student wroteA student wrote: 'A robot is any machine that works automatically, such as a washing machine or a vending machine.'
Why it loses marksAutomatic is not the same as robotic. A washing machine follows a sequence fixed by its manufacturer and cannot be given a different job by rewriting its program, and its body carries out one narrow action rather than a range of physical tasks.
The answer that scoresA robot has three characteristics: a mechanical structure or framework that lets it act physically in the world, electrical components including sensors, microprocessors and actuators, and the ability to be programmed so that its instructions can be written and changed. A washing machine is an automatic machine, but it is not programmable in that sense.
A student wroteA student wrote: 'The characteristics of a robot are that it is fast, accurate and never makes mistakes.'
Why it loses marksThese are claims about performance, not characteristics, and the third is false. The syllabus characteristics are structural: a mechanical framework, electrical components, and programmability. A robot given a wrong instruction carries it out exactly.
The answer that scoresA robot has a mechanical structure or framework, electrical components such as sensors, microprocessors and actuators, and it is programmable. Speed and consistency may be advantages of using one, but they are consequences of those characteristics, not the characteristics themselves.
A student wroteA student wrote: 'Robots are better than people, so they should do every job.'
Why it loses marksThis ignores the disadvantages and the limits of what a robot can do. Robots cannot deal with situations outside their program, they are expensive to install and maintain, and they remove jobs. Many tasks need judgement that a program cannot supply.
The answer that scoresRobots are suited to work that is repetitive, dangerous or needs precision, because they are consistent, do not tire and can work in hostile conditions. They are less suited to work needing judgement, because they cannot handle anything outside their program; they are expensive to buy and maintain; and they replace workers. Whether to use one depends on the task.
A student wroteA student wrote: 'A robot in a hospital is an advantage because it is cheaper than a surgeon.'
Why it loses marksThis misstates the role. A surgical robot does not replace the surgeon: the surgeon controls it. Its advantage is steadier, more precise movement, giving smaller cuts and a quicker recovery, and its disadvantages include very high cost and the training the team needs.
The answer that scoresA surgical robot is controlled by the surgeon and holds the instrument steady, filtering out tremor and allowing smaller movements, so the cuts can be smaller and recovery quicker. It is not cheaper than a surgeon and does not make the decisions; the surgeon remains responsible, and the equipment and training are expensive.

Where this fits in O Level Computer Science 2210

This page is one topic of Cambridge O Level Computer Science 2210. O Level Computer Science 2210 is the course home: every area and every topic in Cambridge's own order, the papers you sit and what each one tests, and the exam-practice tools. The full topic list, with each topic linked to its revision page, is on the O Level Computer Science 2210 syllabus page.