PYTHON_CHAPTER 6

PYTHON_CHAPTER 6

University

10 Qs

quiz-placeholder

Similar activities

Array and string unit 7

Array and string unit 7

University

10 Qs

c-languiz

c-languiz

University

10 Qs

Python Basics

Python Basics

University

15 Qs

Syntax Testing

Syntax Testing

University

10 Qs

Java Strings

Java Strings

1st Grade - Professional Development

10 Qs

Intro to Python recap

Intro to Python recap

10th Grade - Professional Development

11 Qs

PSP Week3

PSP Week3

University

10 Qs

Object Oriented BTech

Object Oriented BTech

University

15 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?