Python - Data Types

Python - Data Types

12th Grade - University

11 Qs

quiz-placeholder

Similar activities

Quiz on Code of Ethics for Professional Teachers

Quiz on Code of Ethics for Professional Teachers

University

12 Qs

UTAR Industrial Session

UTAR Industrial Session

University - Professional Development

15 Qs

Labor Relations and Negotations 1

Labor Relations and Negotations 1

University - Professional Development

15 Qs

Kuis PTK

Kuis PTK

University

10 Qs

Expressions of quantity

Expressions of quantity

10th Grade - University

10 Qs

HAND SAFETY (PART 2)

HAND SAFETY (PART 2)

KG - University

10 Qs

BTS

BTS

KG - Professional Development

16 Qs

Jurnal Transaksi

Jurnal Transaksi

University

10 Qs

Python - Data Types

Python - Data Types

Assessment

Quiz

Instructional Technology, Education

12th Grade - University

Hard

Created by

Teaching Assistant Ivy

Used 39+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

11 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following are immutable

Number

String

Tuple

All of the above

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is true about complex numbers?

The real and imaginary component can be float

The real part should be an integer

Scientific notation cannot be used in complex number

All of above

3.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

The int() function can be useful to convert

string to integer

hexadecimal to integer

float to int

complex number to int

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a valid integer in Python?

0o123

123

0123

0x123

5.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which of the following are valid complex number objects?

4+5j

5j+4

0j

5+4

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

An Expression 'str' in 'string' will return

True

False

ValueError

TypeError

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is not a core data type?

List

Tuple

Dictionary

Class

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?

Discover more resources for Instructional Technology