Quiz on Range Function

Quiz on Range Function

8th Grade

33 Qs

quiz-placeholder

Similar activities

Principles of IT-Chapter 4

Principles of IT-Chapter 4

8th - 12th Grade

30 Qs

Middle School ICT

Middle School ICT

6th - 8th Grade

28 Qs

Video Games

Video Games

KG - University

28 Qs

Mr. Springs' Presentation Basics Quiz

Mr. Springs' Presentation Basics Quiz

7th - 8th Grade

33 Qs

8.5 Final MCQ Assessment 2022

8.5 Final MCQ Assessment 2022

8th Grade

30 Qs

Systems Architecture

Systems Architecture

8th - 10th Grade

30 Qs

St Michael's  - Year 8 - Advanced Small Basic

St Michael's - Year 8 - Advanced Small Basic

8th Grade

33 Qs

Computation Thinking and Scratch

Computation Thinking and Scratch

1st - 8th Grade

28 Qs

Quiz on Range Function

Quiz on Range Function

Assessment

Quiz

Computers

8th Grade

Practice Problem

Hard

Created by

J Spensley

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

33 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the first number in the range function refer to?

The step size

The start point

The end point

The middle point

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In the range function range(1, 10, 2), what is the step size?

1

2

10

3

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the range function range(1, 10, 2)?

1, 2, 3, 4, 5

1, 3, 5, 7, 9

2, 4, 6, 8, 10

1, 4, 7, 10

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the middle number in the range function refer to?

The start point

The step size

The end point (not including)

The total count

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the main purpose of using loops with lists?

To delete list items

To sort list items

To look at list items

To add new items to the list

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you declare an empty list?

list = []

list = [0]

list = [None]

list = [empty]

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you assign multiple values to a list?

list = [1, 2, 3]

list = 1, 2, 3

list = (1, 2, 3)

list = {1, 2, 3}

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?