
Programming_Grade11_Term3_Week02
Authored by Aybolat Nevazhno
Computers
11th Grade
Used 13+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
text = "Hello, World!"
# What does the following code do?
result = text.lower()
Converts text to uppercase
Converts text to lowercase
Reverses the text
Removes whitespace
Extracts the first word
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
numbers = [1, 2, 3, 4, 5]
# What does the following code do?
result = sum(numbers)
Finds the product of the numbers
Calculates the average of the numbers
Finds the maximum value in the list
Finds the sum of the numbers
Sorts the list in ascending order
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
text = "Python Programming"
# What does the following code do?
result = text.split()
Joins the words with a comma
Reverses the words
Splits the text into a list of words
Removes spaces
Converts the text to uppercase
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
numbers = [2, 4, 6, 8, 10]
# What does the following code do?
result = [num * 2 for num in numbers]
Adds 2 to each element
Multiplies each element by 2
Removes even numbers
Finds the square of each element
Appends 2 to the list
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
text = "Data Science"
# What does the following code do?
result = text.replace("Science", "Analysis")
Appends "Analysis" to the text
Replaces "Science" with "Analysis"
Removes "Data"
Converts to uppercase
Swaps "Data" and "Science"
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
numbers = [3, 7, 1, 9, 4]
# What does the following code do?
result = sorted(numbers)
Reverses the list
Finds the maximum value
Sorts the list in ascending order
Finds the sum of the numbers
Removes duplicates
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
text = "Learning Python is fun!"
# What does the following code do?
result = len(text)
Finds the number of words
Counts the number of vowels
Finds the length of the text
Reverses the text
Removes spaces
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
10 questions
Social media influencers
Quiz
•
6th - 12th Grade
10 questions
1.1 - System Architecture - CPU [OCR] [GCSE]
Quiz
•
9th - 12th Grade
10 questions
CALL: Causative Verb
Quiz
•
10th - 11th Grade
12 questions
ICT Computer Basics pt1
Quiz
•
10th - 12th Grade
15 questions
J808 LO1 and LO2 planning project keywords / terms
Quiz
•
9th - 11th Grade
11 questions
CompTIA A+February27
Quiz
•
11th Grade
10 questions
Recursion Practice, Recursion Practice, Recursion Practice...
Quiz
•
10th Grade - University
10 questions
INTERNET AND INTRANET
Quiz
•
9th - 11th 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