Strings in Python

Strings in Python

University

90 Qs

quiz-placeholder

Similar activities

Information System

Information System

University

90 Qs

AC Circuits Final Review

AC Circuits Final Review

University

90 Qs

CS 241 Practice Test Week 4

CS 241 Practice Test Week 4

9th Grade - University

86 Qs

100 câu đầu

100 câu đầu

University

87 Qs

Kuis 2 Dasar Teknologi Digital

Kuis 2 Dasar Teknologi Digital

University

95 Qs

ITF+ pt2

ITF+ pt2

9th Grade - Professional Development

85 Qs

Activity 3.1 - Data Structures and Algorithms

Activity 3.1 - Data Structures and Algorithms

University

85 Qs

C++01输入输出

C++01输入输出

1st Grade - University

86 Qs

Strings in Python

Strings in Python

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

Chaitrali Kardile

Used 3+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

90 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of 'Hello' + 'World' in Python?

'HelloWorld'
'Hello World'
'Hello+World'
Error

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator is used to repeat a string multiple times?

*
+
/
-

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method is used to append a string at the end of another string?

append()
extend()
+=
concatenate()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Strings in Python are:

Mutable
Immutable
Both
None of the above

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of 'Python'[-1]?

'P'
'n'
'o'
Error

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function converts a character into its Unicode code?

ord()
chr()
ascii()
code()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does chr(97) return?

'97'
'a'
'chr(97)'
'A'

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?