Basic Python Data Types

Quiz
•
Computers
•
Professional Development
•
Medium
Wooihaw Tan
Used 339+ times
FREE Resource
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
10 questions
A+ Core 1 Printer Troubleshooting

Quiz
•
University - Professi...
10 questions
Python Basics

Quiz
•
Professional Development
10 questions
IT ENGLISH: Research Project Topics - Programming Languages

Quiz
•
Professional Development
7 questions
Python VII

Quiz
•
Professional Development
10 questions
Python Competition

Quiz
•
Professional Development
10 questions
[S3 Q2 10-12] Python z minecraftem

Quiz
•
Professional Development
12 questions
StreamQuiz

Quiz
•
Professional Development
11 questions
Python: Quiz 1.03 - Code Structure and Workings

Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
11 questions
All about me

Quiz
•
Professional Development
10 questions
How to Email your Teacher

Quiz
•
Professional Development
15 questions
Fun Random Trivia

Quiz
•
Professional Development
22 questions
Anne Bradstreet 1612-1672

Quiz
•
Professional Development
18 questions
Spanish Speaking Countries and Capitals

Quiz
•
KG - Professional Dev...
14 questions
Fall Trivia

Quiz
•
11th Grade - Professi...
15 questions
Disney Characters Quiz

Quiz
•
Professional Development
15 questions
Quiz to Highlight Q types & other great features in Wayground

Quiz
•
Professional Development