Computers

6th -

9thgrade

Image

Programming with Karel Quiz

41
plays

25 questions

Show Answers
See Preview
  • 1. Multiple Choice
    30 seconds
    1 pt

    Which of the following commands is a valid Karel command?

    move

    move( )

    move( );

    move;

  • 2. Multiple Choice
    30 seconds
    1 pt

    What makes the following command an invalid Karel command?

    It should end in a colon rather than a semicolon

    It should start with a capital T

    This command is correct

    The l should be a capital L

  • 3. Multiple Choice
    30 seconds
    1 pt

    Which of the following is the correct way to define a turnRight function in Karel?

    function turnRight() {

    turnLeft();

    turnLeft();

    turnLeft();

    }

    function turnRight() {

    turnRight();

    turnRight();

    turnRight();

    }

    function turnRight {

    turnLeft();

    turnLeft();

    turnLeft();

    }

    turnRight function() {

    turnLeft();

    turnLeft();

    turnLeft();

    }

  • Answer choices
    Tags
    Answer choices
    Tags

    Explore all questions with a free account

    Already have an account?