Friday, 7 February 2014

CS410 Visual Programming Vurrent GDB Solution 11th Feb, 2014

This is to inform you that Graded Discussion Board (GDB) will be opened according to the following schedule:
Opening Date and Time: 10th Feb, 2014 At 12:00 A.M. (Mid-Night)
     Closing Date and Time: 11th Feb, 2014 At 11:59 P.M. (Mid-Night) 
Topic/Area for Discussion: Scope of Variable
Background: 
XYZ Technologies
XYZ Technologies is a leading international provider of automated and IT enabled solutions catering to businesses across various verticals around the globe. Since its inception in 1995, XYZ has regimented itself being committed to deliver the best software solutions. XYZ has ever since used highly experienced resources in analysis, development, quality assurance, and implementation to provide a wide range of high-quality consulting services and cost-effective development of customized application software. XYZ’s worldwide domain and subject matter expertise, proven track record and the capability to act as solution integrators can give you a truly cost-effective solution that not only meets, but surpasses your needs.
They have developed a system in which they want to keep track of an event occurring frequently in the system. They can do this by calling a function, increment the previous value of the event-occurring-counter, and print its value and then return. To accomplish this they need a variable which can retain its value even after the function returns so that in the next call to the function the previous value of the counter could be incremented by one and so on.

Evaluation:
According to your opinion, which type of variable they should use local, global, static or auto? Support your answer with valid arguments.
Instructions:
 A concise, coherent and to the point answer is preferred over lengthy comments having irrelevant details.  Comments, posted on regular Lesson's MDB or sent through email will NOT be considered in any case. Any request about such an acceptance will not be catered.