Banana Tales Part I (1-40)

Banana Tales Part I (1-40)

6th - 8th Grade

10 Qs

quiz-placeholder

Similar activities

Grade 8 End of Unit Revision

Grade 8 End of Unit Revision

8th Grade - University

15 Qs

9.3 L3 Python Lists

9.3 L3 Python Lists

7th - 10th Grade

10 Qs

python

python

7th Grade

10 Qs

Python

Python

7th - 8th Grade

13 Qs

Edublocks yr 8

Edublocks yr 8

7th Grade

15 Qs

Wiz 3 Assessment Python

Wiz 3 Assessment Python

6th - 8th Grade

10 Qs

Python Print Statement

Python Print Statement

6th - 10th Grade

12 Qs

Python Basics

Python Basics

6th - 7th Grade

15 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 44+ 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
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?