Pseudocode, in a paper -- is it a figure or a table? The question is simple: I have to insert more pseudo codes in my paper. Last year we have labeled them as Table.

Yesterday, my supervisor has said me to use Figure.

What is the standard for IEEE articles and for the dissertations?
Pseudocode, in a paper, is figure or table?


Strictly speaking, both "Figure" and "Table" are wrong, given that code is neither. However, there is sort of a tradition of using "Figure" for program code (see for instance here or here for examples from the programming languages community in computer science, which unsurprisingly needs to deal with code often). Alternatively, especially short one- or two-line listings are often just inserted without label.

Your supervisor is hence "correct" in the sense that it is at least not uncommon to use "Figure", and nobody should fault you for it. Using "Table", on the other hand, would indeed look strange to me. There is no tradition for using "Table" in this context, and, well, it's certainly not a table.

An alternative that most styles at least seem to tolerate is to use "Listing". I see it rarely being used in other papers, but I have been using Listing for years without it ever being commented on.