What is the data type of this variable?
student = "Maria"
Python Revision
Quiz
•
Computers
•
University
•
Hard
Chempaka Seri Abdul Razak
Used 51+ times
FREE Resource
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
10 questions
Exploring Python: Input and Output Essentials
Quiz
•
9th Grade - University
15 questions
Python introduction
Quiz
•
University
10 questions
Python User Input Quiz
Quiz
•
6th Grade - University
11 questions
Basic HTML & HTML5
Quiz
•
University
10 questions
PYTHON BASICS PART 1
Quiz
•
University
15 questions
Python Programming
Quiz
•
5th Grade - University
15 questions
N4 Theory - 2
Quiz
•
12th Grade - University
10 questions
Lesson 3: Boolean Logic and Logic Gates
Quiz
•
University
15 questions
Character Analysis
Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing
Quiz
•
9th - 12th Grade
10 questions
American Flag
Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension
Quiz
•
5th Grade
30 questions
Linear Inequalities
Quiz
•
9th - 12th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25
Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers
Quiz
•
6th - 8th Grade