Python - Data Types
Quiz
•
Instructional Technology, Education
•
12th Grade - University
•
Practice Problem
•
Hard
Teaching Assistant Ivy
Used 39+ times
FREE Resource
Enhance your content in a minute
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following are immutable
Number
String
Tuple
All of the above
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is true about complex numbers?
The real and imaginary component can be float
The real part should be an integer
Scientific notation cannot be used in complex number
All of above
3.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
The int() function can be useful to convert
string to integer
hexadecimal to integer
float to int
complex number to int
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a valid integer in Python?
0o123
123
0123
0x123
5.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Which of the following are valid complex number objects?
4+5j
5j+4
0j
5+4
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
An Expression 'str' in 'string' will return
True
False
ValueError
TypeError
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these is not a core data type?
List
Tuple
Dictionary
Class
Create a free account and access millions of resources
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
TIK KELAS X
Quiz
•
9th Grade - Professio...
15 questions
Sensory Testing
Quiz
•
7th - 12th Grade
10 questions
Vocabulary
Quiz
•
4th - 12th Grade
14 questions
Project Implementation 2
Quiz
•
University
10 questions
Information Demand
Quiz
•
University
10 questions
Tes Wawasan Desain Grafis
Quiz
•
University
10 questions
Global Urban Farming
Quiz
•
University
10 questions
What is Diabetic ?
Quiz
•
University
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
Discover more resources for Instructional Technology
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
20 questions
Christmas Movie Trivia
Quiz
•
9th - 12th Grade
20 questions
Christmas Trivia
Quiz
•
5th - 12th Grade
20 questions
Stages of Meiosis
Quiz
•
9th - 12th Grade
11 questions
Solve Systems of Equations and Inequalities
Quiz
•
9th - 12th Grade
16 questions
AP Biology: Unit 2 Review (CED)
Quiz
•
9th - 12th Grade
20 questions
Winter Jokes
Quiz
•
5th - 12th Grade
