Skip to content
main-logo
  • +91 637-050-2482
  • santuitreturns@gmail.com
Menu
Menu
  • Home
  • Income Tax
    • Income From Salary
    • Profit or gain from Business/Profession.
    • Capital Gain
    • Income From Other Sources
    • 80C to 80U
    • TDS & TCS
    • ITR FORMS
  • International Taxation
    • Transfer Pricing
    • Non-Resident Taxation
    • Foreign Tax Credit (FTC)
    • Model Tax Convention
    • Base Erosion and Profit Shifting (BEPS)
  • GST
  • Accounting
  • MCQs
    • NEET
    • NEET QUIZ TEST
    • NEET PG MCQ’s
    • NEET PG QUIZ TEST
    • Civil Engineering
    • Mechanical Engineering MCQs
    • CHSL EXAM
      • Logical Reasoning
  • Others
    • Job Tips
  • CA Courses
    • CA Inter/IPCC

TOP MCQs on Bin Multiple Choice Data Structure with Answers

Posted on November 27, 2023

1. What is the use of the bin data structure?

a) to have efficient insertion
b) to have efficient deletion
c) to have efficient region query
d) to have efficient traversal

View Answer

Answer: c

Explanation: 

Bin data structure allows us to have efficient region queries. A frequency of bin is increased by one each time a data point falls into a bin.

2. Bin is an example of a range query data structure.

a) true
b) false

View Answer

Answer: a

Explanation:

 Bin is an example of a range query data structure. It is because it efficiently answers any number of queries on any subset of the input.

3. What is the worst case time complexity of query operation(n is the no. of candidates)?

a) O(1)
b) O(n)
c) O(log n)
d) O(n log n)

View Answer

Answer: b

Explanation:

The worst case in a bin query occurs when all the candidates are concentrated in one bin. So in this case the time complexity is O(n).

4. What is the worst case time complexity of delete operation(n is the no. of candidates)?

a) O(1)
b) O(n)
c) O(log n)
d) O(n log n)

View Answer

Answer: b

Explanation:

The worst case in a bin delete operation occurs when all the candidates are concentrated in one bin. So in this case the time complexity is O(n).

5. What is the worst case time complexity of insertion operation(n =no. of candidates)?

a) O(1)
b) O(n)
c) O(log n)
d) O(n log n)

View Answer

Answer: a

Explanation:

The worst case in a bin insert operation occurs when all the candidates are concentrated in one bin. So in this case the time complexity is O(1).

6. What is computational geometry?

a) study of geometry using a computer
b) study of geometry
c) study of algorithms
d) study of algorithms related to geometry

View Answer

Answer: d

Explanation:

Computational geometry deals with the study of algorithms which can be expressed in terms of geometry. Bin data structure is an example of it.

7. What will be the time complexity of query operation if all the candidates are evenly spaced so that each bin has constant no. of candidates? (k = number of bins query rectangle intersects)

a) O(1)
b) O(k)
c) O(k2)
d) O(log k)

View Answer

Answer: b

Explanation:

The process of query becomes faster in a case when the number of candidates are equally distributed among the bins. In such a case the query operation becomes O(k).

8. What will be the time complexity of delete operation if all the candidates are evenly spaced so that each bin has constant no. of candidates? (m = number of bins intersecting candidate intersects)

a) O(1)
b) O(m)
c) O(m2)
d) O(log m)

View Answer

Answer: b

Explanation:

The process of deletion becomes faster in a case when the number of candidates are equally distributed among the bins. In such a case the query operation becomes O(m). It is practically slower than insertion in this case.

 

9. What will be the time complexity of insertion operation if all the candidates are evenly spaced so that each bin has constant no. of candidates? (m = number of bins intersecting candidate intersects)

a) O(1)
b) O(m)
c) O(m2)
d) O(log m)

View Answer

Answer: b

Explanation:

The process of insertion becomes faster in the case when the number of candidates are equally distributed among the bins. In such a case the query operation becomes O(m). It is practically faster than deletion in this case.

10. Efficiency of bin depends upon ___________

a) size of query and candidates
b) location of query and candidates
c) location and size of query and candidates
d) depends on the input

View Answer

Answer: c

Explanation:

Efficiency of bin depends upon the location and size of query and candidates. It is similar to that of a hash table.

11. Bigger the query rectangle the better is the query efficiency.

a) true
b) false

View Answer

Answer: b

Explanation:

Efficiency of bin depends upon the location and size of query and candidates. Also, the smaller is the query rectangle the better is the query efficiency.

12. In the Union/Find algorithm, the ranks of the nodes on a path will increase monotonically from?

a) leaf to root
b) root to node
c) root to leaf
d) left subtree to right subtree

View Answer

Answer: a

Explanation:

One of the lemmas state that, in the Union/Find algorithm, the ranks of the nodes on a path will increase monotonically from leaf to root.

13. How many strategies are followed to solve a dynamic equivalence problem?

a) 1
b) 2
c) 3
d) 4

View Answer

Answer: b

Explanation:

 There are two strategies involved to solve a dynamic equivalence problem- executing find instruction in worst-case time and executing union instruction in worst-case time.

14. What is the total time spent for N-1 merges in a dynamic equivalence problem?

a) O(N)
b) O(log N)
c) O(N log N)
d) O(M log N)

View Answer

Answer: c

Explanation:

 The total time spent for N-1 merges in a dynamic equivalence problem is mathematically found to be O(N log N).

15. What is the condition for an equivalence relation if two cities are related within a country?

a) the two cities should have a one-way connection
b) the two cities should have a two-way connection
c) the two cities should be in different countries
d) no equivalence relation will exist between two cities

View Answer

Answer: b

Explanation:

 If the two towns are in the same country and have a two-way road connection between them, it satisfies equivalence property.

16. Reversal algorithm and juggling algorithm for array rotation have the same time complexity.

a) True
b) False

View Answer

Answer: a

Explanation:

 Time complexity of juggling algorithm is O(n) which like that of reversal algorithm. They also have the same space complexity

    You May Also Like...

  • Famous Rayagada Maa Majhighariani Temple [ Top Story]
  • Positive / Negative Impacts of Social Media on Students
  • 1000+ Words Essay on Covid-19 and Its Impact
  • TOP MCQs on Data Structure with Answers
  • TOP MCQs on Balanced Parenthesis Data Structure with Answers
  • TOP MCQs on Reversal Array Operation Data Structure with Answers
  • TOP MCQs on Number of Jumps to Reach End-array Operation Data Structure with Answers
  • TOP MCQs on Data Structure Data Structure with Answers

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Quick Links

  • Home
  • About Us
  • Privacy Policy
  • Terms of Use
  • Disclaimer
  • Contact Us

Categories

  • Income Tax
  • International Taxation
  • GST
  • MCQs
  • Others
  • CA Courses

Latest Posts

  • Five changes in ITR forms of FY 2024-25 (AY 2025-26)
  • Form 10-IEA: Option to Choose Old Tax Regime
  • What is Section 54EC of the Income Tax Act?
  • What is Section 54F of the Income Tax Act?
©2025 Online Solves. All rights Reserved | Developed by AlgoPage IT Solutions Pvt. Ltd.
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept All”, you consent to the use of ALL the cookies. However, you may visit "Cookie Settings" to provide a controlled consent.
Cookie SettingsAccept All
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT