Python

Python

12th Grade

20 Qs

quiz-placeholder

Similar activities

C-Programming Basics

C-Programming Basics

12th Grade

16 Qs

Unpuzzled ASCII

Unpuzzled ASCII

7th - 12th Grade

15 Qs

Protecting Yourself Online Lesson 8 of the CIW

Protecting Yourself Online Lesson 8 of the CIW

12th Grade

16 Qs

Tech Trivia, Part III

Tech Trivia, Part III

7th - 12th Grade

20 Qs

JavaScript Learning Quiz 1

JavaScript Learning Quiz 1

12th Grade - University

16 Qs

basics

basics

12th Grade

15 Qs

Quiz - Pengenalan Sistem Operasi

Quiz - Pengenalan Sistem Operasi

12th Grade

15 Qs

Python

Python

Assessment

Quiz

Computers

12th Grade

Practice Problem

Hard

Created by

Pravin S R

Used 329+ times

FREE Resource

AI

Enhance your content in a minute

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

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What letter will be printed on the screen after running this code:

e
x
t
Nothing prints

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the position of the name "Robert" in the following list:

0
1
2
3

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What does the APPEND procedure do in the following code:

Adds Liverpool to the beginning of the list
Replaces Bristol with Liverpool
Replaces Manchester with Liverpool
Adds Liverpool to the end of the list

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

In the following code, "city" is an example of a what?

List
Loop
Variable
Array

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Each item in a list has an "address" or index. The first index in a Python list is what?

0
1
a
A

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What output will this code produce?

['France', 'Wales', 'England']
France
['France', 'Wales', 'England']
Wales
France, Wales, England
Wales
France  Wales  England
France

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What output will this code produce?

['France', 'Wales', 'England']
Ireland
['France', 'Ireland', 'England']
['France', 'Ireland', 'Wales', 'England']
['Ireland', 'Wales', 'England']

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?