Peas and corn

Right now the best peas and corn I have access to is frozen and bagged. Are they cooked before freezing? How much frozen would equal 1 cup fresh? How much dried would equal 1 cup fresh?