Yes, the sample mean is the mean of the data points in the sample being studied. In your example, the population would be ALL people who wrote aptitude tests (say like 500 people), but whoever conducted the study selected 30 out the 500 who wrote the test This smaller set of data is your sample.
We do this because it is usually very difficult to obtain the mean of the whole population because there is too much data (this might simply be called the "mean"). But, finding the mean in your sample is finding the mean for the 30 people only (called the "sample mean"). In this example you only have a sample and can only calculate a mean for the sample... so you would calculate the sample mean as you'd expect for the mean... it's the sample calculation formula but it has a subtle "different meaning".
The "sample standard deviation", however, is a bit different from the ""standard deviation". It's similar to the "standard deviation" formula but instead of dividing by "n", you divide by "n-1". Long story short, you can "reason" that we divide by n-1 instead of n because in a sample, you mostly likely expect a smaller standard deviation from the population standard deviation, so the dividing by n-1 makes your answer a little bit larger to hopefully match better with the population mean. However, the answer is a bit more complicated and requires a discussion on degrees of freedom which would be a bit long to discuss here.