delphiq1.xml

来自「Delphi XML & XPATH源代码」· XML 代码 · 共 20 行

XML
20
字号
  <question id="Q1">
    <query>What is the value of i at the end of this code?
  for i := 1 to 5 do
    if i = 2 then
      Continue
    else if i = 4 then
      Break;
    </query>
    <answers type="radio">
      <answer>2</answer>
      <answer>3</answer>
      <answer correct="true">4</answer>
      <answer>5</answer>
      <answer>Undefined</answer>
    </answers>
    <explanation>The Continue causes the loop to return to the beginning,
whereas the Break causes the loop to exit.
    </explanation>
  </question>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?