Understanding Python Identifiers and Operators

Understanding Python Identifiers and Operators

11th Grade

14 Qs

quiz-placeholder

Similar activities

L.5 . PYTHON - VARIABLES AND OPERATORS - 2

L.5 . PYTHON - VARIABLES AND OPERATORS - 2

12th Grade

10 Qs

II CSM A & B

II CSM A & B

University

15 Qs

C Operators and Expressions 01

C Operators and Expressions 01

University

10 Qs

Python Quiz

Python Quiz

University

10 Qs

Chap 1: What is a program made of?

Chap 1: What is a program made of?

University

13 Qs

SC C++  Quiz 1

SC C++ Quiz 1

7th - 12th Grade

15 Qs

C++ Programming

C++ Programming

University

10 Qs

Computer Science - Variable & Operators

Computer Science - Variable & Operators

12th Grade

10 Qs

Understanding Python Identifiers and Operators

Understanding Python Identifiers and Operators

Assessment

Quiz

Computers

11th Grade

Medium

Created by

Deepika A

Used 1+ times

FREE Resource

14 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What type of operators have they used in this expression 5-3*6

logical

arithmetic

relational

assignment

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What type of operators have they used in this expression

score = 0

score += 5

logical

arithmetic

relational

assignment

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

what does

score = 0

and

score == 100

mean ?

First one checks if score is equal to 0 and second one assigns the value to the variable

First one assigns to 0 and second one checks the value to the variable

Both are same .

Both checks the value

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What type of operators have they used in this expression

age >= 18

logical

arithmetic

relational

assignment

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What type of operators have they used in this expression

bill == 100 or member == true

logical

arithmetic

relational

assignment

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Out of the options which are mathematical operators

  • + - / * % //

== != > < >= <=

= += -= *= /= %=

and not or

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator is used to assign a value to a variable in Python?

+=

==

<>

=

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?