23.4k views
2 votes
If you are writing a program to search a UDDI service broker, which UDDI pages would you search?

1) All Pages of UDDI
2) Only the First Page
3) Random Pages
4) Certain Specific Pages

1 Answer

3 votes

Final answer:

To search a UDDI service broker for specific content, you would either search all pages or specific ones known to have relevant services. The probability of finding footwear adverts in the first three pages and the expected pages to survey would depend on the distribution of these adverts across the UDDI.

Step-by-step explanation:

When writing a program to search a UDDI (Universal Description, Discovery, and Integration) service broker, the approach one would use largely depends on the specifics of the service broker and the desired efficiency of the search process. Therefore, the answer to the question of which UDDI pages would you search could be either All Pages of UDDI if the service broker's organization is unknown and complete thoroughness is required, or Certain Specific Pages if the service broker's content is well-categorized and the search can be targeted to specific pages known to contain the relevant services.

However, in the context of the provided scenario about surveying pages for advertisements of footwear, one would typically require additional context to determine the probability of finding such advertisements within the first three pages (the probability aspect). Additionally, to calculate the expected number of pages to survey before finding those that advertise footwear, one would need to know the distribution of such advertisements across the pages of UDDI.

User Amit Mahajan
by
7.8k points