Banana Tales Part I (1-40)

Banana Tales Part I (1-40)

6th - 8th Grade

10 Qs

quiz-placeholder

Similar activities

Python Basics (Y9)

Python Basics (Y9)

8th - 10th Grade

13 Qs

Python Variables

Python Variables

6th Grade

10 Qs

Python-Basic

Python-Basic

3rd Grade - University

15 Qs

Python II Lesson 2

Python II Lesson 2

5th - 9th Grade

12 Qs

Python for beginners #1

Python for beginners #1

8th Grade

10 Qs

Python Input and Variable Assignment

Python Input and Variable Assignment

6th - 8th Grade

15 Qs

Python Data types & Exceptions

Python Data types & Exceptions

1st - 10th Grade

14 Qs

Data types and Input

Data types and Input

7th - 9th Grade

14 Qs

Banana Tales Part I (1-40)

Banana Tales Part I (1-40)

Assessment

Quiz

Computers

6th - 8th Grade

Hard

Created by

Tshewang Dema

Used 45+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the programming language used in Banana Tales course?

JavaScript

CoffeeScript

Python

PHP

2.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

Which of the following is the correct syntax to print the value of a variable named score using the print() function in Python?

print(score)

print(score())

print("score")

print('score')

3.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

What do we use print() function for?

To execute a specific line of code.

To display the output of a program to the user.

To define a function in Python.

To declare a variable in Python.

4.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

Which of the following is correct about lists in Python?

A list is a named collection of items.

The items have order and are indexed.

These items are accessed by using square brackets [ ].

All of the above.

5.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

How can you determine the number of items in a list?

Using the len() function

Using the size() method

Using the length() method

Using the count() method

6.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

What is the index of the last item in a list?

0

1

The number of items in the list.

The number of items in the list minus 1.

7.

MULTIPLE CHOICE QUESTION

30 sec • 3 pts

In Banana Tales Part I, if we have a list named whales and we want the second whale to blow water to a height of 10, which of the following statements correctly represents the code to achieve this?

whales[2].blow(10)

whales[1].blow(10)

whales[0].blow(10)

whales[3].blow(10)

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?