s1='ComputerScience' What is the output of print(s1[::-1])
Unit 8 CS Python Test

Quiz
•
Computers
•
12th Grade
•
Hard
Charles Martinez
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 Review (TSK)

Quiz
•
9th - 12th Grade
20 questions
Python variables, expressions, and data types

Quiz
•
9th - 12th Grade
20 questions
Python Basics (CodeHS)

Quiz
•
7th - 12th Grade
20 questions
Grade 7 Python Programming Quiz

Quiz
•
7th Grade - University
15 questions
PCEP Section 3E: Operate with strings

Quiz
•
12th Grade
16 questions
Python programming

Quiz
•
6th - 12th Grade
20 questions
Basic Python

Quiz
•
10th - 12th Grade
20 questions
Python Basic 1

Quiz
•
12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University