- Computer Science Engineering (CSE)
- Data Structures (DS)
- Length of linear array can be found by u...

Q. |
## Length of linear array can be found by using the formula_________ |

A. | UB-LB+1 |

B. | LB+UB |

C. | LB-UB |

D. | LB-UB+1 |

Answer» A. UB-LB+1 |

View all MCQs in:
Data Structures (DS)

- The given array is arr = {1, 2, 4, 3}. Bubble sort is used to sort the array elements. How many iterations will be done to sort the array?
- The given array is arr = {1,2,4,3}. Bubble sort is used to sort the array elements. How many iterations will be done to sort the array with improvised version?
- Using what formula can a parent node be located in an array?
- Given an array arr = {45,77,89,90,94,99,100} and key = 99; what are the mid values(corresponding array elements) in the first and second levels of recursion?
- Given an array arr = {45,77,89,90,94,99,100} and key = 100; What are the mid values(corresponding array elements) generated in the first and second iterations?
- Given an array arr = {5,6,77,88,99} and key = 88; How many iterations are done until the element is found?
- A linear collection of data elements where the linear node is given by means of pointer is called?
- A normal queue, if implemented using an array of size MAX_SIZE, gets full when
- An array consists of n elements. We want to create a heap using the elements. The time complexity of building a heap will be in order of
- A linear list of elements in which deletion can be done from one end (front) and insertion can take place only at the other end (rear) is known as a ?

Login to Continue

It will take less than 2 minutes

Report MCQ