Search Header Logo

Quiz on Data Types and Complex Numbers

Authored by Hamish Spencer

Computers

11th Grade

Quiz on Data Types and Complex Numbers
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following are immutable? (1 Point)

Number

String

Tuple

All of the above

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Scientific notation for float number 0.0001234 is _______ (1 Point)

1234e-10

1.234e-04

0.1234E-6

None of the above

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is true about complex numbers? (1 Point)

The real and imaginary component can be a float

The real part should be a number

Scientific notation cannot be used in a complex number

All of the above

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which conversion can the int() function not do?

string to integer

hexadecimal to integer

float to integer

Complex number to integer

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following are mutable?

List

Dictionary

Set

All of the above

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the value of the arithmetic expression 5*2**10?

100

5120

10000000000

None of the above

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is true?

9%2=4

9//2=4

9/2=4

None of the above

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?