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.
push, add, commit, pull
push, commit, add, pull
pull, add, commit, push
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 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 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 lack of an accepted development methodology, the hypertext structure, the homogeneous user populations.
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 servers, request data from the client, return an html/xml response to the server
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.
PUSH sends the data as part of the message, GET appends data to the URL key-value pairs
GET appends data to the URL as key-value pairs, POST sends data packaged part of the message
POST appends data to the URL as key-value pairs, PUSH sends the data as part of the message
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 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
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.
low entry barrier to installation, application can be released often, requires session management, and there is no application container model.
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.
8. Web Application Frameworks have both benefits and drawbacks, which of the following statements best enumerates the benefits and drawbacks:
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
increases reliability, increased security, increased performance, and typically poorly documented
Enables rapid development, reduces boilerplate code, introduces code bloat, and increased performance
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
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
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:
decreases the scalability, decreases the communication costs, and encapsulates the complexity
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
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.
push add commit pull
push commit add pull
pull commit push add
pull add commit push
12. The typical architecture of a web application follows a:
Two tier architecture
Three Tier architecture
Model View Template
Model View Controller
13. What design pattern does the django web application use:
Model View Template Pattern
Factory Pattern
Subject Observer Pattern
Model View Controller Pattern
14. An overriding principle when design web applications is:
separation of concerns
concerns separation
keep’em separated
separation of content
15. The responsibilities of the middleware include: (select option where all correctly apply):
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.
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
16. What does HTTP stand for?
Hyper Text The Protocol
The good of all internet citizens
Hyper Text Transfer Process
Hyper Text Transfer Protocol
17. The two most frequently used in HTTP requests are:
PUSH and GET
GET and POST
FETCH and POST
PUSH and PULL
18. Which problem does HTTP suffer from:
statefulness, maintains state
statuslessness, maintains no status
statelessness, maintains no state
entomophobia, fear of being crawled
19. AJAX stands for:
Asynchronous JavaScript and eXtensible Markup Language
Asynchronous Java and Extensible Markup Language
Asynchronous JavaScript and eXtensible Makeup Language
Amsterdam Football club
20. AJAX enables us to (Select the option where all statements apply):
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
Submit Quiz