This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
If you want to use a single-line comment to comment on a single line of code, what should you use?
Put forward slashes (//) on the end of the comment line.
Put forward slashes (//) at the beginning of a line of code.
Put backward slashes (\) at the beginning of a line of code.
Put forward slashes (//) at the beginning of a line of code and backward slashes (\) at the end of the comment line.
Which repetitive statement enables you to repeat one or more statements a known number of times?
While
For
Repeat until
Loop
Which repetitive statement doesn't require a begin and end block to run more than one statement repetitively?
Repeat-until
For-to-do
While-do
Foreach-in-do
Which repetitive statement runs code at least once before validating a condition?
For-downto-do
You must answer all questions before checking your work.
Was this page helpful?
Need help with this topic?
Want to try using Ask Learn to clarify or guide you through this topic?