- Computer Science Engineering (CSE)
- Design and Analysis of Algorithms
- Using logical operator’s instead arithme...

Q. |
## Using logical operator’s instead arithmetic operators saves time and space. |

A. | true |

B. | false |

Answer» A. true | |

Explanation: in computers, logical operations on single bit values execute faster than arithmetic operations on integer words of data. |

View all MCQs in:
Design and Analysis of Algorithms

- Stack can be reversed without using extra space by
- What is the optimal time required for solving the closest pair problem using divide and conquer approach?
- The optimal time obtained through divide and conquer approach using merge sort is the best case efficiency.
- What is the space complexity of the divide and conquer algorithm used to find the maximum sub-array sum?
- What is running time of Dijkstra’s algorithm using Binary min- heap method?
- In what time can the Hamiltonian path problem can be solved using dynamic programming?
- What is the time complexity for finding a Hamiltonian path for a graph having N vertices (using permutation)?
- What is the space complexity of program to reverse stack recursively?
- What is the auxiliary space complexity of Z algorithm for pattern searching (m = length of text, n = length of pattern)?
- What is the space complexity of the recursive implementation used to find the nth fibonacci term?

Login to Continue

It will take less than 2 minutes

Report MCQ