3 pts One way to understand the Agile and Waterfall...

This preview shows page 1 - 3 out of 6 pages.

Midterm CSCE 606 Software Engineering Spring 2017 Name________KEY_______________________ UIN________________________________ Consultation of books, notes, neighbors, or electronic devices is NOT allowed! Time limit: 75 minutes There is ONE correct answer to each question, EXCEPT AS NOTED . If you think several answers are correct, select the best answer. 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 ONE of 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 Architectural Design phase, in that you interact with the customer to design the overall software system with user stories, lo-fi UI and storyboards. D. None of the above: none of the above phases of the Waterfall lifecycle corresponds to the Agile lifecycle.
2. (3 pts) Which of the following is NOT a 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 even? ; self.size % 2 == 0 ; end # example call: "cool".even? # => true 5. (3 pts) MARK ALL of the following statements that are TRUE regarding Listing 1, checking if a string has an even- numbered length. A. You could add this method to the String class by reopening String and defining even? as an instance method there. B. You could add this as a class method in the String class by putting it in a module, reopening String, and using include to "mix" that module into String. C. The method can also be called as even?("cool") D. The method will work correctly when mixed into any class whose instances respond to size by returning their size as an integer. E. The method will work correctly if the class includes the <=> (spaceship) instance method. .
Listing 2. 1 class Professor 2 attr_accessor :agility 3 def initialize(tasks=0) 4 @tasks = tasks 5 end 6

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture