3. Scientific Programming
Programming Practices — Quiz
Test your understanding of programming practices with 5 practice questions.
Practice Questions
Question 1
Which principle emphasizes designing software modules such that changes in one module require minimal modification of others?
Question 2
Which file must be present in a Python directory to make it a package that can be imported?
Question 3
In Git, which client-side hook runs after the commit message is entered and can enforce commit message formats?
Question 4
Which Sphinx extension automatically generates documentation from Python docstrings?
Question 5
Which tool is specifically designed to measure cyclomatic complexity of Python code and help identify overly complex functions?
