PURPOSE: This randomized phase III trial is studying chemotherapy given before surgery to see how well it works compared to chemotherapy given after surgery with or without additional surgery in treating patients with stage III or stage IV ovarian cancer, peritoneal cancer, or fallopian tube cancer.