
Python Revision
Authored by Chempaka Seri Abdul Razak
Computers
University
Used 53+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
14 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the data type of this variable?
student = "Maria"
List
Integer
String
Dictionary
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the data type of this variable?
snake = {"hiss", "glide", "long", "scales"}
String
Tuple
List
Set
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the data type of this variable?
channel = [{"num": 701, "name":"AXN"}, {"num": 801, "name": "WWE"}, {"num": 105, "name": "PRIMA"}]
List
Dictionary
Set
Tuple
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the correct syntax for input in Python?
user_input = input("Enter your input")
user_input = input(Enter your input)
user_input = input("Enter your input",enter_num)
user_input = ("Please enter your input")
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the print coding below here will show an error?
print("My name is".name)
print("My name is",name)
print("My name is"+str(name))
print(f"My name is {name}")
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
subject = "Anomaly Detection in Twitter"
print(subjects.upper())
What is the correct output from this code?
ANOMALY DETECTION IN TWITTER
Anomaly Detection in Twitter
anomaly detection in twitter
Error
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
status = "I like to eat chickens"
print(status[:6]+status[13:])
What is the output of the coding above?
I likechickens
like chickens
I like chickens
eat chickens
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
Penugasan Daring
Quiz
•
11th Grade - University
10 questions
Python with DataScience
Quiz
•
7th Grade - University
10 questions
Post Test #4 - Python Fundamental #3
Quiz
•
University
10 questions
DL Refresher
Quiz
•
KG - Professional Dev...
12 questions
Quiz PTI Multimedia 23/24 Pertemuan 3-4
Quiz
•
University
15 questions
Internet Basics
Quiz
•
5th Grade - University
10 questions
Fun with Paint and Storage
Quiz
•
1st Grade - University
10 questions
Sains Komputer Tingkatan 4 - 3.1.1 Mengkaji keperluan intera
Quiz
•
1st Grade - Professio...
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