ROS Basics MCQs December 22, 2025August 9, 2024 by u930973931_answers 40 min Score: 0 Attempted: 0/40 Subscribe 1. What does ROS stand for? (A) Reactive Operating System (B) Robotic Optimization Software (C) Robot Operating System (D) Robot Operating Service 2. Which of the following is a core component of ROS? (A) All of the above (B) Libraries (C) Tools (D) Nodes 3. In ROS, what is a “node”? (A) A process that performs computation and communicates with other nodes (B) A component that provides data storage (C) A file that contains configuration settings (D) A device driver for sensors 4. What is a “topic” in ROS? (A) A file format for ROS configuration (B) A data structure for storing sensor information (C) A type of node in the ROS architecture (D) A communication channel between nodes 5. Which command is used to create a new ROS package? (A) roscreate (B) rosinit (C) catkin_create_pkg (D) create_ros_pkg 6. What does the “roscore” command do? (A) Starts a ROS node (B) Initializes the ROS master and essential services (C) Creates a new ROS package (D) Compiles ROS packages 7. In ROS, what is a “message”? (A) A configuration file for ROS nodes (B) A communication unit for passing data between nodes (C) A type of ROS package (D) A log entry for ROS activities 8. How do you list all active nodes in a ROS system? (A) rosnodes list (B) rosnode show (C) rosnode list (D) rosnodes show 9. What is the role of the “ROS master”? (A) To execute ROS nodes (B) To manage communication between nodes and keep track of all active nodes (C) To provide hardware drivers for sensors (D) To manage ROS packages and dependencies 10. Which command is used to view the messages being published to a topic? (A) rosmsg echo (B) rosmsg view (C) rostopic list (D) rostopic echo 11. What is the purpose of a “service” in ROS? (A) To provide a mechanism for nodes to perform remote procedure calls (B) To communicate data between nodes (C) To initialize the ROS master (D) To store configuration files 12. How can you call a ROS service from the command line? (A) roscall (B) rosservice call (C) rosservice execute (D) roscall service 13. What is the purpose of the “rosbag” tool? (A) To manage ROS packages (B) To record and play back ROS message data (C) To monitor ROS nodes (D) To visualize ROS topics 14. Which of the following is used to define the structure of ROS messages? (A) yaml files (B) srv files (C) launch files (D) msg files 15. What is a “launch file” in ROS? (A) A configuration file for ROS services (B) A file that defines the ROS message structure (C) A file used to start multiple ROS nodes with configurations (D) A script for compiling ROS packages 16. How do you create a new ROS message type? (A) Edit the .msg file in the msg directory of a package (B) Modify the .launch file (C) Update the CMakeLists.txt file (D) Use the rosmsg command 17. What is the purpose of the catkin_make command? (A) To list all available ROS packages (B) To create a new ROS package (C) To initialize the ROS environment (D) To build and compile ROS packages 18. What does the rosparam command manage? (A) Parameters and configuration settings for ROS nodes (B) ROS message types (C) ROS node execution (D) ROS package dependencies 19. How can you visualize ROS data in a graphical interface? (A) Using rosvisual (B) Using rviz (C) Using rostopic (D) Using rosview 20. What does the roscd command do? (A) Lists ROS nodes (B) Compiles ROS packages (C) Changes the directory to a ROS package directory (D) Displays ROS parameters 21. What file format is used for defining ROS services? (A) launch (B) msg (C) yaml (D) srv 22. Which ROS tool is used for debugging and interacting with topics and services? (A) rostopic (B) rosnode (C) rqt (D) rosbag 23. What is the purpose of the roslaunch command? (A) To create new ROS packages (B) To list all active nodes (C) To record ROS message data (D) To start multiple nodes with a configuration specified in a launch file 24. In ROS, what is a “parameter server”? (A) A centralized place for storing parameters that can be accessed by multiple nodes (B) A server that manages communication between nodes (C) A tool for visualizing ROS topics (D) A file for configuring ROS packages 25. How can you list all available ROS services? (A) rosservices list (B) rosservice show (C) rosservice status (D) rosservice list 26. What does the rostopic list command do? (A) Shows the status of nodes (B) Lists all available ROS services (C) Displays message definitions for topics (D) Lists all active topics in the ROS system 27. Which ROS tool is used to simulate robot movements and visualize sensor data? (A) Gazebo (B) Rviz (C) Rqt (D) RvizSim 28. What is the purpose of the rosmsg command? (A) To visualize message data (B) To manage ROS message data (C) To list all active nodes (D) To display information about ROS message types 29. Which file format is used for defining ROS node configurations? (A) msg (B) launch (C) srv (D) yaml 30. How do you get detailed information about a specific ROS topic? (A) rostopic info (B) rosmsg info (C) rosnode info (D) rosservice info 31. Which command is used to initialize a new ROS workspace? (A) rosinit (B) catkin_init_workspace (C) catkin_make (D) rosworkspace init 32. What is the function of the rosdep tool? (A) To compile ROS packages (B) To install system dependencies for ROS packages (C) To list available ROS topics (D) To visualize sensor data 33. Which command is used to check the status of a specific ROS node? (A) rosnode status (B) rosnode info (C) rosnode show (D) rosnode check 34. What does the roswtf command do? (A) Displays node information (B) Lists all ROS topics (C) Checks for issues in the ROS setup and configuration (D) Records ROS messages 35. Which command is used to start a ROS node from the command line? (A) roslaunch (B) rosstart (C) rosnode start (D) rosrun 36. What does the rosclean command do? (A) Initializes a new ROS workspace (B) Removes unused ROS packages (C) Cleans up build and log files from a ROS workspace (D) Displays ROS parameters 37. Which ROS tool is used to debug and visualize the state of the ROS system? (A) rviz (B) rosnode (C) rostopic (D) rqt_graph 38. What is the purpose of the rostopic hz command? (A) To display information about the topic (B) To measure and display the rate at which messages are being published to a topic (C) To list all active topics (D) To record messages from a topic 39. Which file format is used for storing configuration settings in ROS? (A) msg (B) yaml (C) srv (D) launch 40. How can you stop a running ROS node from the command line? (A) Use the rosnode kill command (B) Use the rosstop command (C) Use the rosnode stop command (D) Use the rosnode end command