Menti Review Questions Flashcards
Is HTML more of a WWW or Internet technology?
A. WWW
B. Internet
A. WWW
Is email more of a WWW or Internet technology?
A. WWW
B. Internet
B. Internet
Is multiplayer Halo more of a WWW or Internet technology?
A. WWW
B. Internet
B. Internet
Is blogging more of a WWW or Internet technology?
A. WWW
B. Internet
A. WWW
Is chat more of a WWW or Internet technology?
A. WWW
B. Internet
B. Internet
Are podcasts more of a WWW or Internet technology?
A. WWW
B. Internet
WWW and Internet
What is the biggest problem with IPv4?
A. Slow
B. Old
C. Not enough addresses
D. Not everyone has it
C. Not enough addresses
Only 32 bits of address space vs 128 bits supported by IPv6
What is the biggest problem with IPv6?
A. Slow
B. Old
C. Not enough addresses
D. Not everyone has it
D. Not everyone has it
Internet is the global ___________________.
A. Network of computers
B. Network of networks
C. Network of pages
B. Network of networks
Ethernet is used to connect ____________________.
A. Computers on network
B. Networks on internet
C. Web pages with hyperlinks
A. Computers on network
IPv4/IPv6 is used to connect ____________________.
A. Computers on network
B. Networks on internet
C. Web pages with hyperlinks
B. Networks on internet
Which one goes inside of the other?
A. IPv4/IPv6 packet inside of Ethernet packet
B. Ethernet packet inside of IPv4/IPv6 packet
A. IPv4/IPv6 packet inside of Ethernet packet
DNS usually goes over (inside)?
A. UDP
B. TCP
A. UDP
HTTP 1 usually goes over (inside)
A. UDP
B. TCP
B. TCP
TCP usually goes over (inside)?
A. UDP
B. IP
C. HTTP
D. DNS
B. IP
DNS can be slow because…
A. UDP is slow
B. IP is slow
C. Might need to contact multiple servers
D. It doesn’t use TCP
C. Might need to contact multiple servers
The primary purpose of DNS is…
A. Sending websites
B. Uploading files
C. Interconnecting networks
D. Names to numbers
D. Names to numbers
DNS turns the name of a site into either an IPv4 or IPv6 address
The primary purpose of HTTP is…
A. Sending websites
B. Uploading files
C. Interconnecting networks
D. Names to numbers
A. Sending websites
First part of a URL (URI)?
A. fragment/argument
B. query
C. host
D. scheme/protocol
E. path
F. login
D. scheme/protocol
e.g. http, https
Second part of a URL (URI)?
A. fragment/argument
B. query
C. host
D. scheme/protocol
E. path
F. port
C. host
Third part of a URL (URI)?
A. fragment/argument
B. query
C. host
D. scheme/protocol
E. path
F. port
F. port
Fourth part of a URL (URI)?
A. fragment/argument
B. query
C. host
D. scheme/protocol
E. path
F. port
E. path
Fifth part of a URL (URI)?
A. fragment/argument
B. query
C. host
D. scheme/protocol
E. path
F. port
B. query
Last part of a URL (URI)?
A. fragment/argument
B. query
C. host
D. scheme/protocol
E. path
F. port
A. fragment/argument
What separates the scheme from the host in a URL (URI)?
A. ?
B. @
C. /
D. #
E. :
F. ://
F. ://
What separates the scheme and something else, for schemes that don’t have a host?
A. ?
B. @
C. /
D. #
E. :
F. ://
E. :
The “something else” is referring to the port number
What separates the host from the port in a URL (URI)?
A. ?
B. @
C. /
D. #
E. :
F. ://
E. :
What separates host/port and path of a URL (URI)?
A. ?
B. @
C. /
D. #
E. :
F. ://
C. /
What separates the path and query of a URL (URI)?
A. ?
B. @
C. /
D. #
E. :
F. ://
A. ?
What separates the path/query and fragment of a URL (URI)?
A. ?
B. @
C. /
D. #
E. :
F. ://
D. #
Fix this URL: http://::1:8000/index.html
http://[::1]:8000/index.html
What (out of the options) is the scheme used for?
A. specifying arguments such as what to search for
B. changing to an alternate server on the same computer
C. identifies the file, program, or database entry
D. determines protocol
E. jumping to a particular part of a page
F. picks a computer to connect to
D. determines protocol
What (out of the options) is the host used for?
A. specifying arguments such as what to search for
B. changing to an alternate server on the same computer
C. identifies the file, program, or database entry
D. determines protocol
E. jumping to a particular part of a page
F. picks a computer to connect to
F. picks a computer to connect to
What (out of the options) is the port used for?
A. specifying arguments such as what to search for
B. changing to an alternate server on the same computer
C. identifies the file, program, or database entry
D. determines protocol
E. jumping to a particular part of a page
F. picks a computer to connect to
B. changing to an alternate server on the same computer
What (out of the options) is the path used for?
A. specifying arguments such as what to search for
B. changing to an alternate server on the same computer
C. identifies the file, program, or database entry
D. determines protocol
E. jumping to a particular part of a page
F. picks a computer to connect to
C. identifies the file, program, or database entry
What (out of the options) is the query used for?
A. specifying arguments such as what to search for
B. changing to an alternate server on the same computer
C. identifies the file, program, or database entry
D. determines protocol
E. jumping to a particular part of a page
F. picks a computer to connect to
A. specifying arguments such as what to search for
What (out of the options) is the fragment used for?
A. specifying arguments such as what to search for
B. changing to an alternate server on the same computer
C. identifies the file, program, or database entry
D. determines protocol
E. jumping to a particular part of a page
F. picks a computer to connect to
E. jumping to a particular part of a page
What usually separates query keys from query values?
A. %
B. ?
C. #
D. =
E. :
F. &
D. =
What usually separates query key-value pairs from each other?
A. %
B. ?
C. #
D. =
E. :
F. &
F. &
What is used to encode hex character values in URLs?
A. %
B. ?
C. #
D. =
E. :
F. &
A. %
What HTTP method can be used to avoid URL length limits?
A. GET
B. PUT
C. POST
D. DELETE
E. HEAD
F. OPTIONS
C. POST
(by utilizing the request body which has a more generous limit than a URL)
What HTTP method is usually used to request webpage content?
A. GET
B. PUT
C. POST
D. DELETE
E. HEAD
F. OPTIONS
A. GET
What HTTP method is usually used to submit searches?
A. GET
B. PUT
C. POST
D. DELETE
E. HEAD
F. OPTIONS
A. GET
What HTTP method is usually used to submit username and password?
A. GET
B. PUT
C. POST
D. DELETE
E. HEAD
F. OPTIONS
C. POST
What is an advantage of HTTP 1? Choose all that apply:
A. Easier to debug
B. Faster
C. Fewer Connections
D. Universally implemented
E. Easier to implement
A. Easier to debug
D. Universally implemented
E. Easier to implement
What is an advantage of HTTP 2/3?
A. Easier to debug
B. Faster
C. Fewer Connections
D. Universally implemented
E. Easier to implement
B. Faster
C. Fewer Connections
What is the most common HTTP method?
A. GET
B. DELETE
C. POST
D. PUT
E. MKCOL
F. OPTIONS
A. GET
Scenario: posting a video of your pet to Instagram. Which HTTP method is used here?
A. GET
B. DELETE
C. POST
D. PUT
E. MKCOL
F. OPTIONS
C. POST
Scenario: replacing a record in a database. Which HTTP method is used here?
A. GET
B. DELETE
C. POST
D. PUT
E. MKCOL
F. OPTIONS
D. PUT
Which HTTP method is used with application/x-www-form-urlencoded?
A. GET
B. DELETE
C. POST
D. PUT
E. MKCOL
F. OPTIONS
C. POST
Which HTTP method is used with multipart/form-data?
A. GET
B. DELETE
C. POST
D. PUT
E. MKCOL
F. OPTIONS
C. POST
application/x-www-form-urlencoded is better for?
A. File uploads
B. Short forms like login
C. Getting around URL length limits
D. Large amounts of data in a single value
E. Web search (google, ddg) query
B. Short forms like login
C. Getting around URL length limits
multipart/form-data is better for?
A. File uploads
B. Short forms like login
C. Getting around URL length limits
D. Large amounts of data in a single value
E. Web search (google, ddg) query
A. File uploads
D. Large amounts of data in a single value
What was the first web browser?
A. Firefox
B. Internet Explorer
C. Edge
D. Chrome/Chromium
E. Safari
F. Mosaic
F. Mosaic
Which web browser killed Mosaic?
A. Firefox
B. Internet Explorer
C. Edge
D. Chrome/Chromium
E. Safari
F. Netscape Navigator
F. Netscape Navigator
What web browser is based on Netscape?
A. Firefox
B. Internet Explorer
C. Edge
D. Chrome/Chromium
E. Safari
F. Netscape Navigator
A. Firefox
What web browsers want to say they’re compatible with Netscape 5?
A. Firefox
B. Internet Explorer
C. Edge
D. Chrome/Chromium
E. Safari
All choices given: Firefox, Internet Explorer, Edge, Chrome/Chromium, Safari
What web browser was based on KHTML (from KDE for Linux)?
A. Firefox
B. Internet Explorer
C. Edge
D. Chrome/Chromium
E. Safari
E. Safari
What web browser was based on Safari?
A. Firefox
B. Internet Explorer
C. Edge
D. Chrome/Chromium
E. Safari
D. Chrome/Chromium
What browser is this: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36 Edge/119.0.0.0
A. Firefox
B. Internet Explorer
C. Edge
D. Chrome/Chromium
E. Safari
C. Edge
What response code is used for sending the content of the index page?
A. 200
B. 301
C. 303
D. 401
E. 404
F. 500
A. 200
What response code is used for asking the browser to use https instead of http?
A. 200
B. 301
C. 303
D. 401
E. 404
F. 500
B. 301
What response code is returned by a script that handles login crashes?
A. 200
B. 301
C. 303
D. 401
E. 404
F. 500
F. 500
What response code asks the browser to ask for login?
A. 200
B. 301
C. 303
D. 401
E. 404
F. 500
D. 401
What response code prevents the following message: “In order to refresh we need to resend prompt”?
A. 200
B. 301
C. 303
D. 401
E. 404
F. 500
C. 303
What response code is returned when no database record for a requested URI exists?
A. 200
B. 301
C. 303
D. 401
E. 404
F. 500
E. 404
What response code is returned when a user needs to login using a HTML login page first?
A. 200
B. 301
C. 303
D. 401
E. 404
F. 500
C. 303
What is the Authorization header used for?
A. Speed
B. Authentication
C. Anti-Exploit
D. Describing Content/Typing
B. Authentication
What is the Accept header used for?
A. Speed
B. Authentication
C. Anti-Exploit
D. Describing Content/Typing
D. Describing Content/Typing
What is the Access-Control-x-x header used for?
A. Speed
B. Authentication
C. Anti-Exploit
D. Describing Content/Typing
C. Anti-Exploit
What is the Cache-x header used for?
A. Speed
B. Authentication
C. Anti-Exploit
D. Describing Content/Typing
A. Speed
What is the Content-Disposition header used for?
A. Speed
B. Authentication
C. Anti-Exploit
D. Describing Content/Typing
D. Describing Content/Typing
What is the Cookie header used for?
A. Speed
B. Authentication
C. Anti-Exploit
D. Describing Content/Typing
E. Tracking
B. Authentication
E. Tracking
What is the If-x-x header used for?
A. Speed
B. Authentication
C. Anti-Exploit
D. Describing Content/Typing
E. Tracking
A. Speed
What is the Origin header used for?
A. Speed
B. Authentication
C. Anti-Exploit
D. Describing Content/Typing
E. Tracking
C. Anti-Exploit
What is the Range header used for?
A. Speed
B. Authentication
C. Anti-Exploit
D. Describing Content/Typing
E. Tracking
A. Speed
What is the Referer header used for?
A. Speed
B. Authentication
C. Anti-Exploit
D. Describing Content/Typing
E. Tracking
E. Tracking
What is the Sec-x header used for?
A. Speed
B. Authentication
C. Anti-Exploit
D. Describing Content/Typing
E. Tracking
C. Anti-Exploit
What is the User-Agent header used for?
A. Speed
B. Authentication
C. Anti-Exploit
D. Describing Content/Typing
E. Tracking
D. Describing Content/Typing
E. Tracking
What is the Content-Security-Policy header used for?
A. Speed
B. Authentication
C. Anti-Exploit
D. Describing Content/Typing
E. Tracking
C. Anti-Exploit
Which of these is required?
A. Vary
B. Date
C. Allow
D. Host
E. X-Forwarded-For
D. Host
What is the correct way to start a modern HTML document?
A. <!DOCTYPE HTML PUBLIC”-//W3C//DTD HTML 4.01//EN
B. <?xml version=”1.0” encoding=”UTF-8”?>
C. <!DOCTYPE html>
C. <!DOCTYPE html>
There is a void element “link” which specifies another URL that the current page needs. How should it be written?
A. <link></link></link>
B. <link></link>
C. <link></link>
B. <link></link>
You made an element called “apple” that puts an apple on the page. How should its tag be written?
A. <apple></apple>
B. <apple>
C. <apple></apple>
D. You can't create "apple"</apple>
A. <apple></apple>
You made a void tag called “banana” which specifies an “apple” HTML element you created. If it can have content inside, how should it be written?
A. <banana></banana>
B. <banana>
C. <banana></banana>
D. You can't create "banana"</banana>
D. You can’t create “banana”
Which tag style is wrong but browsers will accept it anyway?
A. <banana></banana>
B. <banana>
C. <banana></banana>
D. All of these are correct HTML</banana>
C. <banana></banana>
Note: React components are formatted this way, but this is invalid HTML
What is the outermost tag?
A. <body></body>
B. <head></head>
C. <p></p>
D. <b></b>
E. <html></html>
F. <a></a>
E. <html></html>
What goes first inside<html></html>?
A. <body></body>
B. <head></head>
C. <p></p>
D. <b></b>
E. <html></html>
F. <a></a>
B. <head></head>
What goes second inside<html></html>?
A. <body></body>
B. <head></head>
C. <p></p>
D. <b></b>
E. <html></html>
F. <a></a>
A. <body></body>
Where does stuff that goes on the page go?
A. <body></body>
B. <head></head>
C. <p></p>
D. <b></b>
E. <html></html>
F. <a></a>
A. <body></body>
Where does metadata about the page go?
A. <body></body>
B. <head></head>
C. <p></p>
D. <b></b>
E. <html></html>
F. <a></a>
B. <head></head>
HTML or CSS? Indicating a chapter title
HTML
HTML or CSS? Making something bold
CSS