This problem involves calculating the total number of unique pairs that can be formed from a group of 40 individuals, where each pair represents a handshake. Since the order of people in a handshake does not matter (Person A shaking Person B's hand is the same handshake as Person B shaking Person A's hand), this is a combination problem.
The number of combinations of choosing k items from a set of n items is given by the formula:
$C(n, k) = \frac{n!}{k!(n-k)!}$
For the handshake problem, we are choosing groups of 2 people (k=2) from a total of 40 people (n=40). The formula simplifies to:
$C(n, 2) = \frac{n(n-1)}{2}$
Given n = 40 persons:
$C(40, 2) = \frac{40 \times (40 - 1)}{2}$
$C(40, 2) = \frac{40 \times 39}{2}$
$C(40, 2) = \frac{1560}{2}$
$C(40, 2) = 780$
Therefore, the total number of handshakes will be 780.
The following figure is made with nine squares of length 1 cm each.

A student is standing at point P. The total number of shortest paths to reach point Q from point P, if the student walks along the boundaries of the squares only, is:
Consider the following statements (all the angles are measured in degrees) :
1. If two supplementary angles are $4x + 40$ and $10x$, then $x$ is;
2. The complementary angle of $\frac{4}{5} \times 45$ is :
3. If two complementary angles are in the ratio of $4 : 5$, then the smallest angle is :
Which of the following is correct?
Codes:
1 2 3
A rectangular wall is divided into four squares of equal size where there are two rows each having two squares. The top left square is coloured with green. If, including green, there are three colours available and each square is coloured using any one of these three colours such that no two adjacent squares get painted with the same colour; then how many colour combinations are possible ?