Search Header Logo

ICS Y1 Final Exam

Authored by Milan Bozic

Computers

10th Grade

Used 1+ times

ICS Y1 Final Exam
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

50 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following best describes what a function is used for?

they create new variable commands
they are used for difficult math formulas
they are reusable pieces of code that can be called any time in the program
they allow for the use of mathematical operators

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the name of the following function?

function turnRight(){

turnLeft();

turnLeft();

turnLeft();

}

turnRight

turnLeft

Function

Right Turn

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why is 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

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which command is written incorrectly?

putBall();

putball();

turnLeft();

takeBall();

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function will allow Karel to spin in circle?

Media Image
Media Image
Media Image
Media Image

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

Which code below will put Karel in the position shown in picture?

move(); Move(); turnLeft(); move();

move; move(); turnLeft; move();

move(); move(); TurnLeft(); Move();

move(); move(); turnLeft(); move();

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Which is the correct way to write the turnRight function?

function turnRight( ){

turnLeft( );

turnLeft( );

}

function turnRight( ){

turnLeft( );

turnLeft( );

turnLeft( );

}

function turnRight( )

turnLeft( )

turnLeft( )

function turnright( ){

turnLeft( );

turnLeft( );

turnLeft( );

}

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?

Discover more resources for Computers