Web App Development 2 - 2016

1. What sequence of commands would you issue to upload and share your new source code in a GitHub repository? You can assume the added code won’t cause a conflict with existing code.

2. At a high-level, we have two kinds of architecture to consider in web application development: Information Architecture and System Architecture. Which of the follow statements best describes the role of Information Architecture. Information Architecture is concerned with:

3. Building web applications involves an array of challenges and complexities, these include:

4. The responsibilities of the middleware include: (select option where all correctly apply):

5. When using HTTP, two methods are commonly used. Select the statement that best describes what each method does.

6. Asynchronous JavaScript and eXtensible Markup Language (also known as AJAX) is a useful combination of technologies, which enables the web app to: (select the statement that best applies).

7. Developing web applications typically involves developing distributed applications that run on web browsers. What are the problems and benefits associated with developing applications in such an environment?

8. Web Application Frameworks have both benefits and drawbacks, which of the following statements best enumerates the benefits and drawbacks:

9. Most web application frameworks make use of the Model View Controller architecture (or some variant of). What are the advantages and disadvantages of the MVC architecture. Select the statement that best applies.

10. An N-Tier architecture creates a number of problems for developers, but also provides a number of benefits:

11. CSS stands for:

12. Which CSS selector applies to all h2 tags within a class called "yellow":

13. Which CSS selector applies to all div tags within the ID called "red":

14. This question uses the following code:

p {
background-color: yellow;
border: 1px solid black;
}
p #blue {
background-color: blue;
}

Given the HTML code shown below how would the element be rendered:
<p><p id="blue">Hello World</p></p>

15. This question uses the following code:

p {
background-color: yellow;
border: 1px solid black;
}
p #blue {
background-color: blue;
}

Given the HTML code shown below how would the element be rendered:
<p><p class="blue" style="background-color: green">Goodbye World</p></p>

16. Which line of JQuery code selects the element with a class red and assigns an event to when the element is clicked:

17. Which line of code selects a paragraph element with the class "blue", and assigns a hover event to it, such that on hover the text turns "green", and off hover it turns "red".

18. The structure of Uniform Resource Locator structure is as follows:

19. REST and SOAP provide different ways for exchanging structured information. However, they both have advantages and disadvantages. Select the statement that best applies.

20. What is the role of XML on the web? Select the statement that best describes the role of XML on the web.

21. View Question Context


What line of code should be inserted at P1:

22. View Question Context


What line of code should be inserted at P2:

23. View Question Context


What line of code should be inserted at P3:

24. View Question Context


What line of code should be inserted at P4:

25. View Question Context


What line of code should be inserted at P5: