Basic Data Types in Python

Quiz
•
Computers
•
University
•
Hard
Sangameshwar Biradar
Used 9+ times
FREE Resource
6 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
In Python 3, the maximum value for an integer is 263 - 1:
False
True
None
Error
2.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
How would you express the hexadecimal value a5 as a base-16 integer constant in Python?
0xa5
oxa5
a5
xa5
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How would you express the constant floating-point value 3.2 × 10-12 in Python:
3.2E-12
-3.2E12
3.2E12
None
4.
MULTIPLE SELECT QUESTION
20 sec • 1 pt
Which of the following are valid ways to specify the string literal foo'bar in Python:
'foo' 'bar'
"foo'bar"
'foo\'bar'
"""foo'bar"""
'foo'bar'
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Consider this statement:
>>> print(r'foo\\bar\nbaz')
Which of the following is the correct REPL output?
foo\\bar\nbaz
foo\\barnbaz
foo\bar
baz
foo\bar\nbaz
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is not a Python built-in function:
diff()
refr()
round()
map()
isinstance()
Similar Resources on Wayground
10 questions
SPSS Quiz

Quiz
•
University
10 questions
Year 10 Plenary SUM,MAX, MIN, AVERAGE

Quiz
•
6th Grade - University
10 questions
Microsoft Excel Revision

Quiz
•
University
11 questions
CS1010 Lab 01

Quiz
•
University
10 questions
Python программалоо тили киришүү

Quiz
•
University
9 questions
Excel - Función CONTAR

Quiz
•
University
10 questions
Programación Avanzada II - Parte 5

Quiz
•
University
10 questions
Programación Avanzada II - Parte 1

Quiz
•
University
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
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University