Unit-4_PPS Test

Unit-4_PPS Test

University

40 Qs

quiz-placeholder

Similar activities

Model test

Model test

University

40 Qs

Techno Excellent

Techno Excellent

University

40 Qs

Examen de prueba 4: Topic Wise Test-4: Exception Handling, F

Examen de prueba 4: Topic Wise Test-4: Exception Handling, F

University

40 Qs

string in python

string in python

University

35 Qs

python operators MCQ

python operators MCQ

10th Grade - Professional Development

45 Qs

Python Quiz - Final

Python Quiz - Final

University

35 Qs

CodeChef (Secret Snippet)

CodeChef (Secret Snippet)

University

35 Qs

Technical Quiz

Technical Quiz

University

40 Qs

Unit-4_PPS Test

Unit-4_PPS Test

Assessment

Quiz

Computers

University

Medium

Created by

Rahul Chinchore

Used 4+ times

FREE Resource

40 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Strings are immutable objects in Python?

True

False

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Python does not support a character type; a single character is treated as strings of length one.

True

False

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

String is a sequence made up of one or more____________________________.

Alphabet

Characters

Digits

Whitespaces

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Individual characters in a string are accessed using the ___________________operator.

slicing

Range slicing

both

none of the given

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

If we access the string from the first character then we use a ________based index but when doing it backward the index starts with ­_______.

Positive, -1

negative , 0

slicing, 1

pointer, 1

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Strings are stored in memory in _______________memory locations.

Alternate

Randomly

Consecutive

None of the given

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Each character in string can be accessed by ________________.

Using format()

Positive Indexing

Negative Indexing

Positive Indexing & Negative Indexing both

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?