Question
A sorted array contains 1000 elements. Using Binary Search, what is the maximum number of comparisons needed, in the worst case, to determine whether a target value is present in the array?
More Data Structure Questions
- Which protocol is used by devices to obtain an IP address automatically in a network?
- What is the postfix (Reverse Polish) equivalent of the infix expression A + B * (C - D) / E?
- Which of the following is an example of an emerging technology that is most likely to impact the future of computing?
- Which of the following is NOT a characteristic of a minimum spanning tree (MST) in a connected, undirected graph?
- Which of the following is NOT a typical feature of an Integrated Development Environment (IDE) debugger?
- Using Dijkstra's algorithm on a graph with edges A-B(4), A-C(1), C-B(2), B-D(1), C-D(5), what is the shortest distance from A to D?
- Which of the following accurately describes the role of a "foreign key" in a relational database system?
- A hash table using separate chaining has 10 slots and stores 15 elements, uniformly distributed across the slots. What is the average number of comparisons...
- An array of 10 distinct elements is sorted using Quicksort, and the pivot chosen at every step happens to always be the smallest element in the current sub...
- Which SOLID principle ensures that a class has only one reason to change?
Hey! Ask a query
Please enter email id
The email must be a valid email address.
Please enter Mobile Number
Please enter valid Mobile Number
Please enter your Doubt
Think You're Ready for RBI Grade B?
RBI Grade B 2026 Phase 1 Memory Based Paper
- 200 Questions with Detailed Solutions
- Section-wise Coverage (GA, English, Quant & Reasoning)