CodeHS Unit 1 Quiz

CodeHS Unit 1 Quiz

10th Grade

12 Qs

quiz-placeholder

Similar activities

ÔN TẬP CUỐI KỲ II TIN 8

ÔN TẬP CUỐI KỲ II TIN 8

8th - 11th Grade

17 Qs

ICT Computer Basics pt1

ICT Computer Basics pt1

10th - 12th Grade

12 Qs

J808 LO1 and LO2 planning project keywords / terms

J808 LO1 and LO2 planning project keywords / terms

9th - 11th Grade

15 Qs

Email Lớp 6

Email Lớp 6

6th Grade - University

17 Qs

Network Quiz TH

Network Quiz TH

1st - 10th Grade

16 Qs

Kuis Dadakan ;)

Kuis Dadakan ;)

10th Grade - University

15 Qs

Паскаль. Основные команды

Паскаль. Основные команды

8th - 11th Grade

10 Qs

Quiz 1.2 Operating system

Quiz 1.2 Operating system

10th Grade

10 Qs

CodeHS Unit 1 Quiz

CodeHS Unit 1 Quiz

Assessment

Quiz

Computers

10th Grade

Practice Problem

Medium

Created by

Corey Duncan

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

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

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is a valid Karel command?

A) move;

B) MOVE

C) move();

D) move()

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If Karel is facing North and the code runs; which direction is Karel facing now? turnLeft(); turnLeft();

North

South

East

West

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many times should Karel turn left in order to turn right?

4

2

1

3

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What can be used to teach Karel to turn right?

Variable

Function

Dog Treats

Karel can already turn right.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function will teach Karel how to spin in a circle one time?

function spin() { turnRight();}

function spin() { turnLeft(); turnLeft(); turnLeft(); turnLeft();}

function spin() { turnLeft(); turnLeft();}

function spin() { move(); move(); move(); move();}

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many times should the start function be defined in a program?

1

2

0

However many you would like

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why do we use functions in programming?

Break down our program into smaller parts

Avoid repeating code

Make our program more readable

All of the above

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?