WorksheetsWeb Application Architecture Quiz
Total questions: 40
Worksheet time: 20mins
What is the main purpose of the World Wide Web?
Sending emails
Communication between web clients and servers
Creating social media profiles
Playing online games
Which type of architecture consists of layers such as presentation layer, business layer, and data layer?
1-tier architecture
2-tier architecture
N-tier architecture
3-tier architecture
What does the "www" in a website URL stand for?
World Wide Whiskers
Wild Web Wonders
Wacky Web Warriors
World Wide Web
Where is the user interface stored in a 2-tier architecture?
Server's side
Client's side
Database
Cloud
What does HTTPS stand for?
HyperText Transfer Protocol Server
Hypertext Transfer Protocol Secure
Highly Encrypted Transfer Protocol System
Home Entertainment Protocol System
What does a subdomain in a URL indicate?
The part or section of a webpage the user is on
The particular page of your website the web browser should serve up
The type of entity your organization registers as on the internet
The name of your website on the URL
What is the purpose of content negotiation in HTTP?
To encrypt information entered on a webpage
To serve different versions of a resource at the same URI
To define the name of a website on the URL
To specify the protocol used to access a page
In the early days of the internet, what was a "browser"?
Someone who window shops online
A person who reads books in a library
A software to surf the internet
A slow-moving dinosaur that ate only HTML
Which HTTP method is used to fetch a resource?
GET
POST
OPTIONS
HEAD
Where is the body present in an HTTP request?
Before the path of the resource
For some methods like POST
In the headers
After the version of the HTTP protocol
What does an HTTP response consist of?
Version of the HTTP protocol and status code
Status message and HTTP headers
HTTP headers and body
Status code and status message
What is the main advantage of 3-tier architecture over 2-tier architecture?
No intermediary between client and server
Avoid confusion between clients
More secure with invisible database structure
Faster speed
Which architecture is the scaled form of 1-tier, 2-tier, and 3-tier architectures?
3-tier architecture
2-tier architecture
N-tier architecture
1-tier architecture
What is the main function of a subdirectory in a URL?
To define the name of a website on the URL
To indicate the particular page of a website
To understand which part or section of a webpage the user is on
To specify the protocol used to access a page
Which layer of the 3-tier architecture is controlled at the client's device?
Data layer
Middleware
Application layer
Presentation layer
What does the top-level domain specify?
The type of entity your organization registers as on the internet
The name of your website on the URL
The particular page of your website the web browser should serve up
The type of entity your organization registers as on the internet
What is the main role of the server in client-server architecture?
Handles the application and data layers
Controls the presentation tier
Hosts, delivers, and manages most of the resources and services requested by the client
Stores the user interface and database
Which of the following is NOT a real web browser?
Google Chrome
Mozilla Firefox
Internet Explorer
Funky Chicken Go
Why did the first website ever made need therapy?
It couldn’t handle all the traffic
It had too many bugs
It was feeling a bit outdated
It couldn’t get over its homepage
What’s the primary function of a “cookie” on a website?
To deliver a freshly baked snack
To store user information
To track calories
To give your browser a sweet treat
What does DARPA stand for?
Dangerous Aliens and Really Pesky Aliens
Daring Adventurers of the Really Prehistoric Age
Defense Advanced Research Projects Agency
Department of Automated Robots and Party Animals
Tim Berners-Lee is often credited with inventing what?
The World Wide Web
The first internet meme
The recipe for digital cookies
A way to time travel through email
Why did DARPA originally create the internet?
To watch cat videos
To ensure communication in case of a nuclear attack
To send memes faster
To order pizza online
Which of these was DARPA's greatest concern when creating the internet?
Low Wi-Fi signals in space
Losing connection during a high-stakes video game
Ensuring network resilience in the face of disasters
Making sure no one accidentally deletes the entire internet
What is the purpose of a DNS server?
To store user information
To convert domain names to IP addresses
To track calories
To give your browser a sweet treat
What is the significance of the HTTP status code 404?
Server error
Page not found
Redirect
Success
Which HTTP method is used to retrieve data from a server?
POST
PUT
GET
DELETE
What is the purpose of the "Content-Type" header in an HTTP request?
To specify the type of content the server should return
To inform the server of the client's preferred language
To set the encoding for the response
To indicate the format of the data being sent to the server
Which of the following status codes indicates that the server successfully processed the request, but there is no content to return?
200
301
404
204
What does the "Authorization" header in an HTTP request typically contain?
The client's preferred encoding method
The server's authentication token
Credentials to authenticate the client with the server
The IP address of the client
Which of the following HTTP methods is typically used to update a resource on the server?
DELETE
GET
PUT
OPTIONS
What is the best bakkie brand?
Toyota
Ford
Volkswagen
Mercedes
Isuzu
Which HTML tag is used to define the main content of a document that is unique and should not be repeated?
<article>
<main>
<section>
<header>
What does the <footer> tag typically contain?
The main content of the document
The google maps link to the business location
Copyright information, links, and contact details
Strictly the social media information
Which tag is used to define a self-contained piece of content that could stand alone or be distributed independently?
<section>
<article>
<div>
<aside>
What is the purpose of the <aside> tag?
To mark the main content of the document
To include side content such as advertisements or related links
To define a side paragraph
To group content into sections on the side
What does the margin property control in CSS?
The space between the content and the border
The space between the border and the padding
The space outside the element’s border
The width of the element
Which CSS property is used to control the space between letters in a word?
word-spacing
line-height
letter-spacing
text-spacing
What is the purpose of the z-index property in CSS?
To control the transparency of an element
To stack elements on top of each other
To set the color of the element's border
To control the padding of an element
Which CSS property would you use to add shadow to a text?
text-shadow
box-shadow
font-shadow
shadow
