Search Header Logo

PYTHON_CHAPTER 6

Authored by Marliana (AS)

Computers

University

Used 2+ times

PYTHON_CHAPTER 6
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

_____ in Python allow you to perform operations and to access the individual characters.

Spring

String

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Strings can be created by enclosing characters inside a single quote ' ' or _____.

double colon :

double quotes " "

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

You can use _____ to specifies its position in the String.

indexing

slicing

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

You can use _____ to select a range of characters from a String.

indexing

slicing

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The first element in the String is referred by index _____.

0

-1

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The last element in the String is referred by index _____.

0

-1

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

course="python"

course [1:4] will display _____.

yth

our

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?

Discover more resources for Computers