Search Header Logo

Type Conversions and Computation

Authored by Noelyn Mandanas - De Jesus

Other

University

Used 8+ times

Type Conversions and Computation
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output of the following expression?

8

8.0

5.3

Error

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

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

  1. What is the result of print(2 * "4" + "2")?

"442"

"84"

10

Error

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output of the following?

1.5

0.5

2.0

Error

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?