Search Header Logo

Grade 8

Authored by Manali Pandey

English, Computers

8th Grade

CCSS covered

Used 94+ times

Grade 8
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

19 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

which symbol is used to begin a comment line in python?

#

/

//

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will this code print?



100

200

500

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What do these lines of code print

[100, 500, 200]

100, 500, 200

syntax error

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Square brackets in an assignment statement will create which type of data structure?

( s=[] )

List

Queue

Dictionary

Set

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which of these is the best description of a list in Python?

A list is a collection of data that has an order and can be changed

A list is a lot of variables

A list is used for shopping

A list is a collection of data that cannot hold duplicated data and cannot be changed

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which of these is the correct code for creating a list of names?

nameList = John, Harry, Jesse, John, Harry, Harry

nameList = ("John", "Harry", "Jesse", "John", "Harry", "Harry")

nameList = ["John", "Harry", "Jesse", "John", "Harry", "Harry"]

nameList = [John, Harry, Jesse, John, Harry, Harry]

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

List items have an index number. In the following list, which item has the index number of 3?

["John", "Harry", "Jesse", "Johnm", "oxy", "arries"]

"John"

"Harry"

"Jesse"

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?