Data Structures and Algorithms-I MCQs

Page No. 14

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)


aO(1)


bO(m)


cO(2m)


dO(log m)


View Answer O(m)

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)


aO(1)


bO(m)


cO(2m)


dO(log m)


View Answer O(m)

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)


aO(1)


bO(k)


cO(k2)


dO(log k)


View Answer O(k)

What is computational geometry?


astudy of geometry using a computer


bstudy of geometry


cstudy of algorithms


dstudy of algorithms related to geometry



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


aO(1)


bO(n)


cO(log n)


dO(n log n)


View Answer O(1)

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


aO(1)


bO(n)


cO(log n)


dO(n log n)


View Answer O(n)

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


aO(1)


bO(n)


cO(log n)


dO(n log n)


View Answer O(n)

Bin is an example of a range query data structure.


aTrue


bFalse


ceither true either false


dNone of the mentioned


View Answer True

What is the use of the bin data structure?


ato have efficient insertion


bto have efficient deletion


cto have efficient region query


dto have efficient traversal



Who invented k-d trees?


aArne Andersson


bJon Bentley


cJon Von Newmann


dRudolf Bayer


View Answer Jon Bentley

Goto Page No.

Page 14 of 53

Alphabetical MCQs Categories

Here below You find all kind of categories of MCQs in alphabetical order.


"Comprehensive Collection of MCQs: Alphabetically Organized by Subject"

"Discover an extensive collection of multiple-choice questions (MCQs) neatly categorized by subject from A to Z. This resource is designed for anyone eager to explore various topics in a straightforward and organized manner. Whether you're a student preparing for exams, an educator seeking supplementary materials, or simply curious about different subjects, this compilation offers a convenient way to learn and assess your knowledge. With questions arranged alphabetically, navigation is effortless, allowing you to delve into subjects of interest at your own pace. Engage, learn, and expand your understanding with this accessible and comprehensive repository of MCQs!"


BolPakistan

bolpakistan.com.pk includes Job Mcqs and Pak Mcqs is the Top Largest Mcqs Forum in World, in which you can read Mcqs of All Subjects, PPSC test preparation, FPSC, NTS and PPSC PAST PAPERS, PPSC PAST MCQS. A Collection of Repeated MCQs for JOBs seekers.

Copyright © 2024, Designed & Developed by BolPakistan