10NGS-Operators

10NGS-Operators

10th Grade

10 Qs

quiz-placeholder

Similar activities

Welcome and Statements Review

Welcome and Statements Review

9th - 12th Grade

15 Qs

Intro to Python Quiz

Intro to Python Quiz

6th - 10th Grade

10 Qs

Fun with Numpy

Fun with Numpy

9th - 12th Grade

10 Qs

Programming languages quiz

Programming languages quiz

6th Grade - Professional Development

8 Qs

Evaluación General de Tecnología e Informática

Evaluación General de Tecnología e Informática

10th Grade

9 Qs

Etapas de desarrollo de software

Etapas de desarrollo de software

9th - 12th Grade

7 Qs

Automações inteligentes

Automações inteligentes

1st - 12th Grade

11 Qs

ADSI Questionnaire

ADSI Questionnaire

10th - 11th Grade

10 Qs

10NGS-Operators

10NGS-Operators

Assessment

Quiz

Instructional Technology

10th Grade

Medium

Created by

RAKSMEY EN

Used 5+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Media Image

What is the output of the following Python code?

a) 3

b) 0

c) 1

d) 10

2.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What does the //= operator do in Python?

a) Performs floor division and assigns the result to the left operand

b) Performs exponentiation and assigns the result to the left operand

c) Performs modulus division and assigns the result to the left operand

d) Performs addition and assigns the result to the left operand

3.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which operator is used to check if two values are equal in Python?

a) =

b) ==

c) !=

d) >=

4.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Media Image

What is the output of the following Python code?

a) 10

b) 25

c) 7

d) 2.5

5.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Media Image

What is the value of x after executing the following code?

a) 8

b) 10

c) 2

d) 16

6.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Media Image

What is the output of the following Python code?

a) True

b) False

c) 10

d) None

7.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Media Image

What is the output of the following Python code?

a) 3

b) 3.75

c) 4

d) 0

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?