Which of the option is correct regarding two statements mentioned below :(a) ARITH(EXTEND) is slower than ARITH(COMPAT)(b) AWO is slower than NOAWO

  1. (1) only a is correct

  2. (2) only b is correct

  3. (3) Both a and b are correct

  4. (4) None of them are correct


Correct Option: A
Explanation:

To understand the given question, the user needs to know the meaning of ARITH(EXTEND), ARITH(COMPAT), AWO, and NOAWO.

ARITH(EXTEND) and ARITH(COMPAT) are compiler options that control the generation of instructions for arithmetic operations. ARITH(EXTEND) generates extended-precision arithmetic instructions, whereas ARITH(COMPAT) generates instructions for compatibility with earlier IBM processors.

AWO and NOAWO are compiler options that control the use of automatic binary optimization. AWO enables automatic optimization, whereas NOAWO disables it.

Now let's evaluate each statement:

(a) ARITH(EXTEND) is slower than ARITH(COMPAT) This statement is generally true. ARITH(EXTEND) generates extended-precision arithmetic instructions, which are more complex and require more processing time than ARITH(COMPAT) instructions. Therefore, the statement is correct.

(b) AWO is slower than NOAWO This statement is generally false. AWO enables automatic optimization, which can improve program performance. NOAWO disables optimization, which can result in slower program execution. Therefore, the statement is incorrect.

Therefore, the correct answer is:

The Answer is: A. (1) only a is correct

Find more quizzes: