ROS provides tools, libraries, and communication methods for building robot applications.
Incorrect! Try again.
18What is a node in ROS?
Introduction to ROS (Robot Operating System)
Easy
A.A complete operating system that must control every robot component alone
B.A type of rechargeable battery
C.A physical joint in a robot
D.A program that performs a task
Correct Answer: A program that performs a task
Explanation:
A ROS node is an executable program that performs a particular task and can communicate with other nodes.
Incorrect! Try again.
19What is the purpose of a Human–Robot Interface?
HumanâRobot Interface basics
Easy
A.To prevent human users from observing or controlling the robot
B.To replace all robot actuators
C.To increase the robot's physical weight
D.To support communication between people and robots
Correct Answer: To support communication between people and robots
Explanation:
A Human–Robot Interface allows a person to give commands to a robot and receive information from it.
Incorrect! Try again.
20Which device can be part of a Human–Robot Interface?
HumanâRobot Interface basics
Easy
A.Wheel axle
B.Structural bracket
C.Touchscreen
D.Gear train
Correct Answer: Touchscreen
Explanation:
A touchscreen can display robot information and allow users to enter commands.
Incorrect! Try again.
21A mobile robot must maintain a constant wheel speed while moving from a smooth floor onto a carpet. Which control approach is most suitable?
Open-loop and closed-loop control
Medium
A.Adjust motor voltage using measured wheel speed
B.Apply a fixed motor voltage based on prior testing
C.Increase motor voltage at fixed time intervals
D.Set the motor voltage once before movement
Correct Answer: Adjust motor voltage using measured wheel speed
Explanation:
Closed-loop control compares measured speed with the desired speed and adjusts the motor voltage to compensate for disturbances such as increased carpet friction.
Incorrect! Try again.
22A robot arm uses a timer to run its motor for two seconds whenever it must rotate approximately . What is the main limitation of this open-loop method?
Open-loop and closed-loop control
Medium
A.It cannot compensate for changes in load or friction
B.It requires an encoder with extremely high resolution
C.It always consumes more power than feedback control
D.It continuously corrects errors caused by disturbances
Correct Answer: It cannot compensate for changes in load or friction
Explanation:
The controller does not measure the actual joint angle, so load, voltage, and friction changes can produce positioning errors.
Incorrect! Try again.
23In a negative-feedback position controller, the reference angle is and the measured angle is . If error is defined as reference minus measurement, what error should be supplied to the controller?
Feedback systems
Medium
A.
B.
C.
D.
Correct Answer:
Explanation:
The error is . A positive error tells the controller to increase the measured position toward the reference.
Incorrect! Try again.
24After replacing a robot's position sensor, the motor moves farther away from the target whenever an error occurs. What is the most likely cause?
Feedback systems
Medium
A.The sampling rate has become slightly faster
B.The reference signal has become smoother
C.The feedback sign has become positive
D.The sensor resolution has become higher
Correct Answer: The feedback sign has become positive
Explanation:
An incorrect feedback sign reinforces the error instead of reducing it, causing the system to move away from the target and potentially become unstable.
Incorrect! Try again.
25A proportional controller leaves a small constant position error when a robot joint holds a load. Which PID term is commonly added to reduce this steady-state error?
PID control (Introduction)
Medium
A.The proportional term
B.The feedforward term
C.The integral term
D.The derivative term
Correct Answer: The integral term
Explanation:
The integral term accumulates error over time and increases the control effort until a persistent steady-state error is reduced.
Incorrect! Try again.
26A PID controller uses . If , , , , , and , what is ?
PID control (Introduction)
Medium
A.
B.
C.
D.
Correct Answer:
Explanation:
Substitution gives .
Incorrect! Try again.
27A wheeled robot has an occupancy grid and must find a low-cost collision-free route to a known goal. Which algorithm is most appropriate?
Motion planning basics
Medium
A.A* search
B.PID control
C.Edge detection
D.Signal filtering
Correct Answer: A* search
Explanation:
A* searches possible paths while using a heuristic to guide the search toward the goal, making it suitable for grid-based motion planning.
Incorrect! Try again.
28Why is configuration space useful when planning the motion of a multi-joint robot arm?
Motion planning basics
Medium
A.It removes the need to model joint limits
B.It guarantees the shortest path in all cases
C.It converts every obstacle into a motor command
D.It represents each possible state using joint variables
Correct Answer: It represents each possible state using joint variables
Explanation:
A configuration-space point represents a complete set of joint values. Planning then becomes a search for a path through valid, collision-free configurations.
Incorrect! Try again.
29A service robot must switch among the behaviors Idle, Navigate, Deliver, and Recharge based on events. Which programming structure best organizes this behavior?
Robot programming concepts
Medium
A.A recursive sorting method
B.A finite-state machine
C.A fixed arithmetic expression
D.A static lookup table
Correct Answer: A finite-state machine
Explanation:
A finite-state machine represents distinct operating states and defines event-driven transitions between them, matching the robot's behavior requirements.
Incorrect! Try again.
30A robot's obstacle sensor is checked only after a long arm movement function finishes. Which design change would most improve responsiveness?
Robot programming concepts
Medium
A.Replace conditions with fixed movement sequences
B.Reduce the number of sensor readings stored
C.Use non-blocking tasks with periodic sensor checks
D.Place all commands inside one longer delay
Correct Answer: Use non-blocking tasks with periodic sensor checks
Explanation:
Non-blocking execution allows sensing and motion tasks to progress concurrently, so the robot can respond to obstacles before the arm movement completes.
Incorrect! Try again.
31A robotics team needs fast prototyping for computer-vision experiments and later requires high-performance motor-control code. Which language pairing is most appropriate?
Programming languages used in robotics
Medium
A.Python for prototyping and C++ for performance
B.C++ for prototyping and HTML for performance
C.SQL for prototyping and Python for performance
D.Assembly for prototyping and CSS for performance
Correct Answer: Python for prototyping and C++ for performance
Explanation:
Python supports rapid development and extensive vision libraries, while C++ offers efficient execution and greater low-level control.
Incorrect! Try again.
32Why is C or C++ commonly used to program microcontrollers in robots?
Programming languages used in robotics
Medium
A.It provides efficient hardware access and predictable execution
B.It guarantees that every program is free of errors
C.It eliminates the need for sensors and motor drivers
D.It automatically creates mechanical designs for robot links
Correct Answer: It provides efficient hardware access and predictable execution
Explanation:
C and C++ can access registers and peripherals directly while using memory and processing resources efficiently, which suits constrained embedded systems.
Incorrect! Try again.
33A wheel encoder generates brief pulses that must be counted even while the processor performs other calculations. Which embedded technique is most suitable?
Embedded programming basics
Medium
A.Use a hardware interrupt for each encoder pulse
B.Store a fixed pulse count before the robot moves
C.Read the encoder only when motion has stopped
D.Add a long delay after each motor command
Correct Answer: Use a hardware interrupt for each encoder pulse
Explanation:
An interrupt immediately invokes a short handler when a pulse arrives, reducing the chance of missing pulses during other processing.
Incorrect! Try again.
34A robot controller may occasionally freeze because of unexpected software faults. Which embedded feature can automatically reset it if normal execution stops?
Embedded programming basics
Medium
A.A voltage divider
B.A rotary encoder
C.A pull-up resistor
D.A watchdog timer
Correct Answer: A watchdog timer
Explanation:
Software must periodically reset the watchdog timer. If the program freezes and fails to do so, the watchdog triggers a system reset.
Incorrect! Try again.
35A robot needs precise microsecond-level pulse generation for a servo and high-level image processing. Which division of work is most appropriate?
Arduino and Raspberry Pi overview
Medium
A.Arduino performs both tasks without extra hardware
B.Raspberry Pi handles pulses; Arduino handles images
C.Raspberry Pi performs both tasks without an interface
D.Arduino handles pulses; Raspberry Pi handles images
Correct Answer: Arduino handles pulses; Raspberry Pi handles images
Explanation:
An Arduino provides predictable low-level timing, while a Raspberry Pi offers the processing power and operating system support needed for image processing.
Incorrect! Try again.
36Why might a Raspberry Pi running a standard Linux system be less suitable than an Arduino for directly generating strict real-time motor pulses?
Arduino and Raspberry Pi overview
Medium
A.Its programs cannot communicate with motor drivers
B.Operating-system scheduling can introduce timing variation
Correct Answer: Operating-system scheduling can introduce timing variation
Explanation:
Standard Linux scheduling may interrupt a user program unpredictably, causing timing jitter. A microcontroller generally provides more deterministic pulse timing.
Incorrect! Try again.
37In ROS, a camera node continuously sends images that several processing nodes need to receive independently. Which communication mechanism should be used?
Introduction to ROS (Robot Operating System)
Medium
A.Place the images in one parameter
B.Publish the images on a topic
C.Store the images in a launch file
D.Request each image through a service
Correct Answer: Publish the images on a topic
Explanation:
ROS topics support continuous publish-subscribe communication, allowing multiple subscriber nodes to receive the camera stream independently.
Incorrect! Try again.
38A ROS navigation command may take a minute, should report progress, and must support cancellation. Which ROS communication pattern is most suitable?
Introduction to ROS (Robot Operating System)
Medium
A.A topic
B.An action
C.A parameter
D.A launch argument
Correct Answer: An action
Explanation:
ROS actions are designed for long-running goals and support progress feedback, result reporting, and cancellation.
Incorrect! Try again.
39An operator remotely controls a robot near people. Which interface feature most directly improves safety during unexpected motion?
HumanâRobot Interface basics
Medium
A.A longer menu for motion settings
B.A faster animation for status updates
C.A clearly accessible emergency-stop control
D.A larger display for battery information
Correct Answer: A clearly accessible emergency-stop control
Explanation:
An emergency-stop control allows the operator to stop hazardous motion immediately and should be easy to identify and activate.
Incorrect! Try again.
40In a shared-control wheelchair, the user chooses the general direction while the robot avoids nearby obstacles. What is the main benefit of this interface?
HumanâRobot Interface basics
Medium
A.It guarantees successful travel in every environment
B.It combines user intent with autonomous safety assistance
C.It operates without sensors or environmental data
D.It removes all control decisions from the user
Correct Answer: It combines user intent with autonomous safety assistance
Explanation:
Shared control preserves the user's high-level intent while allowing the robot to modify commands to avoid hazards and improve safety.
Incorrect! Try again.
41A robot joint has plant transfer function and controller in unity negative feedback. A disturbance is added directly to the plant output. What is the closed-loop transfer function from to the measured output ?
Open-loop and closed-loop control
Hard
A.
B.
C.
D.
Correct Answer:
Explanation:
An output disturbance is attenuated by the sensitivity function . Large loop gain therefore improves low-frequency disturbance rejection.
Incorrect! Try again.
42A mobile robot uses wheel-encoder feedback to move exactly . On a slippery surface, its wheels rotate by the expected amount while the chassis travels only . Which modification most directly closes the loop around the actual controlled quantity?
Open-loop and closed-loop control
Hard
A.Add integral action to the wheel-speed loop
B.Use external pose estimation as position feedback
C.Increase the commanded wheel rotation proportionally
D.Increase the encoder-loop proportional gain
Correct Answer: Use external pose estimation as position feedback
Explanation:
Wheel encoders regulate wheel rotation, not world-frame displacement. External localization, such as vision or lidar-based odometry, measures the quantity affected by slip.
Incorrect! Try again.
43A discrete integrator satisfies . Because of a one-sample delay, the feedback law is . For constant , which range of makes the error dynamics asymptotically stable?
Feedback systems
Hard
A.
B.
C.
D.
Correct Answer:
Explanation:
The error satisfies , giving . The discrete-time Jury conditions require and .
Incorrect! Try again.
44A stable closed-loop position system contains integral action and measures , where is an unknown constant sensor bias. If the reference is constant and the actuator does not saturate, what steady-state true output should be expected?
Feedback systems
Hard
A.
B.
C.
D.
Correct Answer:
Explanation:
Integral action drives the measured error to zero. Thus , so the true output converges to rather than to .
Incorrect! Try again.
45For unity feedback, let and , with all three gains positive. Which additional condition is necessary and sufficient for asymptotic closed-loop stability?
PID control (Introduction)
Hard
A.
B.
C.
D.
Correct Answer:
Explanation:
The characteristic polynomial is . For this positive-coefficient cubic, the Routh condition is .
Incorrect! Try again.
46A PID-controlled robot arm is commanded far beyond its reachable angle, so the actuator remains saturated for several seconds. When the reference returns to a reachable value, the arm overshoots severely. Which modification most directly addresses the cause?
PID control (Introduction)
Hard
A.Increase derivative gain without filtering the measurement
B.Apply anti-windup using saturation-error back-calculation
C.Reduce sensor sampling while retaining the same gains
D.Add reference feedforward without limiting the integrator
Correct Answer: Apply anti-windup using saturation-error back-calculation
Explanation:
The integral term accumulates while the actuator cannot realize the requested command. Back-calculation or conditional integration prevents this stored integral from causing prolonged overshoot.
Incorrect! Try again.
47An A* planner uses path cost equal to terrain cost plus a nonnegative turning penalty. Every translational path segment costs at least units per meter. Which heuristic is guaranteed to be admissible and consistent when is Euclidean distance to the goal?
Motion planning basics
Hard
A.
B.
C.
D.
Correct Answer:
Explanation:
Any feasible path must cover at least the Euclidean distance and costs at least per meter. The triangle inequality also makes this heuristic consistent.
Incorrect! Try again.
48A differential-drive robot is planned by linearly interpolating between configurations . One interpolated edge translates the robot sideways while holding constant. What is the fundamental issue?
Motion planning basics
Hard
A.The edge is infeasible only when both wheels reverse
B.The edge violates the robot's nonholonomic velocity constraint
C.The edge is feasible whenever collision checking succeeds
D.The edge violates only the wheel acceleration limits
Correct Answer: The edge violates the robot's nonholonomic velocity constraint
Explanation:
A differential-drive robot cannot generate instantaneous lateral velocity. A valid local planner must construct admissible wheel controls or motion primitives rather than arbitrary configuration-space lines.
Incorrect! Try again.
49An interrupt updates a multiword encoder count and its timestamp, while the main control loop reads both values. Rarely, the loop obtains a new count with an old timestamp. Which design best guarantees a coherent pair on a small MCU?
Robot programming concepts
Hard
A.Copy both fields inside a brief critical section
B.Read each field twice and retain the larger value
C.Disable interrupts for the entire control computation
D.Declare both fields volatile and read them normally
Correct Answer: Copy both fields inside a brief critical section
Explanation:
A short critical section makes the snapshot atomic and internally consistent. volatile prevents certain compiler optimizations but does not provide multiword atomicity.
Incorrect! Try again.
50Navigation, teleoperation, and collision avoidance can each publish motor commands asynchronously. Which software architecture most reliably prevents stale or conflicting commands from reaching the actuators?
Robot programming concepts
Hard
A.Let each module write directly to the motor driver
B.Use one arbiter with priorities and command expirations
C.Execute modules in random order to avoid starvation
D.Average all commands received during each control cycle
Correct Answer: Use one arbiter with priorities and command expirations
Explanation:
A single command arbiter establishes ownership, applies safety priorities, and rejects expired commands. Independent actuator writers create races and undefined command precedence.
Incorrect! Try again.
51A robot performs vision-based planning and also runs a motor-current loop with a strict deadline. Which language allocation is generally the most defensible?
Programming languages used in robotics
Hard
A.Use Python for both loops with additional worker threads
B.Use shell scripts for planning and Python for current control
C.Use JavaScript for the current loop and C for visualization
D.Use Python for vision and C or C++ for the current loop
Correct Answer: Use Python for vision and C or C++ for the current loop
Explanation:
High-level languages are effective for orchestration and perception, while compiled systems languages offer tighter control over timing, allocation, and hardware access for high-rate loops.
Incorrect! Try again.
52A C++ perception node sends data to a Python planning node through a generated message interface. The planner occasionally misses its deadline even though both algorithms are fast. Which cross-language factor must be investigated first?
Programming languages used in robotics
Hard
A.Whether both source files use identical variable names
B.Serialization, copying, queueing, and runtime scheduling
C.Whether C++ and Python use the same loop syntax
D.Whether both nodes were written by the same compiler vendor
Correct Answer: Serialization, copying, queueing, and runtime scheduling
Explanation:
Cross-language communication can introduce data conversion, memory copies, queue delays, and runtime pauses. Source-level naming and syntax do not determine communication latency.
Incorrect! Try again.
53A 32-bit millisecond timer wraps around, and both now and last are unsigned 32-bit values. Which condition correctly tests whether at least period milliseconds have elapsed, provided `period < 2^{31}$?
Embedded programming basics
Hard
A.abs(now - last) >= period
B.(uint32_t)(now - last) >= period
C.now - period >= last && now != 0
D.now >= last + period && now > last
Correct Answer: (uint32_t)(now - last) >= period
Explanation:
Unsigned modular subtraction remains valid across one timer rollover. Direct timestamp ordering fails when now wraps to a numerically smaller value.
Incorrect! Try again.
54On an 8-bit microcontroller, an ISR increments a 16-bit counter while the main loop reads it. The counter is declared volatile, but occasional corrupted values still occur. Why?
Embedded programming basics
Hard
A.Volatile variables are always cached outside interrupt handlers
B.The compiler updates volatile variables only once per control cycle
C.The ISR automatically converts the counter to signed arithmetic
D.A 16-bit read can be interrupted between byte accesses
Correct Answer: A 16-bit read can be interrupted between byte accesses
Explanation:
volatile ensures that memory accesses occur but does not make a 16-bit operation atomic on an 8-bit processor. The read needs an atomic snapshot or a critical section.
Incorrect! Try again.
55An Arduino board uses logic while a Raspberry Pi uses non--tolerant GPIO. What is the safest general method for a bidirectional digital connection?
Arduino and Raspberry Pi overview
Hard
A.Use a bidirectional level shifter and a shared ground
B.Power the Pi GPIO rail from the Arduino output pin
C.Connect both GPIO pins directly without a shared ground
D.Use one series resistor while keeping separate grounds
Correct Answer: Use a bidirectional level shifter and a shared ground
Explanation:
A level shifter provides compatible voltage levels in both directions, while a common ground supplies the required reference. Direct input can damage Raspberry Pi GPIO.
Incorrect! Try again.
56A robot requires image processing, network communication, and a deterministic wheel-control loop. Which partition best matches the typical strengths of a Raspberry Pi and an Arduino-class microcontroller?
Arduino and Raspberry Pi overview
Hard
A.Run wheel control on the Pi and vision on the microcontroller
B.Run vision on the Pi and wheel control on the microcontroller
C.Run all tasks on the Pi using ordinary Linux scheduling
D.Run all tasks on the microcontroller using interrupt callbacks
Correct Answer: Run vision on the Pi and wheel control on the microcontroller
Explanation:
The Pi provides substantial computing and networking resources, while the microcontroller offers predictable low-level timing. Their communication should use bounded, fault-aware command messages.
Incorrect! Try again.
57A ROS-based navigation request may run for a minute, should report progress, and must be cancellable when an obstacle appears. Which communication abstraction is the best fit?
Introduction to ROS (Robot Operating System)
Hard
A.A synchronous service held open until completion
B.A parameter update polled by the navigation node
C.A latched topic containing only the destination
D.An action with feedback, result, and cancellation
Correct Answer: An action with feedback, result, and cancellation
Explanation:
ROS actions are intended for long-running goals that need progress feedback, completion results, and cancellation. Services are better suited to short request-response operations.
Incorrect! Try again.
58A camera observes point at time on a moving robot. With transform notation mapping coordinates from frame to frame , which expression correctly obtains the map-frame point?
Introduction to ROS (Robot Operating System)
Hard
A.
B.
C.
D.
Correct Answer:
Explanation:
Transforms compose from camera to base and then from base to map. Using transforms at the observation timestamp avoids spatial errors caused by robot motion.
Incorrect! Try again.
59A robot is teleoperated over an unreliable wireless link. If control packets stop arriving, which interface behavior best satisfies fail-safe design?
HumanâRobot Interface basics
Hard
A.Continue the last command until a replacement packet arrives
B.Extrapolate joystick commands indefinitely from recent motion
C.Use a command-freshness watchdog that enters a safe stop
D.Switch automatically to maximum-speed autonomous navigation
Correct Answer: Use a command-freshness watchdog that enters a safe stop
Explanation:
Commands should carry timestamps or expirations. When freshness is lost, a watchdog should transition the robot to a defined safe state rather than preserving stale motion.
Incorrect! Try again.
60In shared autonomy, an operator commands forward motion while the autonomy detects an imminent collision. Which design best balances operator authority, safety, and mode awareness?
HumanâRobot Interface basics
Hard
A.Average human and autonomous commands without displaying the result
B.Always execute the operator command regardless of collision estimates
C.Enforce a safety envelope and visibly indicate command modification
D.Silently discard the command and retain autonomous control indefinitely
Correct Answer: Enforce a safety envelope and visibly indicate command modification
Explanation:
A safety envelope prevents hazardous motion, while visible or haptic feedback explains intervention to the operator. Silent or unexplained arbitration can create dangerous mode confusion.
Incorrect! Try again.
Did this save you a night before the exam?
LPU Notes is free, and it stays free. Ads cover part of the server bill.
The rest comes out of a student's own pocket: the domain, the storage,
and keeping the site up through the weeks everyone needs it at once.
The payment button didn't load. An ad blocker or a filtered network is the usual reason.
to try again.
Nothing here is ever locked, and nothing unlocks. Chip in only if it was worth it.
What it pays for →