10NGS-Operators

10NGS-Operators

10th Grade

10 Qs

quiz-placeholder

Similar activities

G & M codes

G & M codes

8th - 12th Grade

12 Qs

Python Functions and Method

Python Functions and Method

10th - 12th Grade

15 Qs

Setting-up a Computer Network

Setting-up a Computer Network

10th Grade

10 Qs

ADSI Questionnaire

ADSI Questionnaire

10th - 11th Grade

10 Qs

javachips

javachips

10th Grade

10 Qs

Welcome and Statements Review

Welcome and Statements Review

9th - 12th Grade

15 Qs

Fun with Numpy

Fun with Numpy

9th - 12th Grade

10 Qs

CPA UNIT 1

CPA UNIT 1

9th - 12th 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?