Understanding Python Identifiers and Operators

Understanding Python Identifiers and Operators

11th Grade

14 Qs

quiz-placeholder

Similar activities

Operators in C

Operators in C

University

12 Qs

Unit 4 Variables, Conditionals & Functions CS20-21

Unit 4 Variables, Conditionals & Functions CS20-21

9th - 12th Grade

18 Qs

quiz 2

quiz 2

8th - 11th Grade

10 Qs

L. 4. Introduction to Hypertext Pre-Processor - 5

L. 4. Introduction to Hypertext Pre-Processor - 5

12th Grade

10 Qs

BASIC C PROGRAMMING QUIZ

BASIC C PROGRAMMING QUIZ

University

15 Qs

C Programming Basics -  002

C Programming Basics - 002

University

10 Qs

Components of  a Computer Program

Components of a Computer Program

11th Grade

15 Qs

Topic 1: Keywords

Topic 1: Keywords

10th - 11th Grade

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