10NGS-Operators

10NGS-Operators

10th Grade

10 Qs

quiz-placeholder

Similar activities

Programming Languages

Programming Languages

1st Grade - University

15 Qs

Unpuzzled ASCII

Unpuzzled ASCII

7th - 12th Grade

15 Qs

Examen de python

Examen de python

1st - 12th Grade

10 Qs

Welcome and Statements Review

Welcome and Statements Review

9th - 12th Grade

15 Qs

Sisters Through Code PreQuiz

Sisters Through Code PreQuiz

6th - 12th Grade

10 Qs

Fun with Numpy

Fun with Numpy

9th - 12th Grade

10 Qs

Data dan Operator (Pre Test)

Data dan Operator (Pre Test)

10th Grade

10 Qs

Sphero Block Coding

Sphero Block Coding

KG - 12th Grade

11 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?