📄 delphiexam.xml
字号:
<?xml version="1.0" encoding="UTF-8"?>
<?xml:stylesheet type="text/xsl" href="ExamReview.xsl"?>
<!DOCTYPE exam SYSTEM "Exam.dtd">
<exam pass_mark="66" strict_order="false">
<title>Delphi Exam</title>
<description>These questions test your knowledge of Delphi.</description>
<instructions>Please answer every question.</instructions>
<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>
<question id="Q2">
<query>Which of the following are components?</query>
<answers type="checkbox">
<answer>TBitmap</answer>
<answer>TCanvas</answer>
<answer correct="true">TImage</answer>
<answer correct="true">TImageList</answer>
<answer>TPicture</answer>
</answers>
<explanation>TImage and TImageList descend from TComponent.
The remainder are classes used internally to handle images.
</explanation>
</question>
<question id="Q3">
<query>From which class is every other class derived?</query>
<answers type="text">
<answer correct="true">TObject</answer>
<answer correct="true">tobject</answer>
<answer correct="true">TOBJECT</answer>
</answers>
<explanation>TObject is at the root of the Delphi class hierarchy.
</explanation>
</question>
</exam>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -