Search Header Logo

Python Quiz

Authored by ALDRICH BERNARDO

Computers

University

Used 123+ times

Python Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

11 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

1 min • 1 pt

____ (int) is a numeric data type

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

the value 23.99 is a/an

integer

float

complex

bigint

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

String is a collection of

integer

float

characters

words

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

primitive data types are stored in ____

heap

stack

ram

hard disk

Answer explanation

Stack memory stores primitive types and the addresses of objects. The object values are stored in heap memory.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To get the letter "o" in the string "Hello", we will use what value for the index?

5

6

3

4

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

len("Hello World")

Would return ...

11

12

10

13

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

String is an array

True

False

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?

Discover more resources for Computers