Search Header Logo

Python Basics for Class 9

Authored by XYHJKI XZDF

Computers

10th Grade

Used 4+ times

Python Basics for Class 9
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are the basic data types in Python?

int, float, str, bool, list, tuple, set, dict

integer, decimal, text, map

char, byte, string, array

float, number, string, object

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator is used for addition in Python?

+

-

/

*

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of 5 > 3 in Python?

True

5 == 3

5 < 3

False

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you check if two values are equal in Python?

Use '=' to assign values.

Use '!=' to check for inequality.

Check with '===' for strict equality.

Use '==' to check if two values are equal.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the data type of the value True in Python?

string

boolean

integer

float

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator is used for logical AND in Python?

and

or

&

&&

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of 10 - 4 * 2 in Python?

6

4

8

2

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?