题目内容

RottenPotatoes' target uptime is 99.9%. Yesterday there was a one hour outage. Which statement is true:

A. Because of the outage, RottenPotatoes has no hope of meeting its uptime goal this year
B. RottenPotatoes can still meet its uptime goal if there are no further outages this year
C. If no users actually tried to get to the site during the outage, uptime wasn’t hurt
D. There isn’t enough information to determine whether RottenPotatoes can meet its user-perceived uptime goal

查看答案
更多问题

Which of the following are benefits of using design patterns?(i) Apply well-known solutions to common problems(ii) Help to develop high-level architecture of software(iii) Improve ability to reuse existing implementations(iv) Improve communication between developers by providing well-known names for software interactions

A. i and iii
B. ii and iii
C. i, ii, and iii
D. i, ii, iii, and iv

When using JavaScript for client-side form validation, which is NOT true?

A. JavaScript code can inspect DOM element attributes to see what the user typed
B. JavaScript code can prevent the "Submit" button from submitting the form
C. Validations that are impractical to perform on client (for example, zip code validation) may still be done on server
D. It reduces work for the server, since the server doesnt have to repeat validations already performed by JavaScript

Which pattern(s) help to hide the structure of a container from clients:(i) Visitor Pattern(ii) Observer Pattern(iii) Iterator Pattern(iv) Strategy Pattern

A. iii
B. i and iii
C. ii and iii
D. iii and iv

Suppose we have setup the foreign key movie_id in reviews table. If we then add has_many :reviews to Movie, but forget to put belongs_to :movie in Review, what happens?

A. We can say movie.reviews, but review.movie won't work
B. We will get a database error when trying to save a Review
C. We will have no way of determining which movie a given review is associated with
D. All of the above

答案查题题库