Webサイトによっては, ブラウザで閲覧したときの情報を, ブラウザを介して閲覧者のPCに保存することがある。以後このWebサイトにアクセスした際は保存された情報を使い, 閲覧の利便性を高めることができる。このような目的で利用される仕組みはどれか。
平成28年度 春期 ITパスポート試験 問79
This question's explanation and your answers so far.
問 79
- ア
正解 The correct answer is “ア”, Cookie. A cookie is a mechanism by which a web server, through the browser, has a small piece of data saved on the viewer's PC; the next time the same site is accessed, that data is sent back to the server. This lets things such as login state, shopping-cart contents, and display settings carry over, improving the convenience of browsing. The question's description, “storing information on the viewer's PC via the browser and reusing it on later accesses”, is itself the definition of a cookie, so “ア” is correct.
Incorrectイ
SQL is a query language for operating on databases, used on the server side to register, search, and update data. It is not a mechanism for storing information on the viewer's PC via the browser, so it is wrong.
Incorrectウ
A URL is an address notation that indicates the location of a resource on the web, used to point to a page. It is not a mechanism for storing browsing information on the PC and reusing it, so it is wrong.
Incorrectエ
XML is a markup language for describing the structure and meaning of data with tags, used for data exchange and document representation. It is not a mechanism for storing information on the viewer's PC, so it is wrong.
- A cookie is a mechanism by which a web server stores information on the viewer's PC via the browser and sends it back on a return visit to carry over state (used to keep login sessions, save settings, and otherwise improve convenience).
- SQL is a database query language, a URL is a notation for a resource's location, and XML is a markup language for describing data; none of them is a mechanism for storing information on the client side, which is how they are distinguished.