Python Numeric Types

Python Numeric Types

12th Grade

14 Qs

quiz-placeholder

Similar activities

python quiz

python quiz

6th Grade - Professional Development

10 Qs

Python Basics Quiz

Python Basics Quiz

9th - 12th Grade

10 Qs

Bài 1: Python

Bài 1: Python

9th - 12th Grade

10 Qs

Python-Basic

Python-Basic

3rd Grade - University

15 Qs

Grade 7 Quiz 5 - Python Data Types

Grade 7 Quiz 5 - Python Data Types

12th Grade

10 Qs

Python Basics

Python Basics

KG - University

15 Qs

Python Data Types Quiz

Python Data Types Quiz

10th Grade - University

11 Qs

Kuizi 1 - Python

Kuizi 1 - Python

10th Grade - University

11 Qs

Python Numeric Types

Python Numeric Types

Assessment

Quiz

Computers

12th Grade

Hard

Created by

Amy Austin

FREE Resource

14 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many numeric types are there in Python?

Two

Three

Four

Five

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a numeric type in Python?

int

float

string

complex

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the numeric type of the variable x in the example provided (x = 1)?

int

float

complex

string

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the numeric type of the variable y in the example provided (y = 2.8)?

int

float

complex

string

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the numeric type of the variable z in the example provided (z = 1j)?

int

float

complex

string

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function is used to verify the type of any object in Python?

typeOf()

getType()

typeof()

type()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an integer in Python?

A number with one or more decimals

A positive or negative whole number without decimals

A number with an "e" to indicate the power of 10

A text string

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?