Command over the U.S. Armed Forces is established in the Constitution. The sole power of command is vested in the President by Article II as Commander-in-Chief. The Constitution presumes the existence of "executive Departments" headed by "principal officers", whose appointment mechanism is provided for in the Appointments Clause. This allowance in the Constitution formed the basis for creation of the Department of Defense in 1947 by the National Security Act. The DoD is headed by the Secretary of Defense, who is a civilian and member of the Cabinet. The Defense Secretary is second in the U.S. Armed Forces chain of command, with the exception of the Coast Guard, which is under the Secretary of Homeland Security, and is just below the President and serves as the principal assistant to the President in all defense-related matters. Together, the President and the Secretary of Defense comprise the National Command Authority, which by law is the ultimate lawful source of military orders.
Initially, recruits without higher education or college degrees will hold the pay grade of E-1 and will be elevated to E-2 usually soon after basic training. Different services have different incentive programs for enlistees, such as higher initial ranks for college credit, being an Eagle Scout and referring friends who go on to enlist as well. Participation in DEP is one way recruits can achieve rank before their departure to basic training.
Battlefield commission: under certain conditions, enlisted personnel who have skills that separate them from their peers can become officers by direct commissioning of a commander so authorized to grant them. This type of commission is rarely granted and is reserved only for the most exceptional enlisted personnel; it is done on an ad hoc basis, typically only in wartime. No direct battlefield commissions have been awarded since the Vietnam War. The Navy and Air Force do not employ this commissioning path.
International protocols restrict the use, or have even created international bans on weapons, notably weapons of mass destruction (WMD). International conventions define what constitutes a war crime, and provides for war crimes prosecution. Individual countries also have elaborate codes of military justice, an example being the United States' Uniform Code of Military Justice that can lead to court martial for military personnel found guilty of war crimes.
Your ASVAB scores determine what jobs you will qualify for in the military. But before you embarrass yourself in front of active duty service members, know that a job in the Army and the Marine Corps is called an MOS, which is an acronym for Military Occupational Specialty. In the Air Force, jobs are called AFSC – Air Force Specialty Code. In the Navy they are known as an NEC - Navy Enlisted Classification and the Coast Guard, jobs are called ratings, or rate for short.