Python Skills

Python Skills

1st Grade - Professional Development

15 Qs

quiz-placeholder

Similar activities

Object oriented programming

Object oriented programming

9th - 12th Grade

20 Qs

CSP 1.4 Vocab

CSP 1.4 Vocab

9th - 12th Grade

20 Qs

OO Programming OCR A level

OO Programming OCR A level

10th Grade - University

20 Qs

Creating and using classes in Python

Creating and using classes in Python

9th - 12th Grade

15 Qs

OOP Java

OOP Java

12th Grade

20 Qs

Lesson 1 What is Programming?

Lesson 1 What is Programming?

10th Grade

15 Qs

Object Oriented Programming Quizizz

Object Oriented Programming Quizizz

10th Grade - University

11 Qs

AP CSA Midterm Concept Review 1

AP CSA Midterm Concept Review 1

12th Grade

20 Qs

Python Skills

Python Skills

Assessment

Quiz

Science, Computers, Mathematics

1st Grade - Professional Development

Hard

Created by

Osmar García

Used 52+ times

FREE Resource

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
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?