Web App Development 2 - 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.
pull, add, commit, push
push, add, commit, pull
push, commit, add, pull
pull, commit, push, add
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 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 structural design of shared information; the searching and navigation of information; and logical design of the database.
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 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.
The hypertext structure, the demand by users for instant availability, the variety of devices and the different web frameworks.
The variety of devices, the simplicity of the HTTP protocol, and the composition of the development team.
4. The responsibilities of the middleware include: (select option where all correctly apply):
handle incoming requests from clients, request data from a database, return an html/xml response to the client
handle incoming requests from clients and servers, request data from server, return a html/xml response to the client and server.
handle incoming request from clients, request data from a database, return a html/xml response to the server
handle incoming requests from servers, request data from the client, return an html/xml response to the server
5. When using HTTP, two methods are commonly used. Select the statement that best describes what each method does.
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 as key-value pairs, POST sends data packaged part of the message
PUSH sends the data as part of the message, GET appends data to the URL key-value pairs
GET sends data packaged as part of the message, POST appends data to the URL as key-value pairs
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 by 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 without reloading the page, to receive and work with data from the server, using any type data
make requests by reloading the page, to receive and work with data from the server, using only xml 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 the client application version, flexible user interface, low entry barrier to installation, and application can be released often.
difficult to tamper with the application, requires session management, no access to local file system, and high barrier to installation.
low entry barrier to installation, application can be released often, requires session management, and there is no application container model.
control over client application version, easy to update the application, performance issues, and needs to handle a variety of browser/devices.
8. Web Application Frameworks have both benefits and drawbacks, which of the following statements best enumerates the benefits and drawbacks:
steep learning curve, enables rapid development, typically poorly documented, and introduces code bloat
Enables rapid development, reduces boilerplate code, introduces code bloat, and increased performance
Enables rapid development, decreases code bloat, reduces boiler plate code and decreases performance
increases reliability, increased security, increased performance, and typically poorly documented
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.
easier to maintain, decreases the development overheads, provides reusable views and models, requires knowledge of design patterns
easier to maintain, helps enforce logical separation of concerns, provides reusable models, debugging can be problematic
decreases the development overheads, requires knowledge of design patterns, provides reusable views, harder to maintain
provides reusable models, but not reusable views, requires knowledge of design patterns, debugging can be problematic
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
increases the scalability, increases the communication costs, and increases coupling
decreases the scalability, decreases the communication costs, and encapsulates the complexity
11. What sequence of commands would you issue to upload and share your code in a GitHub repository? You can assume the added code wont cause a conflict with existing code.
pull add commit push
push commit add pull
pull commit push add
push add commit pull
12. The typical architecture of a web application follows a:
Model View Template
Two tier architecture
Three Tier architecture
Model View Controller
13. What design pattern does the django web application use:
Subject Observer Pattern
Model View Controller Pattern
Factory Pattern
Model View Template Pattern
14. An overriding principle when design web applications is:
concerns separation
separation of content
keep’em separated
separation of concerns
15. 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 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.
16. What does HTTP stand for?
Hyper Text The Protocol
The good of all internet citizens
Hyper Text Transfer Protocol
Hyper Text Transfer Process
17. The two most frequently used in HTTP requests are:
GET and POST
PUSH and PULL
FETCH and POST
PUSH and GET
18. Which problem does HTTP suffer from:
entomophobia, fear of being crawled
statuslessness, maintains no status
statelessness, maintains no state
statefulness, maintains state
19. AJAX stands for:
Asynchronous JavaScript and eXtensible Markup Language
Amsterdam Football club
Asynchronous JavaScript and eXtensible Makeup Language
Asynchronous Java and Extensible Markup Language
20. AJAX enables us to (Select the option where all statements apply):
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 any type data
make requests without reloading the page, to receive and work with data from the server, using any type data
make requests by reloading the page, to receive and work with data from the server, using only xml data
Submit Quiz