Answer
a. Transverse.
b. Longitudinal.
Work Step by Step
a. Striking the rod vertically from above initially jolts particles in a direction that is perpendicular to the rod and the resulting wave will be primarily transverse.
b. Striking the rod horizontally (parallel to its length) initially jolts particles in a direction that is parallel to the rod and the resulting wave will be primarily longitudinal.