Python Numeric Types

Python Numeric Types

12th Grade

14 Qs

quiz-placeholder

Similar activities

Review of python

Review of python

12th Grade

10 Qs

Python Basics Quiz for KS3

Python Basics Quiz for KS3

11th Grade - University

9 Qs

Algoritmos Simples

Algoritmos Simples

12th Grade

15 Qs

Hello World - Quiz

Hello World - Quiz

9th - 12th Grade

13 Qs

Python функциялары  7 сынып

Python функциялары 7 сынып

12th Grade - University

15 Qs

STRING MANIPULATION (PYTHON)

STRING MANIPULATION (PYTHON)

11th - 12th Grade

10 Qs

Python Intro 1

Python Intro 1

7th - 12th Grade

11 Qs

Unit 3 Review

Unit 3 Review

9th - 12th Grade

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?