PYTHON_CHAPTER 6

PYTHON_CHAPTER 6

University

10 Qs

quiz-placeholder

Similar activities

CS201: Chapter 4

CS201: Chapter 4

University

12 Qs

The OOP Quiz

The OOP Quiz

University

10 Qs

PSP Week 4

PSP Week 4

University

15 Qs

Q2 - Python

Q2 - Python

University

10 Qs

PythonBasic

PythonBasic

University

15 Qs

CSE 102 Exam 2 Practice

CSE 102 Exam 2 Practice

University

15 Qs

Splitting, Concatenating, and Joining Strings in Python

Splitting, Concatenating, and Joining Strings in Python

University

6 Qs

Tipe Data

Tipe Data

University

10 Qs

PYTHON_CHAPTER 6

PYTHON_CHAPTER 6

Assessment

Quiz

Computers

University

Easy

Created by

Marliana (AS)

Used 2+ times

FREE Resource

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

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?