Answer the following statements true (T) or false (F)

1) An algorithm is a procedure for solving a problem in terms of the actions to execute and the order in which these actions execute.
2) A set of statements contained within a pair of parentheses is called a block.
3) A selection statement specifies that an action is to be repeated while some condition re-mains true.
4) A nested control statement appears in the body of another control statement.
5) C# provides the arithmetic compound assignment operators +=, -=, *=, /= and %= for abbreviating assignment expressions.


1) True.
2) False. A set of statements contained within a pair of braces ({ and }) is called a block.
3) False. An iteration statement specifies that an action is to be repeated while some condition remains true. A selection statement determines whether an action is performed based on the truth or falsity of a condition.
4) True.
5) True.

Computer Science & Information Technology

You might also like to view...

Case 10-1 Janice, a content writer, uses Microsoft Word 2016 to create articles. She enters the text, edits it, and changes the appearance of the document using the same application. Janice wants to enter the current month as January. She types the first four characters of the month and a ScreenTip appears, suggesting that the Enter key can be pressed to insert "January" into the document. This ScreenTip is an example of the _____ feature.

A. ?AutoComplete B. ?AutoCorrect C. ?Indent D. ?Justify

Computer Science & Information Technology

The ________ buttons allow the user to navigate to other folders or libraries that have already been opened without closing the current window

A) search box B) Backstage C) views D) Back and Forward

Computer Science & Information Technology

Which function counts how many cells in a range contain numbers, where value1, value2, and so forth are text, numbers, or cell references?

A. SUM B. COUNT C. COUNTA D. AUTOSUM

Computer Science & Information Technology

What does the rectangle flowchart symbol represent?

(A) input/output (B) terminal (C) decision (D) connector

Computer Science & Information Technology