G(7) Quiz#4 - L3.4

G(7) Quiz#4 - L3.4

7th Grade

9 Qs

quiz-placeholder

Similar activities

Types of algorithm

Types of algorithm

3rd Grade - University

10 Qs

S1 Programming

S1 Programming

7th Grade

12 Qs

JavaScript with CodeCombat

JavaScript with CodeCombat

7th - 8th Grade

12 Qs

U1L1 Alonzo wants you to know...

U1L1 Alonzo wants you to know...

7th Grade - University

12 Qs

Chapter 11 & 12 Test

Chapter 11 & 12 Test

7th Grade

11 Qs

CodeMonkey 0-35 Review

CodeMonkey 0-35 Review

5th - 8th Grade

14 Qs

Python Quiz - 3

Python Quiz - 3

3rd - 9th Grade

10 Qs

Introduction to Coding

Introduction to Coding

5th - 7th Grade

12 Qs

G(7) Quiz#4 - L3.4

G(7) Quiz#4 - L3.4

Assessment

Quiz

Computers

7th Grade

Medium

Created by

Maram Khusheim

Used 8+ times

FREE Resource

9 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

subjects_list = []

This code line will

create an empty list

print list

delete an element

None of the above

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

True/False: A list is an example of a data structure.

True

False

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A ___________ is a type of variable that can hold many values.

Loop

if condition

data structure

None of the above

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Traverse a list means

looking at every value

printing a list

deleting a list

None of the above

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

We can traverse a list using a

variable

print

for loop

None of the above

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

for i in range(5):

^

This loop will repeat

i times

4 times

5 times

None of the above

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The number that stops the loop is called

pause value

stop value

element value

None of the above

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

colors = ["blue", "pink", "yellow"]

Select the code to get the list length

print(colors)

colors[i]

len(colors)

None of the above

9.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

colourList = ["red","yellow","blue","green"]

stop = len(coloursList)

the value of stop is equal to

3

4

5

None of the above