word = "hello"
print(word)
The result will be ___________
Indexing and Slicing in Python
Quiz
•
Computers
•
4th Grade - University
•
Medium
Opuere Falabi
Used 59+ times
FREE Resource
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'
10 questions
Grade 5 ICT Scratch and Software and its Types
Quiz
•
5th Grade
15 questions
Grade 12-Python selection&iteration
Quiz
•
11th - 12th Grade
13 questions
A words - GCSE Computer Science
Quiz
•
1st - 10th Grade
15 questions
Javascript
Quiz
•
10th - 12th Grade
14 questions
year 8 lesson 2 quiz - python
Quiz
•
8th - 10th Grade
12 questions
Python
Quiz
•
7th - 8th Grade
13 questions
Python
Quiz
•
7th - 8th Grade
15 questions
HTML Colors
Quiz
•
9th - 12th Grade
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
15 questions
Character Analysis
Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing
Quiz
•
9th - 12th Grade
20 questions
Reading Comprehension
Quiz
•
5th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities
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
20 questions
Taxes
Quiz
•
9th - 12th Grade