









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!










A design technique that helps to reduce the duplication of code within a program and is a benefit of using functions is.
When an exception is generated, it is said to have been.
This is a number that identifies an item in a list.
You can use the for loop to iterate over the individual characters in a string. - ✔✔✔ T When you call a string's split method, the method divides the string into two substrings. - ✔✔✔ F A ___ error does not prevent the program from running, but causes it to produce incorrect results.
This symbol marks the beginning of a comment in Python.
Which of the following statements will cause an error?
is true, or another path if the condition is false. - ✔✔✔ F A decision structure can be nested inside another decision structure. - ✔✔✔ T A compound Boolean expression created with the and operator is true only when both subexpressions are true. - ✔✔✔ T The while loop is a ____ type of loop.
A subclass can have a method with the same name as a method in the superclass. - ✔✔✔ T Only the _ init _ method can be overridden. - ✔✔✔ F You cannot use the isinstance function to determine whether an object is an instance of a subclass of a class. - ✔✔✔ F The ____ programming practice is centered on creating functions that are separate from the data that they work on.