placeholder image to represent content

C Robot Simulator Basic Codes

Quiz by Marvin Joseph Fernandez

Our brand new solo games combine with your quiz, on the same screen

Correct quiz answers unlock more play!

New Quizalize solo game modes
10 questions
Show answers
  • Q1

    In the C Robot Simulator, which of the following is a command for the robot to move forward?

    forward();

    fd(100);

    fd

    fd();

    30s
  • Q2

    In the C Robot Simulator, which of the following is a command for the robot to move in left pivot?

    tr(100);

    left(100);

    sl(100);

    tl(100);

    30s
  • Q3

    In the C Robot Simulator, which of the following is a command for the robot to move in spinning right motion?

    right(100);

    tr(100);

    spinleft(100);

    sr(100);

    30s
  • Q4

    In the C Robot Simulator, which of the following command is used to declare PA0 in off mode?

    int PA0 = 0;

    int pao = 0;

    int pao = analog(0);

    pao = 0;

    30s
  • Q5

    In the C Robot Simulator, which of the following command is used to declare PA0 as an analog sensor?

    PA0 = analog(0);

    int pao = 0;

    int pao = analog(0);

    pao = 0;

    30s
  • Q6

    In the C Robot Simulator, which analog sensor is used to detect objects?

    PA7

    PA6

    PA0

    PA8

    30s
  • Q7

    In the C Robot Simulator, how many sensors can be calibrated?

    5

    7

    8

    6

    30s
  • Q8

    In the C Robot Simulator, it is a command for a series of codes to run only once in a program.

    void setup(){}

    void setup()

    void setup

    void loop(){}

    30s
  • Q9

    In the C Robot Simulator, it is a command for a series of codes to run  continuously  until the robot is being stopped.

    void loop(){}

    void setup()

    void loop(){}

    void setup

    30s
  • Q10

    In the C Robot Simulator, it an icon found in the editor panel where you can place sensors on the robot.

    Sensor Panel

    ZX settings

    Sensor Calibration Panel

    Sensor Settings

    30s

Teachers give this quiz to your class