
String Handling & Random Numbers
Authored by Kareem Ahmed
Computers
11th - 12th Grade

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does len("Python") return?
5
6
7
Error
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does 'banana'[0:3] return?
ban
ana
bana
Error
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does 'code'.upper() return?
Code
code
CODE
cODE
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does 'Hi' + ' ' + 'There' return?
HiThere
Hi There
Hi+There
Error
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does ord('A') return?
65
A
97
122
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of 'elephant'[1:4]?
ele
lep
lph
phan
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you combine first and last name in Python?
firstName.lastName
firstName + " " + lastName
firstName - lastName
firstName, lastName
Access all questions and much more by creating a free account
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
Already have an account?
Similar Resources on Wayground
15 questions
Javascript Quiz 2
Quiz
•
11th Grade
15 questions
Environmental Impacts
Quiz
•
9th - 12th Grade
16 questions
Boolean and Search Operators
Quiz
•
9th - 12th Grade
20 questions
Soal Kelas XII TKJ (MikroTik dan Akses Point)
Quiz
•
12th Grade
16 questions
DATA SCIENCE Assessment (April)
Quiz
•
8th - 12th Grade
15 questions
MS. Excel
Quiz
•
12th Grade - University
18 questions
STEM Fundamentals
Quiz
•
9th - 12th Grade
16 questions
Prepare For Final Exam
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade