- Computer Science Engineering (CSE)
- Design and Analysis of Algorithms
- Is gcd an associative function.

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). |

View all MCQs in:
Design and Analysis of Algorithms

- 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?

Login to Continue

It will take less than 2 minutes

Report MCQ