JavaScript Karel Unit 1 Quiz Study Guide

JavaScript Karel Unit 1 Quiz Study Guide

9th - 12th Grade

25 Qs

quiz-placeholder

Similar activities

Unit 6: Repetition Test Review

Unit 6: Repetition Test Review

9th - 12th Grade

20 Qs

Functions in C++

Functions in C++

11th Grade

20 Qs

9.1 Homework #3

9.1 Homework #3

9th Grade

20 Qs

Visual Basic Assessment

Visual Basic Assessment

11th - 12th Grade

21 Qs

CORLANG Week6-7

CORLANG Week6-7

10th Grade - University

20 Qs

XI C- Quiz - Lesson 10 - 14

XI C- Quiz - Lesson 10 - 14

12th Grade

20 Qs

ALAM NG ICT 2 YAN!

ALAM NG ICT 2 YAN!

11th Grade

20 Qs

GCE CPA Paper 1 Section A 2022-SP

GCE CPA Paper 1 Section A 2022-SP

10th Grade

20 Qs

JavaScript Karel Unit 1 Quiz Study Guide

JavaScript Karel Unit 1 Quiz Study Guide

Assessment

Quiz

Computers

9th - 12th Grade

Practice Problem

Medium

Created by

Adam Schwaninger

Used 24+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following commands is a valid Karel command?

move

move;

move();

move()

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Why is the following command an invalid Karel command?

turnleft();

  1. It should end in a colon rather than a semicolon

  1. The l should be a capital L

  1. It should start with a capital T

  1. This command is correct

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

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

Media Image
Media Image
Media Image
Media Image

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Why do we use functions in Karel programs?

  1. Break down our program into smaller parts

  1. Avoid repeating code

  1. Make our program more readable

  1. All of the above

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

If Karel starts at Row 1 and Column 1, facing East, where will Karel be, and what direction will Karel be facing after running the following code? (Assume the world is 10x10 in size)

**Click the image**

  1. Row 3, Column 1, Facing North

  1. Row 1, Column 4, Facing North

  1. Row 1, Column 3, Facing South

  1. Row 1, Column 3, Facing North

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Karel starts at Row 1 and Column 1, facing East. After calling the stairStep function twice, where will Karel be and what direction will Karel be facing? (assume this is a SuperKarel program and the world is 10x10 in size)

**Click the image**

  1. Row 2, Column 2, Facing North

  1. Row 3, Column 3, Facing East

  1. Row 3, Column 3, Facing West

  1. Row 4, Column 4, Facing East

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

In this code, how many times is the dance function called and how many times is it defined?

**Click the picture**

  1. Called 1 time, defined 1 time

  1. Called 1 time, defined 3 times

  1. Called 3 times, defined 1 time

  1. Called 3 times, defined 3 times

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?