Search Header Logo

python quiz

Authored by Yu Lun Hsieh

Computers

1st - 5th Grade

Used 1+ times

python quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A(n) _____ is a variable that receives an argument that is passed into a function

Argument

Parameter

Named Constant

Global Variable

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In python the ' STRING data type' can be defined as...?

holds alphanumeric text
hold whole numbers
holds numbers with a decimal point
holds either a true or false value

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Gjdk is not a good name for a variable, why?

It starts with a capital letter.

It does not contain any spaces.

There are no vowels.

It's meaningless.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Variable names can start with...

...only capital letters.

...any number, letter or an underscore (_).

...any letter or symbol.

...any letter or an underscore (_).

5.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

哪個資料型態是浮點數

3

3.1

3.0

28

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

下列哪一個是列表list

(1, 2, 3)

{1, 3, 5}

[2, 5, 7]

{1:2, 4:5}

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In python the ' INTEGER data type' can be defined as...?

holds alphanumeric data as text
holds whole numbers
holds numbers with a decimal point
holds either ‘true’ or ‘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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?