Karel Kwiz

11 Questions | Attempts: 103
Share

SettingsSettingsSettings
Karel Kwiz - Quiz


Questions and Answers
  • 1. 

    Add your NTCUAD.

  • 2. 

    Karel's positions are up, down, left and right.

    • A.

      False

    • B.

      True

    Correct Answer
    A. False
  • 3. 

    You can program Karel to move backwards.

    • A.

      False

    • B.

      True

    Correct Answer
    A. False
  • 4. 

    Why do many programmers NOT add comments?

    • A.

      They are lazy

    • B.

      It is difficult and time consuming

    • C.

      It affects the running of the program

    Correct Answer
    A. They are lazy
  • 5. 

    Indenting your code helps to show the ____________ of the code.

    • A.

      structure

    • B.

      Braces

    • C.

      Functions

    • D.

      Comments

    Correct Answer
    A. structure
  • 6. 

    What is the main reason to use functions?

    • A.

      Write the code once, and use it multiple times

    • B.

      Define what you want the program to do

    • C.

      To add a note to another programmer

    • D.

      To help with indenting

    Correct Answer
    A. Write the code once, and use it multiple times
  • 7. 

    Why do programmers use comments?

    • A.

      To keep track of changes

    • B.

      To comment out code to check for problems

    • C.

      To give notes to other programmers

    • D.

      All the cool kids do it

    Correct Answer
    A. To keep track of changes
  • 8. 

    Karel has a command called turnBack().

    • A.

      True

    • B.

      False

    Correct Answer
    B. False
  • 9. 

    Where do you find the function body?

    • A.

      Between the function's braces

    • B.

      After the start function

    • C.

      At the top of the code

    • D.

      Between parenthesis

    Correct Answer
    A. Between the function's braces
  • 10. 

    Which variable below is using camel case?

    • A.

      pickUpCoins

    • B.

      Pick Up Coins

    • C.

      PICKUPCOINS

    Correct Answer
    A. pickUpCoins
  • 11. 

    The start() function in Karel is similar to the __________ tag in HTML and the ____________ function in Java.

    • A.

      html / java

    • B.

      open / begin

    • C.

      web / code

    Correct Answer
    A. html / java

Quiz Review Timeline +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Sep 26, 2014
    Quiz Edited by
    ProProfs Editorial Team
  • Sep 26, 2014
    Quiz Created by
    Mrgorman
Back to Top Back to top
Advertisement