MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

CLOUD COMPUTING

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which of the following is correct about URI in RESTful web services?
A
Each resource in REST architecture is identified by its URI
B
Purpose of an URI is to locate a resource(s) on the server hosting the web service
C
Both of the above
D
None of the above
Explanation: 

Detailed explanation-1: -Q 25-Which of the following is correct about URI in RESTful web services? A-Each resource in REST architecture is identified by its URI.

Detailed explanation-2: -Which one of the following statements is correct about Uniform Resource Identifier (URI)? It is a unique address that can be used to uniquely identify each node in a network. It is a set of rules which is used to retrieve linked web pages across the web.

Detailed explanation-3: -Resource identification through URI: A RESTful web service exposes a set of resources that identify the targets of the interaction with its clients. Resources are identified by URIs, which provide a global addressing space for resource and service discovery.

Detailed explanation-4: -Q 23-Which of the following is correct about addressing in RESTful web services? A-Addressing refers to locating a resource or multiple resources lying on the server.

Detailed explanation-5: -On the other hand, here we also need to mention about VERB which identifies the operation going to be performed on the resource. For example, it is to be mentioned that in the chapter RESTful Web Services-First Application URI was http://localhost:8080/UserMangement/rest/UserService/users and VERB was GET.

There is 1 question to complete.