Indexing and Slicing in Python
Quiz
•
Computers
•
4th Grade - University
•
Medium
Opuere Falabi
Used 65+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
word = "hello"
print(word)
The result will be ___________
result
"hello"
word
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
word = "hello"
word[0]
What is the output of the code above?
"h"
"e"
"l"
"o"
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Run the code below
word = "hello"
word[3]
el'
'lo'
h
'l'
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
alpha = 'abcdef'
alpha[0:3]
'abc'
'abcd'
'abcde'
none
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
alpha = 'abcdef'
alpha[0:4]
'ab'
'abc'
'abcd'
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
alpha = 'abcdef'
alpha[2:4]
'cd'
b'cd'
'abcd'
'cde'
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
alpha = 'abcdef'
alpha[2:]
'cdf'
'ef'
'def'
'cdef'
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
11 questions
Системи керування вмістом для веб-ресурсів. Адміністрування
Quiz
•
10th Grade
11 questions
Informatika 6
Quiz
•
6th Grade
15 questions
IT quiz class 7 E-commerce and blogging
Quiz
•
6th - 7th Grade
10 questions
Word 2016
Quiz
•
10th Grade
10 questions
C# lesson10
Quiz
•
1st - 10th Grade
15 questions
Excel - basic
Quiz
•
9th Grade
15 questions
Evaluasi Materi Integrasi Aplikasi Office
Quiz
•
10th Grade
10 questions
Viewing Websites CodeHS Lesson 3.1 Web Design
Quiz
•
8th Grade
Popular Resources on Wayground
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
Halloween
Quiz
•
5th Grade
16 questions
Halloween
Quiz
•
3rd Grade
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
