0% found this document useful (0 votes)
383 views

Object Oriented Programming - Coursera

The document is a test results summary from an Object Oriented Programming course on Coursera. It indicates the user answered 7 out of 11 questions correctly on a test about object oriented programming concepts in Python. It states they have not passed the test yet, needing at least 9 correct answers. It encourages the user to review the material and try taking the test again, as they are allowed 3 retakes every 8 hours.

Uploaded by

Olof Andersson
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
383 views

Object Oriented Programming - Coursera

The document is a test results summary from an Object Oriented Programming course on Coursera. It indicates the user answered 7 out of 11 questions correctly on a test about object oriented programming concepts in Python. It states they have not passed the test yet, needing at least 9 correct answers. It encourages the user to review the material and try taking the test again, as they are allowed 3 retakes every 8 hours.

Uploaded by

Olof Andersson
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

2EMHFW2ULHQWHG3URJUDPPLQJ_&RXUVHUD

Object Oriented Programming

7/11questions correct
You haven't passed yet. You need at least9questions correct to pass.
Review the material and try again! You have 3 retakes every 8 hours.

Review Related Lesson (/learn/python-databases/home/week/1)

1.

Which came first, the instance or the class?

2.

In Object Oriented Programming, what is another name for the "attributes" of an object?

KWWSVZZZFRXUVHUDRUJOHDUQS\WKRQGDWDEDVHVH[DPIQKEREMHFWRULHQWHGSURJUDPPLQJ

2EMHFW2ULHQWHG3URJUDPPLQJ_&RXUVHUD

3.

At the moment of creation of a new object, Python looks at the _________ definition to define the structure and
capabilities of the newly created object.

4.

Which of the following is NOT a good synonym for "class" in Python?

5.

What does this Python statement do if PartyAnimal is a class?


6.

What is the syntax to look up the fullname attribute in an object stored in the variable colleen?

7.

KWWSVZZZFRXUVHUDRUJOHDUQS\WKRQGDWDEDVHVH[DPIQKEREMHFWRULHQWHGSURJUDPPLQJ

2EMHFW2ULHQWHG3URJUDPPLQJ_&RXUVHUD

Which of these statements is used to indicate that class A will inherit all the features of class B?

8.

What keyword is used to indicate the start of a method in a Python class?

9.

What is "self" typically used for in a Python method within a class?

10.

What does the Python dir() function show when we pass an object into it as a parameter?

11.

Which of the following is rarely used in Object Oriented Programming?

KWWSVZZZFRXUVHUDRUJOHDUQS\WKRQGDWDEDVHVH[DPIQKEREMHFWRULHQWHGSURJUDPPLQJ

2EMHFW2ULHQWHG3URJUDPPLQJ_&RXUVHUD

KWWSVZZZFRXUVHUDRUJOHDUQS\WKRQGDWDEDVHVH[DPIQKEREMHFWRULHQWHGSURJUDPPLQJ

You might also like