刷题刷出新高度,偷偷领先!偷偷领先!偷偷领先! 关注我们,悄悄成为最优秀的自己!

单选题

The API changes should provide both source and binary for programs written to the  original API.That is, existing program binaries should continue to operate when run on a system  supporting  the  new  API.In  addition,  existing()that  are  re-compiled  and  run  on  a   system  supporting the new API should continue to operate.Simply put, the API   for multicast receivers that specify source filters should not break existing programs.The changes to the API should be as small as possible in order to simplicity the task of converting existing_______receiver applications to use  source  filters.  Applications  should  be  able  to  delete  when  the  new() filter  APIs are  unavailable(e.g., calls fail with the ENOTSUPP error) and react gracefully(e.g., revert to old non-source-filter API or display a meaningful error message to the user).

横线处应选(   )。

A
multicast
B
unicast
C
broadcast
D
anycast
使用微信搜索喵呜刷题,轻松应对考试!

答案:

A

解析:

根据题目描述,API的变化应该为原始API编写的程序提供源代码和二进制代码的支持。这意味着在新的API支持的系统中运行现有的程序二进制文件应该继续运行。此外,重新编译并在新API支持的系统中运行的现有程序也应该继续运行。简单来说,指定源过滤器的多播接收者的API不应该破坏现有程序。API的更改应尽可能小,以便简化将现有接收应用程序转换为使用源过滤器的任务。当新的过滤器API不可用(例如,调用返回ENOTSUPP错误)时,应用程序应该能够删除并优雅地响应(例如,恢复到旧的非源过滤器API或向用户显示有意义的错误消息)。根据上下文,“multicast”(多播)是最符合题意的选项,因此答案是A。

创作类型:
原创

本文链接:The API changes should provide both source and bin

版权声明:本站点所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明文章出处。

让学习像火箭一样快速,微信扫码,获取考试解析、体验刷题服务,开启你的学习加速器!

分享考题
share