首页 > 信息技术 > 软考(计算机) > Cookie机制来源与作用

Cookie机制来源与作用

软考(计算机) · 考点例题与解析
📘 教材推导
📘 依据出处:该考点题目普遍引用了法规/标准
单选题
originallyintroduced bynetscapecommunications, (1) area generalmechanism which httpserver side applications, such as cgi (2) , can use to both store and retrieve information on the http (3) side of the connection. basically, cookies can be used to compensate for the (4) nature of http. the addition of a sample, persistent, client-side state significantly extends the capabilities of www-based (5) .
A. scripts
B. cookies
C. connections
D. browsers
正确答案:B
本题考查HTTP无状态协议及Cookie机制的基本概念。Cookie是Netscape引入的、由服务器端生成并存储在客户端(浏览器)的键值数据,用于在HTTP请求之间维持状态。若把存储方“browsers”当作机制本身,则混淆了载体与机制;若指向“connections”,那是TCP连接层面的概念,与状态管理无关;若指向“scripts”,则属于客户端脚本范畴,同样不承担在请求间维持状态的功能。
单选题
originallyintroduced bynetscapecommunications, (1) area generalmechanism which httpserver side applications, such as cgi (2) , can use to both store and retrieve information on the http (3) side of the connection. basically, cookies can be used to compensate for the (4) nature of http. the addition of a sample, persistent, client-side state significantly extends the capabilities of www-based (5) .
A. cookies
B. browsers
C. scripts
D. connections
正确答案:A
题干与建筑安全生产法规无关,无法引用《建筑法》等法规作依据;该题正确答案缺失,建议核对题目来源。

软考(计算机)·其他考点

进入「Cookie机制来源与作用」专项练习 → 查看软考(计算机)全部题目 →
内容依据教材推导整理 · 智学通