Which if the values below is an integer data type?

Data Types in Python

Quiz
•
Computers
•
10th - 11th Grade
•
Hard
Sandeep Arora
Used 16+ times
FREE Resource
16 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
1
1.0
1/2
"1"
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a String?
A data type that contains whole numbers. eg: 3, 45, 124
Numbers with decimal point. eg: 0.5, 2.45, 56.04
Group of characters between quotation marks. eg: "dog"
Data type that can only be True or False.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is an Integer?
A data type that contains whole numbers. eg: 3, 45, 124
Numbers with decimal point. eg: 0.5, 2.45, 56.04
Group of characters between quotation marks. eg: "dog"
Data type that can only be True or False.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which statement is correct?
List is immutable && Tuple is mutable
List is mutable && Tuple is immutable
Both are Mutable
Both are Immutable
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Suppose a list with name arr, contains 5 elements. You can get the 2nd element from the list using:
arr[-2]
arr[2]
arr[-1]
arr[1]
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is correct with respect to above Python code?
d={"a":3,"b":7}
a dictionary d is created.
a and b are the keys of dictionary d.
3 and 7 are the values of dictionary d
All of the above.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the result of above Python code?
dict={"Joey":1,"Rachel":2}
dict.update({"Phoebe":2})
print(dict)
{"Joey":1,"Rachel":2,"Phoebe":2}
{"Joey":1,"Rachel":2}
{"Joey":1,"Phoebe":2}
Error
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
Arrays in Java

Quiz
•
9th - 12th Grade
14 questions
Python: списки, кортеж, словник, множина

Quiz
•
9th - 12th Grade
20 questions
Python Data Types Quiz

Quiz
•
10th Grade - University
14 questions
AP CSA Review

Quiz
•
11th Grade
12 questions
Матрицы и генераторы списков

Quiz
•
10th Grade
15 questions
Exploring Python Data Structures Quiz

Quiz
•
10th Grade
20 questions
مراجعة هياكل البيانات _ الوحدة الأولى

Quiz
•
11th Grade
15 questions
Python Unit 8 Quiz

Quiz
•
9th - 12th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Computers
25 questions
Spanish preterite verbs (irregular/changed)

Quiz
•
9th - 10th Grade
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1

Quiz
•
9th - 12th Grade
20 questions
Distance, Midpoint, and Slope

Quiz
•
10th Grade
20 questions
Figurative Language Review

Quiz
•
10th Grade
20 questions
Understanding Linear Equations and Slopes

Quiz
•
9th - 12th Grade