Python Skills

Python Skills

1st Grade - Professional Development

15 Qs

quiz-placeholder

Similar activities

P 3.6 Teorema Pythagoras

P 3.6 Teorema Pythagoras

1st - 3rd Grade

15 Qs

La célula

La célula

5th Grade

20 Qs

orden y valor absoluto en los enteros

orden y valor absoluto en los enteros

7th Grade

10 Qs

Show What You Know - Fractions Round 2

Show What You Know - Fractions Round 2

7th Grade

12 Qs

surface area and volume of prisms

surface area and volume of prisms

8th - 12th Grade

12 Qs

Hypothesis Testing

Hypothesis Testing

11th Grade

10 Qs

Los materiales

Los materiales

1st Grade

11 Qs

2020 Sec 3E Physics Electromagnetic Spectrum Quiz

2020 Sec 3E Physics Electromagnetic Spectrum Quiz

9th - 10th Grade

12 Qs

Python Skills

Python Skills

Assessment

Quiz

Science, Computers, Mathematics

1st Grade - Professional Development

Practice Problem

Hard

Created by

Osmar García

Used 52+ times

FREE Resource

AI

Enhance your content in a minute

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

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

Media Image

What is the correct syntax for creating a variable that is bound to a set?

A

B

C

D

2.

MULTIPLE CHOICE QUESTION

1 min • 3 pts

Media Image

This code provides the ______ of the list of the numbers.

A

B

C

D

3.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

Media Image

What is the correct syntax for defining an __init__() method that takes no parameters?

A

B

C

D

4.

MULTIPLE CHOICE QUESTION

1 min • 4 pts

What is the difference between class attributes and instance attributes?

Class attributes are shared by all instances of the class. Instance attributes may be unique just to that instance.

There is no difference between class attributes and isntance attributes.

Instance attributes can be charged, but class attributes cannot be changed.

Class attributes belong just to the class, not to instances of that class. Instance attributes are shared among all instances of a class.

5.

MULTIPLE CHOICE QUESTION

1 min • 4 pts

Media Image

Which command will create a list from 10 down to 1? For example [10,9,8,7,6,5,4,3,2,1]

A

B

C

D

6.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

Media Image

What is the correct syntax for creating a variable that is bound to a dictionary?

A

B

C

D

7.

MULTIPLE CHOICE QUESTION

1 min • 3 pts

Media Image

What is the output of the code?

A

B

C

D

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?