Which people nominate and appoint federal judges?

A) Supreme Court justices, if the majority of Congress approves
B) the president, with the approval of the majority of the Senate
C) Congress, if the president does not veto the appointment
D) magistrates, if the majority of the Senate and the president approve