Python Comparison , logical operators & If statement

Python Comparison , logical operators & If statement

9th - 12th Grade

30 Qs

quiz-placeholder

Similar activities

PLTW CSE Quiz - Activities 1.1.1 thru 1.1.3

PLTW CSE Quiz - Activities 1.1.1 thru 1.1.3

9th - 12th Grade

25 Qs

Data handling 28/06/23

Data handling 28/06/23

11th Grade

28 Qs

Python Flow Control

Python Flow Control

9th - 12th Grade

26 Qs

PLTW CSE Unit 1.3 Review

PLTW CSE Unit 1.3 Review

9th - 12th Grade

35 Qs

Loops Quiz

Loops Quiz

9th - 12th Grade

25 Qs

Understanding Input, Selection and Loops in Python

Understanding Input, Selection and Loops in Python

7th Grade - University

25 Qs

The First Programming Languages

The First Programming Languages

9th - 12th Grade

26 Qs

AP CSA |U2 L2 Operators & Expressions by Mr. B

AP CSA |U2 L2 Operators & Expressions by Mr. B

12th Grade

25 Qs

Python Comparison , logical operators & If statement

Python Comparison , logical operators & If statement

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

Yousra Abdelhamed

Used 39+ times

FREE Resource

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

Operators are used to perform operations on values and variables .The value the operator operates on is known as- --------------

Operands

symbols

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

In Python Comparison operators are also called -----------------------

Relational operators

Operand

Boolean value

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

-------------------they compares the operands on either side (the values) and determine the relation between them

Relational operators

Comparison operators

All that mentioned

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

•The output of the comparison results in ----------------according to the condition.

a Boolean value

returns True or False

All that mentioned

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

-------------------they compares the operands on either side (the values) and determine the relation between them

logical operators

Comparison operators

All that mentioned

Arithmetic operators

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Checks whether two operands are equal we use ---------------operator

==

=

>=

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Checks whether two operands are not equal we use ---------------operator

==

!=

>=

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?