What function would you use to generate a random number to simulate the flip of a coin? 

A. nextBoolean()
B. nextTF(True, False)
C. nextIntegerInRange(2)
D. nextInteger(True, False)


Answer: A

Computer Science & Information Technology

You might also like to view...

To see a list of available networks when using Windows 7 or 8, click the _____ network icon, located in the notification area of the desktop.

A.
B.
C.
D.

Computer Science & Information Technology

When is the syntax to describe the current width of the Flash Stage? The current height?

What will be an ideal response?

Computer Science & Information Technology

Match the following Excel chart types with their descriptions.

A. Shows trends by category over time B. Shows changes in data or data frequency relative to a center point C. Compares values across categories over time D. Shows relative importance of values over a period of time E. Compares values among individual items

Computer Science & Information Technology

Identify the letter of the choice that best matches the phrase or definition.

A. The appearance of text.  B. Formatting feature you can apply to a font to change its appearance. C. Designs of type.  D. Helps you enhance or clarify your text by using effects such as shadows and superscripts.  E. The height of characters in units called points.

Computer Science & Information Technology