Nt1310 Unit 2 Reading Assignment

Words: 454
Pages: 2

Reading Assignments

Not much to say about the reading assignment. Although I enjoy reading the history material I am pleased it has minor significance on test. The rest of the Python material was straightforward and easy to understand. I came across an interesting online interactive version of our course text. You are probably already aware of this, but if not then check it out (Downey, Miller, & Ranum, 2014)

Programming Assignment

Last week, because of the simplicity of the assignment, I didn't take the assignment seriously and have probably lost a few points. This week I did, and found some interesting discrepancies in the assignment. Although the top requirements stipulated that a nine_lines() function had to be defined, it didn't say it had to be used. Later in the section detailing of the output source it was stipulated that we should put a marker between the nine_lines() function and clear_screen() function to make the assessment easier.

Quiz

The quiz was simple and straight forward. I did get one wrong, but it was a silly mistake. The unfortunate issue with silly mistakes, is that on a graded quiz with so few questions it would have cost me 20%. With that in mind it is good to practice use these quizzes not just to test our knowledge but also our ability to do desk checking prior to submitting.

Discussion Forum
…show more content…
local variables in the main line are visible to any function defined in that mainline. Although it would be questionable to depend on them from within a function, there might be some appropriate use for this. It appears the key factor here is that functions can access variables from where they are defined, not from where they are called. Two functions defined in a program can't view each others local variables. A function defined from within a function can (but not the other way around). Awesome question for a programmer's version of trivial