100%(1)1 out of 1 people found this document helpful
This preview shows page 1 - 3 out of 7 pages.
Midterm CSCE 606 Software Engineering Fall 2015 Name_______________________________ UIN________________________________ Consultation of books, notes, neighbors, or electronic devices is NOTallowed! •Time limit: 75 minutes •There is one correct answer to each question, except as noted. If you think several answers are correct, select the bestanswer. •Total points is 107, will score out of 100, so up to 7 bonus points •Make sure your selection is clear! 1.(3 pts) One way to understand the Agile and Waterfall lifecycle is to realize that Agile corresponds to just ONEof the Waterfall phases. Select the single answer that applies. A.Agile corresponds to the Verification phase, in that testing plays such an important role in the Behavior Driven Design and Test Driven Development. B.Agile corresponds to the Prototyping phase, in that you build a working but incomplete prototype. C.Agile corresponds to the Operations and Maintenance phase, in that you interact with the customer to get requests for improvements to a working software system, and you must be sure that improvements do not unintentionally break existing functionality. D.None of the above: none of the phases of the Waterfall lifecycle corresponds to the full Agile lifecycle. 2.(3 pts) Which of the following is NOTa phase of the Waterfall lifecycle? 3.(3 pts) Which of the following scenarios is the least SMART? 4.(3 pts) Other factors being equal, which statement is generally TRUE regarding SaaS scalability?
Listing 1.def palindrome? ; self == self.reverse ; end# example call:"refer".palindrome? # => true5.(3 pts) Which of the following statements is TRUE regarding Listing 1, checking if a string reads the same backwards as forwards? A.You could add this method to the Stringclass by reopening String and defining palindrome? as a class method there. B.You could add this as a class method in the Stringclass by putting it in a module, reopening String,and using includeto "mix" that module into String.C.The method will work correctly when added to any class that provides a class method reverse.