Search Header Logo

Banana Tales Part 1 - Variable & Slice

Authored by Tan Wee How

Computers

9th - 10th Grade

Used 20+ times

Banana Tales Part 1 - Variable & Slice
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is variable in banana tales?

is a place in the computer's memory for storing some kind of data

is a bottle to store kind of drinks

is a name for a beautiful lady

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What kind of data can't be stored in variable?

a number

a text string

a full stop

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which statement is NOT create a variable?

whale[0].blow(6)

goal = snake[2].length

for snake in snakes

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

How to define a variable in banana tales by giving name final and value of 6?

final = 6

6 = final

final : 6

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What is the outcome for the statement shown as above?

Media Image
Media Image
Media Image

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

How to define a slice in Banana Tales?

for snake in snakes[4:8]:

for snake in snakes(4:8):

for snake in snakes{4:8}:

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

statement A : for snake in range(2,8):

statement B : for snake in snakes[2:8]:

statement A is kind of range

statement B is kind of slice

statement A is kind of slice

statement B is kind of range

statement A is kind of range

statement B is kind of range

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?