Object Oriented Programming - Coursera
Object Oriented Programming - Coursera
2EMHFW2ULHQWHG3URJUDPPLQJ_&RXUVHUD
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.
1.
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.
5.
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.
9.
10.
What does the Python dir() function show when we pass an object into it as a parameter?
11.
KWWSVZZZFRXUVHUDRUJOHDUQS\WKRQGDWDEDVHVH[DPIQKEREMHFWRULHQWHGSURJUDPPLQJ
2EMHFW2ULHQWHG3URJUDPPLQJ_&RXUVHUD
KWWSVZZZFRXUVHUDRUJOHDUQS\WKRQGDWDEDVHVH[DPIQKEREMHFWRULHQWHGSURJUDPPLQJ