PYTHON_CHAPTER 6

PYTHON_CHAPTER 6

University

10 Qs

quiz-placeholder

Similar activities

Object oriented programming in java

Object oriented programming in java

University

13 Qs

Tipe Data

Tipe Data

University

10 Qs

CS201: Chapter 4

CS201: Chapter 4

University

12 Qs

Hashing and Hash Tables

Hashing and Hash Tables

University

9 Qs

Quiz 142 - Python inputs and outputs

Quiz 142 - Python inputs and outputs

9th Grade - University

15 Qs

Java Operators

Java Operators

University

14 Qs

Conditionals

Conditionals

University

11 Qs

DCIT22-Computer Programming I Online Quiz

DCIT22-Computer Programming I Online Quiz

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?