Web App Development 2 - 2016 - Section A
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.
push, add, commit, pull
pull, commit, push, add
pull, add, commit, push
push, commit, add, pull
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:
The structural design of shared information; the searching and navigation of information; and logical design of the database.
The organization and labeling of information, the structure and nature of the application, and building the interface.
The art and science of shaping the information experiences; designing the wireframes, and building the interface.
The logical design of the database, the structural design of shared information, and the structural design of the application.
3. Building web applications involves an array of challenges and complexities, these include:
The variety of devices, the simplicity of the HTTP protocol, and the composition of the development team.
The hypertext structure, the demand by users for instant availability, the variety of devices and the different web frameworks.
The lack of an accepted development methodology, the hypertext structure, the homogeneous user populations.
The composition of the development team, the immature and legacy technologies, and the low expectations of users.
4. The responsibilities of the middleware include: (select option where all correctly apply):
handle incoming requests from servers, request data from the client, return an html/xml response to the server
handle incoming requests from clients, request data from a database, return an html/xml response to the client
handle incoming request from clients, request data from a database, return a html/xml response to the server
handle incoming requests from clients and servers, request data from server, return a html/xml response to the client and server.
5. When using HTTP, two methods are commonly used. Select the statement that best describes what each method does.
GET appends data to the URL as key-value pairs, POST sends data packaged part of the message
GET sends data packaged as part of the message, POST appends data to the URL as key-value pairs
PUSH sends the data as part of the message, GET appends data to the URL key-value pairs
POST appends data to the URL as key-value pairs, PUSH sends the data as part of the message
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).
make requests without reloading the page, to receive and work with data from the server, using any type data
make requests without reloading the page, to receive and work with data from the server, using only xml data
make requests by reloading the page, to receive and work with data from the server, using only xml data
make requests by reloading the page, to receive and work with data from the server, using any type data
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?
control over client application version, easy to update the application, performance issues, and needs to handle a variety of browser/devices.
control over the client application version, flexible user interface, low entry barrier to installation, and application can be released often.
low entry barrier to installation, application can be released often, requires session management, and there is no application container model.
difficult to tamper with the application, requires session management, no access to local file system, and high barrier to installation.
8. Web Application Frameworks have both benefits and drawbacks, which of the following statements best enumerates the benefits and drawbacks:
Enables rapid development, reduces boilerplate code, introduces code bloat, and increased performance
increases reliability, increased security, increased performance, and typically poorly documented
Enables rapid development, decreases code bloat, reduces boiler plate code and decreases performance
steep learning curve, enables rapid development, typically poorly documented, and introduces code bloat
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.
provides reusable models, but not reusable views, requires knowledge of design patterns, debugging can be problematic
decreases the development overheads, requires knowledge of design patterns, provides reusable views, harder to maintain
easier to maintain, helps enforce logical separation of concerns, provides reusable models, debugging can be problematic
easier to maintain, decreases the development overheads, provides reusable views and models, requires knowledge of design patterns
10. An N-Tier architecture creates a number of problems for developers, but also provides a number of benefits:
increases the scalability, decreases the communication costs, and increases coupling
increases the scalability, increases the communication costs, and encapsulates the complexity
decreases the scalability, decreases the communication costs, and encapsulates the complexity
increases the scalability, increases the communication costs, and increases coupling
Submit Quiz