Basic Python Data Types
Quiz
•
Computers
•
Professional Development
•
Practice Problem
•
Medium
Wooihaw Tan
Used 340+ times
FREE Resource
Enhance your content in a minute
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
In Python 3, the maximum value for an integer is 263 - 1:
True
False
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the output when the following Python code is executed?
a = 3
b = '5'
c = '2'
print(a * b + c)
17
352
5552
Error message
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following Python code?
a = 13.5
b = -24.6
a, b = b, a
print(a, b)
13.5 -24.6
-24.6 13.5
-13.5 24.6
13.5 24.6
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following Python code?
print('Hello' + "world!")
Helloworld!
Hello world!
'Hello' "world!"
Error message
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the output be from the following Python code?
print(3+4)
3+4
7
SyntaxError
print(3+4)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output from the following Python code?
print("3+4")
7
3+4
34
SyntaxError
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following data types can consist of numbers, alphabets and symbols?
String
Integer
Float
Boolean
8.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following data types is the most appropriate for 23 June 2020?
Float
Boolean
Integer
String
Similar Resources on Wayground
12 questions
Computer Networking Fundamentals
Quiz
•
Professional Development
11 questions
DECI - M3 - W4 - Round2
Quiz
•
Professional Development
10 questions
python quiz
Quiz
•
6th Grade - Professio...
10 questions
Scratch
Quiz
•
KG - Professional Dev...
13 questions
ISC2 - Chapter 1 - Module 3 - G2
Quiz
•
Professional Development
10 questions
QR Code
Quiz
•
Professional Development
11 questions
KidSS Drone Quiz
Quiz
•
Professional Development
10 questions
USE OF ICT IN THE LEARNING PROCESS
Quiz
•
Professional Development
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
