* "What was?" (asking about something in the past) - Qu'est-ce que c'était?
* "What was..." (beginning a sentence) - Ce qui était...
* "What was it?" (asking for identification of something) - C'était quoi?
It's important to provide more context to get a more accurate translation. For example, if you're asking "What was your name?", you would say "Comment t'appelais-tu?"