Search Header Logo

Understanding Data Handling in Python

Authored by Devika Pachaimuthu

Computers

11th Grade

Used 5+ times

Understanding Data Handling in Python
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are the basic data types in Python?

number, text, list, map

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

char, decimal, array, object

integer, double, string, boolean

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator is used for exponentiation in Python?

^

//

%%

**

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you convert a string to an integer in Python?

Apply float('string') for conversion to integer.

Use int('string') to convert a string to an integer.

Use str('string') to convert a string to an integer.

Use eval('string') to get an integer from a string.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the expression 5 + 3 * 2?

8

11

10

16

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you take user input in Python?

input()

get_input()

input_value()

read_input()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of print(type(3.14))?

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator is used for floor division in Python?

//

%

**

/

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

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers