English Language & Usage Stack Exchange is a question and answer site for linguists, etymologists, and serious English language enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm looking for a word to describe the process that a computer program performs when

searching through a dataset bit by bit.

I had believed the word parse ('to parse through the data') was correct. However, it seems that the word parse actually means 'to split into pieces'.

I'm thinking of something along the lines of trawl, seek, step through etc. I just wonder if there is a more elegant word/phrase that I could use.

share|improve this question
Perhaps, this could have been asked on SO/ programmersSE. – Kris Jul 4 '13 at 6:05
up vote 4 down vote accepted

Iterate is the word that's generally used for this, I believe:

The program iterates through the collection, searching for every occurrence of the target value.

share|improve this answer
"iterate" is a great synonym for "step through", but doesn't necessarily match "seek" (as you can iterate for purposes other than search). Still I do think it's what the OP is looking for, yes. – Jacob Mattison Jul 3 '13 at 18:03

As a coder, I would call that a "for each" operation. Ex: "For Each item in this dataset, determine if it's what I want."

I don't know if 'for each' (or 'foreach') is a verb or not, though. "I foreached through the data" sounds awkward. And, per the answer above, using a 'for each' is a method of iteration.

share|improve this answer
No, I've never heard for-each / for / while / do-while or any other loop construct used verb. Although you could say do X while Y, that's not derived from the programming construct; in fact it's obviously the other way around. – p.s.w.g Jul 3 '13 at 22:37

bitScan has been used to mean bit-wise scanning of a byte/word.


  1. It is not a recognized generic term though it is easy to understand in context.
  2. Some standard functions named bitScan1,2 already exist. That should be an issue in the OP's context.

1ORACLE IA-32 Assembly Language
Bit Scan Forward (bsf) scans the bits, starting at bit 0, in the doubleword operand or the second word. If the bits are all zero, ZF is cleared. Otherwise, ZF is set and the bit index of the first set bit, found while scanning in the forward direction, is loaded into the destination register.


share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.