Search Header Logo

Phyton 101

Authored by Nur Qamarienna

Computers

6th - 8th Grade

Used 58+ times

Phyton 101
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

Which one of these is the correct way to write a string variable?

a = "berries"

berries = 15

player.say("berries")

player.drop(berries)

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Do we need to use quotes (" ") in writing numerical value?

Yes

No

Maybe

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which coding will make the agent to place the block upward?

blocks.place(REDSTONE_LAMP, pos(7, 0, 0))

blocks.place(REDSTONE_LAMP, pos(0, 7, 0))

blocks.place(REDSTONE_LAMP, UPWARD)

blocks.place(REDSTONE_LAMP, pos(0, , 7))

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

The first 0 indicates which direction?

south & north

up & down

west & east

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is 'equals (=)' used for?

to declare an increment of certain values

to subtract a value from a variable

to declare the value of a variable

to multiply a value of a variable

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

what is 'change +='?

Making the agent to place block upward

Increases the value by the defined amount

Making the agent to go upward

Increases an item in agent's inventory

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is 'change -='

Decreases the amount of blocks in agent's inventory

Make the agent to move down

Decreases the value by the defined amount

Make the agent to move back by 2 steps

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?