Python Operators and Expressions

Python Operators and Expressions

Assessment

Flashcard

Computers

10th Grade

Hard

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

17 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What is the output of the following snippet if the user enters two lines containing 2 and 4 respectively?

Media Image

Back

8.0

2.

FLASHCARD QUESTION

Front

What is the output of the following snippet?
x = 1 / 2 + 3 // 3 + 4 ** 2

Back

17.5

3.

FLASHCARD QUESTION

Front

What is the output of the following snippet if the user enters two lines containing 2 and 4 respectively? Options: 4, 6, 24, 2

Media Image

Back

6

4.

FLASHCARD QUESTION

Front

The ' \n ' diagraph forces the print() function to:

Back

break the output line

5.

FLASHCARD QUESTION

Front

What is the output of the following snippet if the user enters two lines containing 11 and 4 respectively? Options: 2, 4, 3, 1

Media Image

Back

1

6.

FLASHCARD QUESTION

Front

What is the output of the following snippet if the user enters two lines containing 2 and 4 respectively? Options: 4, 2, 6, 24

Media Image

Back

24

7.

FLASHCARD QUESTION

Front

The meaning of the 'keyword parameter' is determined by:

Back

the arguments name specified along with its value

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

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?