Rifle
In general use, a rifle is an individual weapon used for warfare, hunting, or target shooting. At one end is a muzzle from which the projectile is launched, and the mechanical components are encased in a stock that lends itself to operating the rifle with the butt, or end of the stock, pressed against the firer's shoulder. Usually with considerably less accuracy, rifles can be fired "from the hip", which ofren means held loosely at waist level, without strongly bracing the butt against one's body.
It is characterized by a relatively long barrel, the inside of which has spiral grooves (i.e., rifling) that impart a stabilizing spin to the bullet it fires. Unless otherwise specified, it can be assumed the bullet is propelled by the expanding gases generated by the combustion of an explosive propellant. Some rifles, usually for sport, may be powered by compressed gas, either air manually pumped to a high pressure, or from a cartridge of carbon dioxide.
The term is sometimes used for naval guns and artillery with long barrels as well as rifling, but the most common use is for a weapon used by one person.
Rifles can be single-shot, autoloading, semi-automatic, or full-automatic. Single-shot rifles require manual loading before each firing. While modern rifles combine bullet, propellant, and primer into a single fixed cartridge, early weapons separated these into components that had to be loaded individually. An autoloading rifle does have a magazine that holds multiple cartridges, but it is necessary to manipulate a lever or bolt to eject a fired round and load the next. In contrast, semi-automatic rifles eject, load, and fire with only a trigger action.
While each rifle type is designed to fire one caliber, they group generally into smallbore (.22 caliber or smaller, often anything below .30 caliber/7.62 mm), medium, and large-bore (.50 caliber/12.7 mm or larger).
Carbine
Carbines are long-barreled individual weapons, at least autoloading, which tend to fire a low-power cartridge, sometimes a cartridge originally designed for pistols. In military practice, carbines are issued to soldiers for whom a longer-barreled rifle would be awkward, such as horse cavalry. The definition has expanded, in recent years, to include shorter weapons of intermediate power, which are easier to handle in situations such as urban combat.
Assault rifle
The term assault rifle originally had a specific military meaning: a weapon that was semi-automatic or full-automatic, was fed from a large magazine, and fired a medium-caliber rifle cartridge of intermediate propellant power. In legal contexts, the term has sometimes been extended to include rifles with features that are indeed military in intent, such a bayonet mount or a bipod for support. Such additional components, however, were not relevant to the original military designs, which were intended for quickly moving infantry firing suppressive as well as aimed fire.