
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
17 questions
Python Basics or Syntax
Quiz
•
9th - 12th Grade
16 questions
C-Programming Basics
Quiz
•
12th Grade
20 questions
Microsoft Excel
Quiz
•
KG - Professional Dev...
20 questions
Quiz/Review in Servicing 2
Quiz
•
11th Grade
20 questions
Yr 11 ICT quiz 1 Networks & Security
Quiz
•
10th - 11th Grade
16 questions
A2 Computer Science 4.10 Databases
Quiz
•
10th - 12th Grade
15 questions
python basics
Quiz
•
11th Grade - University
15 questions
KKHP Roblox Game Development Quiz
Quiz
•
4th - 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