This concept finds the floor and ceil of a target number in a sorted array using binary search. We start with low and high pointers at the array ends. We calculate mid and compare arr[mid] with target. If equal, we return that value as both floor and ceil. If arr[mid] is less than target, we update floor and move low up. If arr[mid] is greater, we update ceil and move high down. We repeat until low passes high, then return the last floor and ceil values found. The execution table shows step-by-step how low, high, mid, floor, and ceil change. Key moments clarify why floor updates when arr[mid] < target, why the loop stops when low > high, and what happens on exact match. The visual quiz tests understanding of these steps and outcomes.