McqMate

Q. |
## Is gcd an associative function. |

A. | true |

B. | false |

Answer» A. true | |

Explanation: the gcd function is an associative function as gcd (a, gcd (b, c)) = gcd (gcd (a, b), c). |

3.1k

0

Do you find this helpful?

25

View all MCQs in

Design and Analysis of AlgorithmsNo comments yet

- Is lcm an associative function.
- If GCD of two number is 8 and LCM is 144, then what is the second number if first number is 72?
- Which of the following is also known as GCD?
- In terms of Venn Diagram, which of the following expression gives GCD (Given A ꓵ B ≠ Ø)?
- What is the GCD according to the given Venn Diagram?
- What is the GCD of a and b?
- What is the GCD of 48, 18, 0?
- If gcd (a, b) is defined by the expression, d=a*p + b*q where d, p, q are positive integers and a, b is both not zero, then what is the expression called?
- Who gave the expression for the probability and expected value of gcd?
- What is the computational complexity of Binary GCD algorithm where a and b are integers?