Python - Data Types

Python - Data Types

12th Grade - University

11 Qs

quiz-placeholder

Similar activities

Guess the country

Guess the country

1st - 12th Grade

15 Qs

Dampak Sosial Informatika

Dampak Sosial Informatika

7th - 12th Grade

15 Qs

OTK Sarpras XII KD 3.11

OTK Sarpras XII KD 3.11

12th Grade

10 Qs

LESSON 4: MY ROOM

LESSON 4: MY ROOM

University

12 Qs

External Lab AMC-105

External Lab AMC-105

University

12 Qs

Pre-test Module 1 (F) - 2025

Pre-test Module 1 (F) - 2025

University

10 Qs

FRONT OFFICE OPERATIONS II

FRONT OFFICE OPERATIONS II

University

12 Qs

REPUBLIC DAY

REPUBLIC DAY

2nd Grade - Professional Development

15 Qs

Python - Data Types

Python - Data Types

Assessment

Quiz

Instructional Technology, Education

12th Grade - University

Practice Problem

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

Already have an account?