Unit-4_PPS Test

Unit-4_PPS Test

University

40 Qs

quiz-placeholder

Similar activities

ย้อนหลัง กลางภาค Java ระดับต้น

ย้อนหลัง กลางภาค Java ระดับต้น

KG - University

40 Qs

Python Quiz

Python Quiz

University

45 Qs

Python.Comp Quiz (Python Coding)

Python.Comp Quiz (Python Coding)

9th Grade - University

40 Qs

Midterm prep 10 gr

Midterm prep 10 gr

10th Grade - University

45 Qs

String in Python

String in Python

University

36 Qs

9th Grade - IT Programming - 2nd Cycle Exam

9th Grade - IT Programming - 2nd Cycle Exam

9th Grade - University

40 Qs

икт зәипал

икт зәипал

University

40 Qs

C Programming

C Programming

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?