Unit 6 practice Lists, no loops

Unit 6 practice Lists, no loops

12th Grade

12 Qs

quiz-placeholder

Similar activities

CodeHS Unit 8

CodeHS Unit 8

10th - 12th Grade

12 Qs

String Manipulation (Python)

String Manipulation (Python)

9th - 12th Grade

17 Qs

PCEP Section 3E: Operate with strings

PCEP Section 3E: Operate with strings

12th Grade

15 Qs

Robotics Parts and Tools

Robotics Parts and Tools

9th - 12th Grade

17 Qs

Pre Test - Bimtek SAKTI Modul Admin 02082021

Pre Test - Bimtek SAKTI Modul Admin 02082021

1st Grade - University

11 Qs

Programming 2 - Arrays

Programming 2 - Arrays

10th - 12th Grade

17 Qs

Python Revision Tour - I

Python Revision Tour - I

12th Grade

15 Qs

11/13 Array Review

11/13 Array Review

7th Grade - University

8 Qs

Unit 6 practice Lists, no loops

Unit 6 practice Lists, no loops

Assessment

Quiz

Computers

12th Grade

Easy

Created by

Mrs. Mosier

Used 4+ times

FREE Resource

12 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

1 min • 1 pt

a = [3, 5, 1, 0, 2] b = ["a", "c", "x", "y"]

#1 What is the output of print( a[2])?

2.

FILL IN THE BLANK QUESTION

1 min • 1 pt

a[0] = a[1]

print(a)

Use square brackets and NO spaces.

3.

FILL IN THE BLANK QUESTION

1 min • 1 pt

b[3] = "w"

print(b)

Use square brackets and NO spaces, Use QUOTES

4.

FILL IN THE BLANK QUESTION

1 min • 1 pt

b.append("m")

print(b)

Use square brackets and NO spaces, Use QUOTES

5.

FILL IN THE BLANK QUESTION

1 min • 1 pt

a.pop(2)

print(a)

Use square brackets and NO spaces.

6.

FILL IN THE BLANK QUESTION

1 min • 1 pt

a.remove(0)

print(a)

Use square brackets and NO spaces.

7.

FILL IN THE BLANK QUESTION

1 min • 1 pt

val = b.index("c")

print(val)

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?