ANSWERS WITH COMPLETE SOLUTIONS |100% GUARANTEED
PASS
What are some immutable data types?
Tuples and strings
What are some advantages to different functions?
It makes it easier to make changes and the calling routine
does not have to worry about how the function underneath
works
What is bottom-up design?
Taking existing, simpler pieces of code and combining them to
create more complex pieces of code
Advantages to top-down design
Creates a hierarchy of functions and all code is clearly
directed toward the goal
Disadvantages of top-down design
, Code can become too specialized, missing chances to reuse
ideas. While developing, much of the code is in an incomplete
state
Advantage to bottom-up design?
Creates a hierarchy of functions, promotes code re-use, and
can be tested more easily
Disadvantages of bottom-up design
Code development tends to be less-focused on final goal
How can you access docstrings?
Help(<function name>)
What's abstraction?
We can ignore the details of how other parts of the program
work, while we focus on one particular part
What are syntax errors?
Errors that occur when the rules of the programming
language are not followed. Most times the code will not run at