Assume an array of structure is in order by studentID field
of the record, where student IDs go from 101 to 500. Write
the most efficient pseudocode algorithm you can to find the
record with a specific studentID if every single student ID
from 101 to 500 is used and the array has 400 elements.

Write the most efficient pseudocode algorithm you can to
find a record with a studentID near the end of the IDs, say
in the range from 450 to 500, if not every single student
ID in the range of 101 to 500 is used and the array size is
only 300


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C++ General Interview Questions

Explain function overloading

0 Answers  


How one would use switch in a program?

0 Answers  


What is &x in c++?

0 Answers  


What is the last index number in an array of 100 characters a) 100 b) 99 c) 101

0 Answers  


Explain virtual class?

0 Answers  






when can we use virtual destructor?

7 Answers   HCL, HP, Virage Logic,


what do you mean by memory management operators

4 Answers   HCL,


Is string data type in c++?

0 Answers  


What is the full form of india?

0 Answers  


Write syntax to define friend functions in C++.

0 Answers   HAL,


What is a virtual destructor?

2 Answers  


What is an adaptor class or wrapper class in c++?

0 Answers  


Categories