PYTHON-STRINGS

PYTHON-STRINGS

12th Grade

50 Qs

quiz-placeholder

Similar activities

Kelas 12

Kelas 12

12th Grade

45 Qs

LATIHAN PAT INFORMATIKA KELAS X

LATIHAN PAT INFORMATIKA KELAS X

9th - 12th Grade

50 Qs

Project STEM Unit 1 Review

Project STEM Unit 1 Review

9th - 12th Grade

49 Qs

PCEP Questions

PCEP Questions

9th - 12th Grade

46 Qs

Python Practical Questions

Python Practical Questions

9th - 12th Grade

46 Qs

CS Awesome Unit 4 Review

CS Awesome Unit 4 Review

9th - 12th Grade

46 Qs

Python Programming Quiz

Python Programming Quiz

11th Grade - University

50 Qs

Testing and error types

Testing and error types

12th Grade

50 Qs

PYTHON-STRINGS

PYTHON-STRINGS

Assessment

Quiz

Computers

12th Grade

Medium

Created by

Vijaya Govindaraj

Used 8+ times

FREE Resource

50 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']

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?