Python Skills

Python Skills

1st Grade - Professional Development

15 Qs

quiz-placeholder

Similar activities

Object Oriented Programming in Python

Object Oriented Programming in Python

12th Grade

10 Qs

Java Class vocabulary

Java Class vocabulary

9th Grade - University

12 Qs

C++ Quiz-1

C++ Quiz-1

University

15 Qs

Object Oriented Programming Assessment 1

Object Oriented Programming Assessment 1

University

15 Qs

Object Oriented Programming Evaluation 4

Object Oriented Programming Evaluation 4

University

15 Qs

Object Orientated Programming (BTEC Computing)

Object Orientated Programming (BTEC Computing)

11th - 12th Grade

18 Qs

OOP Terms

OOP Terms

Professional Development

10 Qs

STM 20483 QUIZ 1

STM 20483 QUIZ 1

University

10 Qs

Python Skills

Python Skills

Assessment

Quiz

Science, Computers, Mathematics

1st Grade - Professional Development

Hard

Created by

Osmar García

Used 45+ 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?