Cambridge university press and test the program word document
CIS109 Final Exam – Fall 2016 90 points
Date you accessed the information (APA recommends including this if the information is likely to change)
URL (Web address) of the site
Publication date
Title (in italics; capitalize only the first word of title and subtitle, and proper nouns)
Run and test the program.
In a Word document, include each of the following full questions along with your answers as they pertain to the program you have chosen. If the question does not apply, simply state that.
Does the program use local variables? If so, provide an example of one that is used and describe what it is used for.
Does the program use a global variable (variable defined at the left margin outside of any function)? If so, provide an example of a global variable it uses and what it is used for as well as why it was necessary to make it global. If not, just say so.
What functions are defined?
Besides main(), choose one of the functions and describe what it does, the inputs (parameters) and output (value returned).
Describe a decision the program makes. Is it a simple if, an if else or an if elif elif…?
Does the program use nesting (nested if or nested loop)? If so, what was nested? If not, just say so.
Is a constant used in this program? If so, what is it and what is its defined value?
Is a table used in this program? If so, what does it hold? How many rows and columns are there? If not, just say so.
Why did you choose this program to analyze and present?
Turn in both the code file and a Word file containing your responses to these questions and don’t forget the citation.