Reference no: EM133398483
Question 1. Explain 3 advantages of Cloud Computing
Question 2. What does a Package Diagram show and why would it be useful?
Question 3. Would you recommend the "Bottom Up" approach to creating a package diagram as explained in the textbook, or the "Top Down" approach I described in class? Explain your reasoning for recommending that approach.
Question 4. When designing methods, why is it important to not duplicate code in more than one place? If you do find code that has been duplicated, what should you do?
Question 5. This code fragment was discussed in class. Why would it be considered problematic?
boolean checkPassword(string name, string pwd)
{
//code to get user's password from the data store goes here
if (password == pwd)
{
session.initialize();
return true;
}
return false;
}
Question 6. What are unit tests and are they sufficient for testing software? If not, what else is needed and why?