PYTHON_CHAPTER 6

PYTHON_CHAPTER 6

University

10 Qs

quiz-placeholder

Similar activities

Python

Python

1st Grade - University

10 Qs

MS Core Java Quiz-1 2023

MS Core Java Quiz-1 2023

University

10 Qs

DSC TECH QUIZ

DSC TECH QUIZ

University

10 Qs

DCIT22-Computer Programming I Online Quiz

DCIT22-Computer Programming I Online Quiz

University

10 Qs

Java Quiz

Java Quiz

University

10 Qs

Hashing and Hash Tables

Hashing and Hash Tables

University

9 Qs

Java Post Hurricane D Check

Java Post Hurricane D Check

University

15 Qs

Array

Array

University

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