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
Динамические библиотеки

Quiz
•
University
10 questions
Python Programming Concepts Challenge

Quiz
•
10th Grade - University
10 questions
Python Basics

Quiz
•
University
10 questions
C++ vs Python: A Quiz Introduction

Quiz
•
11th Grade - University
10 questions
Understanding Procedures in Python

Quiz
•
9th Grade - University
10 questions
Session 2

Quiz
•
University
10 questions
Quiz6

Quiz
•
University
10 questions
Day1

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University