Skip to content

Web Technologies (HTML, CSS, JavaScript, HTTP)

Identify the correct concept described as: a browser security mechanism that controls whether a web page can request resources from a different origin.

Difficulty: Hard

About this MCQ

This Hard Web Technologies (HTML, CSS, JavaScript, HTTP) MCQ checks one syllabus fact.

The question is: “Identify the correct concept described as: a browser security mechanism that controls whether a web page can request resources from a different origin.”

The accepted answer is A. CORS. Identify the correct concept described as a browser security mechanism that controls whether a web page can request resources from a different origin is answered by CORS option A Option B Cookie does not match the stem it is a near-miss used to catch incomplete recall of CORS Option C HTTP status code does not match the stem it is a near-miss used to catch incomplete recall of CORS Remaining alternatives RESTful API fall outside the same rule and should be eliminated once CORS is identified Web Technologies HTML CSS JavaScript HTTP questions of this type reward precise definitions rather than approximate associations Web Technologies HTML CSS JavaScript HTTP recall of this distinction is a regular item in FPSC PPSC.

Correct answer

A. CORS

Explanation

Identify the correct concept described as a browser security mechanism that controls whether a web page can request resources from a different origin is answered by CORS option A Option B Cookie does not match the stem it is a near-miss used to catch incomplete recall of CORS Option C HTTP status code does not match the stem it is a near-miss used to catch incomplete recall of CORS Remaining alternatives RESTful API fall outside the same rule and should be eliminated once CORS is identified Web Technologies HTML CSS JavaScript HTTP questions of this type reward precise definitions rather than approximate associations Web Technologies HTML CSS JavaScript HTTP recall of this distinction is a regular item in FPSC PPSC.

Source: Web Technologies (HTML, CSS, JavaScript, HTTP) Official Reference Guide

Tags: html, web development, CSS, JavaScript

Submitted by: MCQsHub Editorial

Related MCQs

More Web Technologies (HTML, CSS, JavaScript, HTTP) MCQs