フリー問題

Certified Python Network Administrator and Engineer のフリー問題 12 / 20 問目

問題文

A script reads interface names from one file and then appends more names as it walks deeper into the topology, and the order in which the names arrived has to survive to the end of the run. Which pair states which built-in container the script uses and which property of that container decides the choice?

選択肢

  1. The script must extend that inventory after the read, so it holds those names in tuple objects and picks that type for later insertions in that documentation.
  2. The script must extend that inventory after the read, so it holds those names in list objects and picks that type for later insertions in that documentation.
  3. The script must extend that inventory after the read, so it holds those names in list objects and picks that type for later hashing in that documentation.
  4. The script must extend that inventory after the read, so it holds those names in tuple objects and picks that type for later hashing in that documentation.

解答・解説を確認するには

正解と解説の確認、回答の記録には無料登録が必要です。登録すると演習モードでフリー問題に回答し、正誤と解説をその場で確認できます。