Question: How many shots does a player receive if fouled when attempting a regular two-point shot?
About the article "Basketball", section "Fouls".

Candidate passages:
An attempt to unfairly disadvantage an opponent through physical contact is illegal and is called a foul.
These are most commonly committed by defensive players; however, they can be committed by offensive players as well.
Players who are fouled either receive the ball to pass inbounds again, or receive one or more free throws if they are fouled in the act of shooting, depending on whether the shot was successful.
One point is awarded for making a free throw, which is attempted from a line from the basket.
The referee may use discretion in calling fouls (for example, by considering whether an unfair advantage was gained), sometimes making fouls controversial calls or no-calls.
The calling of fouls can vary between games, leagues and even among referees.
A player or coach who shows poor sportsmanship, such as by arguing with a referee or by fighting with another player, can be charged with a more serious foul called a technical foul.
The penalty involves free throws (where, unlike a personal foul, the other team can choose any player to shoot) and varies among leagues.
Repeated incidents can result in disqualification.
A blatant foul involving physical contact that is either excessive or unnecessary is called an intentional foul (flagrant foul in the NBA).
In FIBA, a foul resulting in ejection is called a disqualifying foul, while in leagues other than the NBA, such a foul is referred to as flagrant.
If a team exceeds a certain limit of team fouls in a given period (quarter or half) – four for NBA and international games – the opposing team is awarded one or two free throws on all subsequent non-shooting fouls for that period, the number depending on the league.
In the US college and high school games, if a team reaches 7 fouls in a half, the opposing team is awarded one free throw, along with a second shot if the first is made.
This is called shooting "one-and-one".
If a team exceeds 10 fouls in the half, the opposing team is awarded two free throws on all subsequent fouls for the half.
When a team shoots foul shots, the opponents may not interfere with the shooter, nor may they try to regain possession until the last or potentially last free throw is in the air.
After a team has committed a specified number of fouls, it is said to be "in the penalty".
On scoreboards, this is usually signified with an indicator light reading "Bonus" or "Penalty" with an illuminated directional arrow indicating that team is to receive free throws when fouled by the opposing team.
(Some scoreboards also indicate the number of fouls committed.
)If a team misses the first shot of a two-shot situation, the opposing team must wait for the completion of the second shot before attempting to reclaim possession of the ball and continuing play.
If a player is fouled while attempting a shot and the shot is unsuccessful, the player is awarded a number of free throws equal to the value of the attempted shot.
A player fouled while attempting a regular two-point shot, then, receives two shots.
A player fouled while attempting a three-point shot, on the other hand, receives three shots.
If a player is fouled while attempting a shot and the shot is successful, typically the playerwill be awarded one additional free throw for one point.
In combination with a regularshot, this is called a "three-point play" or "four-point play" (or more colloquially, an "and one") because of the basket made at the time of the foul (2 or 3 points) and the additional free throw (1 point).
A three-point field goal (also known as a three-pointer, three, or trey) is a field goal in a basketball game made from beyond the three-point line, a designated arc surrounding the basket.
A successful attempt is worth three points, in contrast to the two points awarded for shots made inside the three-point line.
In 3x3, a formalized version of half-court basketball, shots from outside the arc are worth 2 points, with all other successful shots worth 1 point.
A three-point field goal is distinguished from a "three-point play" or an "and-1", which occurs when a shooter successfully scores a two-point basket while being fouled, and then makes the ensuing free throw.
If such a foul occurs on a successful three-point shot, the resulting free throw gives the player a chance to earn a four-point play.
If a player gets fouled while shooting a three-point shot but does not score they get three free throws.
In 3x3, a defensive foul on an unsuccessful shot from behind the arc results in two free throws.
Three-point field goal percentage is a measure of three-point shooting accuracy calculated by the ratio of three-point field goals made to three-point field goals attempted. 
  fast break : An offensive tactic in which a team attempts to advance the ball and score as quickly as possible, giving the other team no time to defend effectively.
Often the result of a steal or blocked shot.
See also "secondary break".
FIBA : The International Basketball Federation, known as FIBA from its French name "Fédération Internationale de Basketball".
An association of national organizations which governs international competitions.
FIBA 33 : The original name of what is now called 3x3.
field goal : A shot made from anywhere on the court, does not include free throws.
flagrant foul : An unsportsmanlike foul in which there is no serious attempt to play the ball.
The NBA classifies these types of fouls as "flagrant-1" and "flagrant-2", with the latter resulting in the immediate ejection of the offender.
FIBA does not use the term "flagrant foul", instead using "unsportsmanlike foul" and "disqualifying foul" (which roughly correspond to the two NBA subcategories).
floater : A type of shot typically utilized by smaller guards.
It is characterized by shooting the ball with an extremely high arc in order to prevent taller defenders from blocking the shot.
flop : An intentional fall by a player after little or no physical contact from an opponent, with the goal of drawing a personal foul call against the opponent.
forward : One of the three standard player positions.
Forwards are primarily responsible for scoring and rebounding.
See Small forward and Power forward.
An individual capable of playing both types of forward is often called a cornerman.
foul : Violations of the rules other than "floor violations", generally attempts to gain advantage by physical contact; penalized by a change in possession or free-throw opportunities; see "personal foul," "technical foul," "flagrant foul", "unsportsmanlike foul", and "disqualifying foul".
four-point play : A rare play in which a player is fouled while making a three-point shot and then makes the resulting free throw.
free throw : An unopposed attempt to score a basket, worth one point, from the free throw line.
Generally, two attempts are awarded when the player is fouled in the act of shooting (three attempts are awarded in the case of three-point shot), fouled flagrantly, or when the opposing team fouls while over the foul limit.
For technical fouls, one free throw is awarded under FIBA rules, and two under North American rulesets (NBA, NCAA, NFHS).
In 3x3, where regular baskets are worth 1 point and shots from behind the arc worth 2 points, one attempt is awarded at all times except when a player is fouled on a missed shot from behind the arc (two attempts).  
When shooting from a hotspot, scoring is simple: a player receives five points for a hit shot, and zero points for a miss.
When shooting from an offspot, a player must make the necessary number of shots in a row to score any points.
If the player does succeed in making his necessary shots, he receives ten points minus twice the number of shots he missed from his offspot.
For example, if the player missed two shots before completing his offspot round, he would receive 10 - 2*2 points, or 10 - 4 = 6 points for the offshot round. 
Dribbling was not part of the original game, but was introduced in 1901.
At the time, a player could only bounce the ball once, and could not shoot after he had dribbled.
The definition of dribbling became the "continuous passage of the ball" in 1909, allowing more than one bounce, and a player who had dribbled was then allowed to shoot.
Running with the ball ceased to be considered a foul in 1922, and became a violation, meaning that the only penalty was loss of possession.
Striking the ball with the fist has also become a violation.
From 1931, if a closely guarded player withheld the ball from play for five seconds, play was stopped and resumed with a jump ball; such a situation has since become a violation by the ball-carrier.
Goaltending became a violation in 1944, and offensive goaltending in 1958.
Free throws were introduced shortly after basketball was invented.
In 1895, the free throw line was officially placed fifteen feet (4.6 m) from the backboard, prior to which most gymnasiums placed one twenty feet (6.1 m) from the backboard.
From 1924, players that received a foul were required to shoot their own free throws.
One free throw shot is awarded to a player who was fouled while making a successful field goal attempt.
If the field goal attempt is unsuccessful, two free throw shots are awarded (three if the player was attempting a three-point field goal).
If an offensive player is fouled while not in the act of shooting, or if a player is fouled in a loose-ball situation, the penalty varies by level of play and the number of fouls accumulated by the opposing team in a given period.
In NCAA and NFHS play: * If the player's team has 6 or fewer team fouls in the half, the team fouled gets possession of the ball.
* If the team has 7 to 9 team fouls, the player fouled goes to the line for what is called "one-and-one" or the "bonus"—that is, if the player makes the first free throw, he gets the opportunity to attempt a second, but if he misses, the ball is live.
* If the team has 10 or more fouls in the half, the player fouled gets two free throws, often called the "double bonus".
* All overtime periods are considered an extension of the second half for purposes of accumulated fouls.
Also, NFHS rules accumulate fouls per half, even though games are played in quarters.
In the NBA: * If the player's team has 4 or fewer team fouls in the quarter, the team fouled gets possession of the ball.
* Starting with the team's fifth foul in the quarter, the player fouled gets two free throws.
* Overtime is not considered an extension of any quarter.
Instead, the "penalty" of two free throws is triggered on the team's fourth foul in that overtime period (instead of the fifth).
* Foul limits are reset in the last two minutes of a quarter or overtime period.
If a team has not reached its limit of accumulated fouls, the first team foul in the last two minutes results in possession by the team fouled, and all subsequent fouls result in two free throws.
In FIBA play: * If the player's team has 4 or fewer team fouls in the quarter, the team fouled gets possession of the ball.
* Starting with the team's fifth foul in the quarter, the player fouled gets two free throws.
* During an interval of play, all team members entitled to play are considered as players.
* The ball become dead when an official blows his whistle while the ball is live * All overtime periods are considered an extension of the fourth quarter for purposes of accumulated fouls.
A player has 10 seconds to attempt a free throw.
If the player does not attempt a free throw within 10 seconds of receiving the ball, the free throw attempt is lost, and a free throw violation is called.
A free throw violation also occurs if a free throw misses the backboard, rim, and basket.
If a free throw violation is assessed in the last free throw awarded to a player in a given situation, possession automatically reverts to the opposing team.
A charge is physical contact between an offensive player and a defensive player.
In order to draw an offensive charge the defensive player must establish legal guarding positioning in the path of the offensive player.
If contact is made, the officials would issue an offensive charge.
No points will be allowed and the ball is turned over.
The defensive player may not draw an offensive charge in the "restricted zone" (see below for more details).
Blocking is physical contact between the offensive player and the defensive player.
Blocking fouls are issued when a defensive player interferes with the path of the offensive player in the shooting motion.
Blocking fouls are easily called when the defensive player is standing in the "restricted zone".
Restricted zone: In 1997, the NBA introduced an arc of a 4-foot (1.22 m) radius around the basket, in which an offensive foul for charging could not be assessed.
This was to prevent defensive players from attempting to draw an offensive foul on their opponents by standing underneath the basket.
FIBA adopted this arc with a 1.25 m (4 ft 1.2 in) radius in 2010.