Indexing and Slicing in Python

Quiz
•
Computers
•
4th Grade - University
•
Medium
Opuere Falabi
Used 63+ 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'
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
XI 1 Ulangan Harian 1 INFORMATIKA Bahasa C

Quiz
•
10th Grade
12 questions
Python

Quiz
•
7th - 9th Grade
10 questions
Year 7 Quiz 1

Quiz
•
9th - 12th Grade
10 questions
Lệnh print và tạo biến

Quiz
•
4th Grade
15 questions
Python basics

Quiz
•
6th - 8th Grade
10 questions
Python Statements

Quiz
•
5th - 7th Grade
10 questions
WORKSHEET ON TEXT HANDLING IN PYTHON - 2

Quiz
•
11th - 12th Grade
12 questions
Python Print Statement

Quiz
•
6th - 10th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
8 questions
Time Management

Quiz
•
6th Grade
15 questions
Acceptable Use Policy (Quiz)

Quiz
•
6th - 8th Grade
25 questions
Career Vs. Job

Quiz
•
6th - 8th Grade
12 questions
3-5 Digital Citizenship: Appropriate Use

Quiz
•
3rd - 5th Grade
10 questions
Keyboard Typing

Quiz
•
4th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade