Comp App -Sem 1 final

Comp App -Sem 1 final

9th - 12th Grade

20 Qs

quiz-placeholder

Similar activities

การใช้โปรแกรม Google SketchUp

การใช้โปรแกรม Google SketchUp

11th Grade

20 Qs

HTML

HTML

8th - 12th Grade

15 Qs

Traffic Light Project Quiz

Traffic Light Project Quiz

9th Grade

17 Qs

From Binary To Denary Conversion - IGCSE

From Binary To Denary Conversion - IGCSE

7th Grade - Professional Development

20 Qs

CSS - Computer Systems Services

CSS - Computer Systems Services

12th Grade

20 Qs

Yr7- Understanding computers Lessons 1-3

Yr7- Understanding computers Lessons 1-3

7th - 11th Grade

20 Qs

Vocabulary of Computer

Vocabulary of Computer

12th Grade

15 Qs

Networking Quiz

Networking Quiz

8th - 9th Grade

15 Qs

Comp App -Sem 1 final

Comp App -Sem 1 final

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

Matthew Thomas

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...

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following commands is a valid Karel command?

move

move;

move();

move()

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What makes the following command an invalid Karel command?

turnleft();

It should end in a colon rather than a semicolon

The l should be a capital L

It should start with a capital T

This command is correct

3.

MULTIPLE CHOICE QUESTION

30 sec • 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();

}

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why do we use functions in Karel programs?

Break down our program into smaller parts

Avoid repeating code

All of the above

All of the above

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many total times will Karel move in this program?

function start() {

move();

for (var i = 0; i < 5; i++) {

move();

putBall();

}

}

1

5

6

7

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the proper format for a single line comment in Karel?

This is a comment

// This is a comment

/* This is a comment

This is a comment

THIS IS A COMMENT

// This is a comment

/* This is a comment

This is a comment

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the mystery function do?

function mystery() {

while (noBallsPresent()) {

move();

}

}

Karel moves until it is on a ball

Karel moves once if there is no ball present

Karel moves until it puts down a ball

Karel checks if there is no ball on the current spot and then moves once

Create a free account and access millions of resources

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?