URL Parsing
When you type 'www.example.com' into your browser, what is the first step the browser takes?
- A: Contacting the web server directly to request the homepage.
- B: Checking its local cache for the IP address of 'www.example.com'.
- C: Encrypting the URL for secure transmission.
- D: Redirecting to a random website.
- E: Deleting browser history.
DNS Lookup
If the browser cannot find the IP address in its cache, what server does it query next to find the corresponding IP address for the domain name?
- A: The web server of 'www.example.com'.
- B: A Domain Name System (DNS) server.
- C: The user's email server.
- D: A File Transfer Protocol (FTP) server.
- E: A Simple Mail Transfer Protocol (SMTP) server.
HTTP Request
Once the browser has the IP address of the server, what type of request does it send to retrieve the webpage?
- A: A File Transfer Protocol (FTP) request.
- B: A Hypertext Transfer Protocol (HTTP) or HTTPS request.
- C: A Simple Mail Transfer Protocol (SMTP) request.
- D: A Telnet request.
- E: An Internet Control Message Protocol (ICMP) request.
Server Response
What is the purpose of HTTP status codes like 200 OK or 404 Not Found?
- A: To encrypt the data being transmitted.
- B: To indicate the status of the server's response to the browser's request.
- C: To specify the format of the webpage (e.g., HTML, CSS, JavaScript).
- D: To control the browser's caching behavior.
- E: To determine the language of the webpage.
HTML Rendering
After receiving the HTML, CSS, and JavaScript files, what does the browser engine do to display the webpage?
- A: Compiles the code into machine language.
- B: Parses the HTML and CSS to create a Document Object Model (DOM) and CSS Object Model (CSSOM), then renders the page.
- C: Sends the files to the printer.
- D: Deletes the files after viewing.
- E: Downloads more files from other servers.
TCP/IP
Which protocol is used to establish a connection and reliably transmit data between the browser and the server?
- A: User Datagram Protocol (UDP).
- B: Transmission Control Protocol (TCP).
- C: Internet Control Message Protocol (ICMP).
- D: Address Resolution Protocol (ARP).
- E: Simple Mail Transfer Protocol (SMTP)
HTTPS and TLS/SSL
What security protocol is used by HTTPS to encrypt communication between a browser and a web server?
- A: File Transfer Protocol (FTP).
- B: Secure Shell (SSH).
- C: Transport Layer Security (TLS) or Secure Sockets Layer (SSL).
- D: Hypertext Transfer Protocol (HTTP).
- E: Telnet.
Caching
What is the main purpose of browser caching?
- A: To prevent websites from tracking user activity.
- B: To improve website loading speed by storing frequently accessed resources locally.
- C: To automatically update the browser to the latest version.
- D: To block advertisements on websites.
- E: To backup personal files.
Rendering Engine
Which component of a web browser is responsible for parsing HTML, CSS, and JavaScript and displaying the webpage?
- A: Networking component
- B: User interface
- C: Rendering engine
- D: JavaScript interpreter
- E: Data persistence component
Domain Name Variations
A user accidentally types 'exampel.com' instead of 'example.com'. What common mechanism might redirect them to the correct website?
- A: The browser automatically corrects the typo.
- B: DNS servers inherently know about common typos.
- C: The 'exampel.com' domain is owned and redirects to 'example.com'.
- D: A firewall intercepts and corrects the request.
- E: The web server automatically guesses the correct URL.