logo

AQA A-Level Computer Science practice

Where does the REST API used by browser JavaScript run?

Try the question first, then check the answer and practise the same topic again.

At a glance

MCQ

Type

practice

Style

Topic

The Transmission Control Protocol/Internet Protocol (TCP/IP)

Exam-style question

Try this first

Where does the REST API used by browser JavaScript run?.

  1. A.On the server
  2. B.Inside the HTML file as a database
  3. C.Only inside the TCP cable
  4. D.Inside the SQL table

Answer and explanation

Concise answer

On the server

Why this is correct

A REST API is created and run on the server. JavaScript running in the browser calls this API through HTTP.

Use the concise answer above for a quick check, then reveal the full model answer and detailed explanation.

Common mistake

No common mistake is linked to this question yet.

Related flashcards

No flashcards are published for this page yet.

Related practice questions