Select the test statement that can be used to determine if A is numerically greater than B:

A. [ A -g B ]
B. [ A -ge B ]
C. [ A -gt B ]
D. [ A +eq B ]


Answer: C

Computer Science & Information Technology

You might also like to view...

Using the saved output, identify the port numbers of the FTP client and the FTP server.

What will be an ideal response?

Computer Science & Information Technology

Which of the following are declared correctly?

a. ``` for (var i=0;i<100;++i ) [ statement; ] ``` b. ``` for (var i=0;i<100;++I ) [ statement; } ``` c. ``` for (var i=0;i<100;++i ) { statement; } ``` d. ``` for (var i=0;i<100;++i; ) { statement; } ```

Computer Science & Information Technology

The top margin for the first page of a report is ____.

A. Default (1") B. 1.25" C. 1.5" D. 2"

Computer Science & Information Technology

What type of selection structure occurs when there are one or more actions to be taken only when its condition evaluates to true?

A. dual-alternative B. if/else C. single-alternative D. conditional block

Computer Science & Information Technology