Case 1: It is possible that no two boys are together even when boys and girls are not in alternating positions since girls may be adjacent when no two boys are together but not when boys and girls alternate. Let $b$ represent the position of a boy; let $g$ represent the position of a girl. There are $6$ ways to arrange five $b$s and five $g$s so that no two $b$ are adjacent.
$bgbgbgbgbg$
$bgbgbgbggb$
$bgbgbggbgb$
$bgbggbgbgb$
$bggbgbgbgb$
$gbgbgbgbgb$
Notice that boys and girls alternate only in the first and last of these six arrangements.
There are $5!$ ways to arrange the boys in the five positions occupied by $b$s and $5!$ ways to arrange the girls in the five positions occupied by $g$s.
Therefore, there are $6 \cdot 5!5! = 6!5!$ arrangements of five boys and five girls in which no two boys are together and $2 \cdot 5!5!$ arrangements of five boys and five girls in which boys and girls and alternate.
Case 2: The two questions are equivalent. The first of the two answers is correct.
To make the problem concrete, suppose the fingers on which the rings are to be placed are the four fingers of the left hand (not including the thumb). We can do this since the four fingers, while not specified, are given.
Since five rings are placed on four fingers, exactly one of the four fingers must receive two rings, while each of the other fingers receives one ring apiece. There are four ways to select the finger which will receive two rings.
For each of these four distributions, there are $5!$ ways to arrange the rings from the bottom left on the pinky finger to the top right on the index finger. Hence, the number of ways five distinct rings can be placed (or worn) on four fingers if at least one ring is placed on each finger is
$$4 \cdot 5! = 480$$
In the comments, you said the book's solution is:
Since at least one ring is to be put in each finger. So, we select four rings out of $5$ and then they are arranged in fingers. This can be done in $5C4 \cdot 4!$ ways. Now, one ring is left out which can be put on finger in two ways, either above the ring already placed on it or below it. So, the required number of ways is $= 5C4 \cdot 4! \cdot 4 \cdot 2 = 960$ ways.
This answer is incorrect. Suppose the two rings which are placed on the same finger are a gold band and a diamond ring. There are only two ways to arrange these rings on one finger. Either the gold band is above or below the diamond ring.
The authors count the arrangement with a gold band on the bottom and a diamond ring on the top in two ways:
- The gold band is placed on the finger first, then the diamond ring is the additional ring which is placed on the finger above the gold band.
- The diamond ring is placed on the finger first, then the gold band is the additional ring which is placed on the finger below the diamond ring.
The authors count the arrangement with a diamond ring on the bottom and a gold band on the top in two ways:
- The diamond ring is placed on the finger first, then the gold band is the additional ring which is placed on the finger above the diamond ring.
- The gold band is placed on the finger first, then the gold band is the additional ring which is placed on the finger below the gold band.
The authors of your book overlooked the fact that the first ring placed on a finger must be placed at the bottom of the finger. Consequently, they count every arrangement twice. To correct that error, you must divide their answer by $2$ to obtain the correct answer of $480$ possible arrangements.