Use app×
Join Bloom Tuition
One on One Online Tuition
JEE MAIN 2025 Foundation Course
NEET 2025 Foundation Course
CLASS 12 FOUNDATION COURSE
CLASS 10 FOUNDATION COURSE
CLASS 9 FOUNDATION COURSE
CLASS 8 FOUNDATION COURSE
0 votes
333 views
in Information Technology by (106k points)
closed by
Two alternative packages A and B are available for processing a database having 10k records. Package A requires 0.0001n2 time units and package B requires 10nlog10n time units to process n records. What is the smallest value of k for which package B will be preferred over A? 
1. 12
2. 10
3. 6
4. 5

1 Answer

0 votes
by (106k points)
selected by
 
Best answer
Correct Answer - Option 3 : 6

Package B will be preferred over A means A>B

A takes 0.0001n2=10-4n2

B takes 10nlog10n units of time for k=6

A takes 10-4 x(106)2=108

B takes 10x106log10106=6x107

Hence the correct answer is 6.

Welcome to Sarthaks eConnect: A unique platform where students can interact with teachers/experts/students to get solutions to their queries. Students (upto class 10+2) preparing for All Government Exams, CBSE Board Exam, ICSE Board Exam, State Board Exam, JEE (Mains+Advance) and NEET can ask questions from any subject and get quick answers by subject teachers/ experts/mentors/students.

Categories

...