For realistic, cold equilibria of finite length representing a pure electron plasma confined in a cylindrical Malmberg-Penning trap, the mode spectrum for Trivelpiece-Gould, m=0, and for diocotron, m=1, modes is calculated numerically. A novel method involving finite elements is used to successfully compute eigenfrequencies and eigenfunctions for plasma equilibria shaped like pancakes, cigars, long cylinders, and all things in between. Mostly sharp-boundary density configurations are considered but also included in this study are diffuse density profiles including ones with peaks off axis leading to instabilities. In all cases the focus has been on elucidating the role of finite length in determining mode frequencies and shapes. For m=0 accurate eigenfrequencies are tabulated and their dependence on mode number and aspect ratio is computed. For m=1 it is found that the eigenfrequencies are 2% to 3% higher than given by the Fine-Driscoll formula [Phys. Plasmas 5, 601 (1998)]. The "new modes" of Hilsabeck and O'Neil [Phys. Plasmas 8, 407 (2001)] are identified as Dubin modes. For hollow profiles finite length in cold-fluid can account for up to similar to70% of the theoretical instability growth rate. (C) 2003 American Institute of Physics.