Search Header Logo

Quiz 2

Authored by Gabriela Martínez

Fun

Professional Development

Used 2+ times

Quiz 2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

9 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

It is a variable that increases / decreases with different values.

Accumulator

Counter

2.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Are the following instructions the same?

y += 10

y = y + 10

True

False

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the last number that the following code prints?

0

3

2

1

4.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What type of data is the following?

x = "4.7"

string

integer

boolean

float

5.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

The list is represented with its values delimited by:

" "

[ ]

{ }

( )

6.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which of the following examples represents a list?

(2, 4, 6, 8, 10)

{ “lunes”, “martes”, “miércoles”, “jueves”, “viernes”}

[“lunes”, 29.0, True, 17]

34,25

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following commands corresponds to the initialization of an empty list?

grades = [empty]

grades = [0]

grades = [ ]

grades = empty

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?