Multiple choice technology web technology

A variable that your webpage can store on or retrieve from the users computer is known as ?

  1. Applet

  2. Java

  3. Cookie

  4. Session

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

Cookies are small text files that websites store on a user's computer. They allow the webpage to persist data between sessions, such as login state, preferences, or shopping cart items. Cookies can be both written to and read from the user's browser.

AI explanation

A cookie is a small piece of data that a website asks the browser to store on the user's computer and send back on subsequent requests, letting the site remember state like login status or preferences. Applets and Java refer to executable client-side code, and a session is server-side state tied to a session ID (often itself tracked via a cookie), not the storage mechanism itself.