Python - Data Types
Quiz
•
Instructional Technology, Education
•
12th Grade - University
•
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
10 questions
PENILAIAN KINERJA (PERFORMANCE APPRAISAL)
Quiz
•
University
10 questions
Teks Deskripsi Kelas 7 Kurikulum Merdeka
Quiz
•
12th Grade
10 questions
Hr session 3
Quiz
•
University
12 questions
Wellness Quiz
Quiz
•
9th - 12th Grade
15 questions
Error Correction Test
Quiz
•
University
15 questions
Antropometri
Quiz
•
University
10 questions
EXIT TICKET
Quiz
•
9th - 12th Grade
10 questions
Quantifiers
Quiz
•
University
Popular Resources on Wayground
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
Halloween
Quiz
•
5th Grade
16 questions
Halloween
Quiz
•
3rd Grade
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
