Search Header Logo

Fun with Coding Commands

Authored by Hồ Thị Xuân Hương

Information Technology (IT)

5th Grade

Fun with Coding Commands
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does 'on start' do in a program?

It defines the main function of the program.

It triggers code execution when the program starts.

It sets up a timer for code execution.

It pauses the program until user input is received.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you move an actor to a specific position using coordinates?

Use the setPosition(x, y) method to move the actor to the specified coordinates.

Invoke the setCoordinates(x, y) command to adjust the actor's position.

Call the changePosition(x, y) method to set the actor's location.

Use the moveTo(x, y) function to relocate the actor.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What command would you use to change an actor's appearance?

changeAppearance

updateCharacter

setAppearance

modifyLook

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What happens when 'when actor touched' is triggered?

An event or action is triggered in response to the actor being touched.

The actor is removed from the scene.

A random sound effect plays.

The game ends immediately.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you change the x position of an actor?

Change the actor's y property instead.

Use the actor's rotation to adjust position.

Set the actor's x property to the desired value.

Move the actor by dragging it in the editor.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of 'switch to costume select costume'?

To change the game's background music.

To adjust the game's difficulty level.

To allow users to save their game progress.

To enable users to change their character's costume.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you ask a question and wait for an answer in a program?

Use a print function to display a message without waiting for input.

Ask a question using a comment and ignore the response.

Use a loop to repeatedly ask the same question without stopping.

Use an input function to ask a question and wait for the user's response.

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?