Fundamentals of Computer Science Assessment (spring)

Fundamentals of Computer Science Assessment (spring)

8th Grade

40 Qs

quiz-placeholder

Similar activities

Euroopa päeva viktoriin

Euroopa päeva viktoriin

KG - University

35 Qs

Ôn tập Tin học 5 HKII

Ôn tập Tin học 5 HKII

5th Grade - University

40 Qs

Earth Day Vocabulary

Earth Day Vocabulary

KG - Professional Development

43 Qs

Carta de una madre

Carta de una madre

8th Grade

42 Qs

Famous Seconds and Famous Cats.

Famous Seconds and Famous Cats.

KG - University

40 Qs

Characters in the Bible

Characters in the Bible

3rd Grade - Professional Development

45 Qs

EXAMEN DE FOLKLORE 7° grado 1 TRIMESTRE 2021

EXAMEN DE FOLKLORE 7° grado 1 TRIMESTRE 2021

7th - 9th Grade

35 Qs

TES DIAGNOSTIK

TES DIAGNOSTIK

8th Grade

40 Qs

Fundamentals of Computer Science Assessment (spring)

Fundamentals of Computer Science Assessment (spring)

Assessment

Quiz

Other

8th Grade

Practice Problem

Hard

Created by

Mrs. O'Keefe

FREE Resource

AI

Enhance your content in a minute

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

40 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?

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

Make our program more readable

All of the above

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What's wrong with this code?

The go function is called twice

The go function has a syntax error

The go function has been defined twice

go is not a command that Karel understands

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a valid condition to go in an if statement for Karel?

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

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In computer programming, what is a variable?

A problem in the software

A sequence of instructions

An instruction that does not change

A placeholder for a piece of information that can change

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?