Python Operator Precedence

Python Operator Precedence

Professional Development

9 Qs

quiz-placeholder

Similar activities

#Sg_Spaic Last season Quiz (ML and Python)

#Sg_Spaic Last season Quiz (ML and Python)

KG - Professional Development

10 Qs

Fall PEIMS

Fall PEIMS

Professional Development

14 Qs

Screening Cardiovascular Disease Tests and Intensive Behavioral Therapy for Cardiovascular Disease (IBT for CVD)

Screening Cardiovascular Disease Tests and Intensive Behavioral Therapy for Cardiovascular Disease (IBT for CVD)

12th Grade - Professional Development

10 Qs

Python Basics

Python Basics

Professional Development

10 Qs

TEST PAPER-TUPLE

TEST PAPER-TUPLE

Professional Development

10 Qs

Mandalorian Quiz

Mandalorian Quiz

3rd Grade - Professional Development

11 Qs

Jr cloud practitioner  (Python & BSM's)

Jr cloud practitioner (Python & BSM's)

Professional Development

10 Qs

Numpy and pandas

Numpy and pandas

Professional Development

9 Qs

Python Operator Precedence

Python Operator Precedence

Assessment

Quiz

Other

Professional Development

Hard

Created by

Ajay Tech

Used 59+ times

FREE Resource

9 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

The value of variable bmi would be

26.23

94.4

2229.7

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

For the given values of variables

  • qual
  • exp
  • Will the text "Qualified for the job" be printed or not ?

Yes

No

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A teenager is one whose age is in between 13 and 19.

Which of the following statements correctly capture the condition.

if age >=13 and age <=19 :

print ( "teenager")

if age >13 and age <19 :

print ( "teenager")

if age >=13 && age <=19 :

print ( "teenager")

if age >13 && age <19 :

print ( "teenager")

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

13 // 5


The result of the above code expression will be

2

3

2.6

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

13 % 5


The result of the above code expression will be

3

2

2.6

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

2 ** (2 + 3 )


The result of the above code expression will be

32

8

10

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

True and False


The result of the above code expression will be

False

True

Syntax error

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

True or False


The result of the above code expression will be

True

False

Syntax error

9.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

x = 3


Which of the following expression evaluates to True

x == 3

not x == 3

not not x == 3

x != 3

not x != 3