Python Final Exam Questions and
Answers2
What is encapsulation? - ANSWERS-refers to the combining of data and code into a single
object.
what is data hiding? - ANSWERS-refers to an objects ability yo hide its data attributes from code
that is outside the object.
what are public methods? - ANSWERS-methods that can be accessed by entities outside the
object
what are private methods? - ANSWERS-objects designed to execute certain methods and
automatically hide the details from the user.
what is a class? - ANSWERS-code that specifies the data attributes and methods of a particular
type of object
What is procedural programming? - ANSWERS-a function that performs specific task such as
gathering input from the user, performing calculations, reading or writing files, displaying
output and more.
What is object oriented programming? - ANSWERS-centered on creating objects
What is an object? - ANSWERS-is a software entity that contains both data and procedures.
whats are object's data attributes? - ANSWERS-variables and reference data
Answers2
What is encapsulation? - ANSWERS-refers to the combining of data and code into a single
object.
what is data hiding? - ANSWERS-refers to an objects ability yo hide its data attributes from code
that is outside the object.
what are public methods? - ANSWERS-methods that can be accessed by entities outside the
object
what are private methods? - ANSWERS-objects designed to execute certain methods and
automatically hide the details from the user.
what is a class? - ANSWERS-code that specifies the data attributes and methods of a particular
type of object
What is procedural programming? - ANSWERS-a function that performs specific task such as
gathering input from the user, performing calculations, reading or writing files, displaying
output and more.
What is object oriented programming? - ANSWERS-centered on creating objects
What is an object? - ANSWERS-is a software entity that contains both data and procedures.
whats are object's data attributes? - ANSWERS-variables and reference data