O'Reilly logo

Visual C#® 2012: How to Program, Fifth Edition by Harvey Deitel, Paul Deitel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Self-Review Exercises

5.1 Fill in the blanks in each of the following statements:

a) All apps can be written in terms of three types of control structures: _______, _______ and _______.

b) The _______ statement is used to execute one action when a condition is true and another when that condition is false.

c) Repeating a set of instructions a specific number of times is called _______ repetition.

d) When it’s not known in advance how many times a set of statements will be repeated, a(n) _______ value can be used to terminate the repetition.

e) The _______ structure is built into C#—by default, statements execute in the order they appear.

f) Instance variables of type int are given the value _______ by default.

g) C# is a(n) _______ language—it ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required