open navigation menu
AiFolder
Tools for a smarter you
Discover
Tools
AI
Games
Interviews
Blog
More
Search AiFolder
Toggle theme
Toggle theme
Sign in
Exit
00:00
Submit test
JavaScript · Advanced
10 questions · Question 1 of 10
10%
Multiple Choice
Senior
Explain when and how to use Exponential (aka Doubling or Galloping) Search?
A
Generator function are executed yield by yield i.e one yield expression at a time by its iterator (the next method) where as Async await, they are executed sequential await by await.
B
Exponential Search (also called Doubling Search or Galloping Search or Struzik Search) is explicitly designed for sorted, unbounded lists (infinite arrays or arrays with unknown size) whereas binary search deals with...
C
To create a private variable in JavaScript that cannot be changed you need to create it as a local variable within a function.
D
The module pattern is typically used for namespacing, where you'll have a single instance acting as a store to group related functions and objects.
Previous
Next