Computers search things and there's is two ways that I know it does. The algorithm it takes in order to figure out what u are trying to find.
First is binary search. This search is faster and is clever.
The computer will take all the options pretend its choosing from 9 different answers so like {1 2 3 4 5 6 7 8 9}(Pretend the answer is 2. But the computer doesn't know that yet until after the search).
So the computer will guess the middle number which is 5. The computer understand the answer is <5. Less than five. So it eliminates all options above and 5.
Then it guesses the number between 1 and 4. There is two numbers between them, 2 and 3.
If the computer guesses randomly 2 then it's lucky and got the answer. But if it choose 3 then it will understand answer is <3. So then it will guess 1 or 2 next.
The other search is called linear search such is where is just goes through every single number in order until it runs into the answer.
For example it will guess 1 if that's not the answer it will guess 2. If that's not the answer then it will guess 3.
So now you know some ways the computer will search and find things.
YOU ARE READING
101101
RandomBinary, hexadecimal, colors, and dragon curve. How the computer can search and also raster vs vector.