When a method tests an argument and returns a true or false value, it should return __________.

a. a zero for true and a one for false
b. a boolean value
c. a zero for false and a non-zero for true
d. A method should not be used for this.


b. a boolean value

Computer Science & Information Technology

You might also like to view...

Forms can also inherit visually:

a) size b) GUI components c) color and font styles d) All of the above

Computer Science & Information Technology

Which of the following is an illegal use of function put?

a. cout.put( 'A' ); b. cout.put( "A" ); c. cout.put( 'A' ).put( '\n' ); d. cout.put( 65 );

Computer Science & Information Technology

As described, the implementation of Paxos depends on the generation of increasing and globally unique sequence numbers. This section also described a possible implementation. Describe an alternative approach to implementing such sequence numbers.

What will be an ideal response?

Computer Science & Information Technology

In Publisher, what happens when text does not all fit in a text box?

A) The text size is made smaller. B) A new text box is created automatically for the overflow. C) The text is deleted. D) The text is hidden.

Computer Science & Information Technology