10NGS-Operators

10NGS-Operators

10th Grade

10 Qs

quiz-placeholder

Similar activities

01 - Aula de Introdução à Python

01 - Aula de Introdução à Python

10th Grade - University

9 Qs

ภาษา CSS

ภาษา CSS

10th Grade

13 Qs

2.5 Translators & Facilities - OCR GCSE Computer Science

2.5 Translators & Facilities - OCR GCSE Computer Science

7th - 12th Grade

13 Qs

DigiPro 7 Unit 1 Review

DigiPro 7 Unit 1 Review

9th - 12th Grade

11 Qs

Python

Python

6th - 11th Grade

10 Qs

IT Quiz

IT Quiz

1st - 12th Grade

10 Qs

Quizz pas très intéressant sur Internet

Quizz pas très intéressant sur Internet

10th Grade - Professional Development

8 Qs

Unit 3 - Week 1 (CFU)

Unit 3 - Week 1 (CFU)

10th Grade

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