If you want to execute one set of statements when a condition evaluates to a truthy value and another set of statements when the condition evaluates to a falsy value, you need the ____ statement.

A. while
B. if/else
C. do/while
D. switch


Answer: B

Computer Science & Information Technology

You might also like to view...

The ________ tool can be used to change the background color of an image.

Draw Filled Region. (c) Get color. (d) Fill region.

Computer Science & Information Technology

A set position where text following a tab character aligns is known as a(n) ____________________.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

Date pickers, progress bars, autocompletion features, etc., are examples of interactive features called widgets.

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

Computer Science & Information Technology

Unlike regular variables, arrays can hold multiple

A) data types. B) named constants. C) values. D) variables. E) operators.

Computer Science & Information Technology