What is the output of the following expression?
Type Conversions and Computation

Quiz
•
Other
•
University
•
Hard
Noelyn Mandanas - De Jesus
Used 8+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
8
8.0
5.3
Error
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of the following?
9.0
9
8
4.52
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be printed?
print(10 // 3)
3.33
3.0
3
4
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of print(2 + 3 * 4.0)?
20.0
14.0
11.0
Error
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of print(7 - 2.5)?
4.5
5.0
5
None
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of print(2 * "4" + "2")?
"442"
"84"
10
Error
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following?
1.5
0.5
2.0
Error
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
Primitive Types

Quiz
•
10th Grade - University
21 questions
Python QCM

Quiz
•
University
17 questions
Basics of Programming with C

Quiz
•
University
20 questions
Java Debugging Questions - H

Quiz
•
University
15 questions
PRF102 - Review 2

Quiz
•
University
20 questions
Java Simple - 1

Quiz
•
University
16 questions
B4 - More about Strings

Quiz
•
University
20 questions
CodeMavarick

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade