Search Header Logo

Lesson 1 Quiz

Authored by Whizara Teacher

Computers

6th - 12th Grade

Used 1+ times

Lesson 1 Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

6 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

What is the use of turtle.penColor()?

To fill a shape with color

To set the color that needs to be filled inside the turtle

To set the pen color for drawing

To check if a color is available to use

2.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which part of this line of code has an error? turtleobject.hide();

turtle

hide

()

No Error

3.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

A comment is a line of code that:

Does not execute

Executes but is not visible on the output screen

Executes and is visible on the output screen

Is left to the computer to figure out what to do with it

4.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which of these option(s) is/are error free?

System.out.println(“It’s raining cats!”);

System.out(“And dogs!”);

out.println(‘And turtle’)

out.println(‘And possibly mouse')

5.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which line of code moves the turtle by 50 steps: turtleobj.?

forward(50)

forward.50

forward50

(50)

6.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which of these is a valid variable assignment statement?

int var = ;

10 = int var;

int var-9 = 9;

none of the mentioned

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?