s1='ComputerScience' What is the output of print(s1[::-1])
Chapter 8 String Manipulations

Quiz
•
Computers
•
12th Grade
•
Hard
SUDHA B
Used 25+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cmptrcinc
ComputerScience
ecneicSretupmoC
cnicrtpmC
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which error is generated when the index is not an integer?
Index Error
Type error
Name error
Bound error
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
To change 'cool' from 'COOL', which function should be used?
upper()
lower()
capitalize()
title()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When using find(), if str is not present in the string then what is returned?
0
1
-1
Null
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function is used to change 'save earth' to 'Save Earth'?
capitalize()
swapcase()
title()
upper()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Identify the correct result from the following.
ord('10')=50
chr(72)='H'
chr(55)=9
ord('z')=123
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which error is generated when a character in a string variable is modified?
Index error
Name error
Type error
unbound local error
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
Python Basics & Syntax

Quiz
•
10th - 12th Grade
10 questions
Exploring Python: Input and Output Essentials

Quiz
•
9th Grade - University
11 questions
Python Quiz

Quiz
•
12th Grade
15 questions
PYTHON PROGRAMMING

Quiz
•
11th - 12th Grade
20 questions
Quiz Pemrograman Phyton

Quiz
•
9th - 12th Grade
16 questions
Variables and Data Types Knowledge Check

Quiz
•
9th - 12th Grade
15 questions
Python - Chpt 1 - Review

Quiz
•
9th - 12th Grade
15 questions
JAVA: Level-1

Quiz
•
5th - 12th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade