You are on page 1of 1

The Hang Seng University of Hong Kong

Department of Mathematics and Statistics


AMS2640 Statistical Computing in Practice

Lesson 1 Exercise – Excel Tutorial

EXCEL Question:
Follow step (i) to step (vi) and then answer Questions (1) to (6).
(i) Import dataset “Marksheet” to Excel as below. There are total 100 observations in the
dataset. All the marks are recorded out of 100. Continuous assessment accounts for all the
assessment methods except final. The weights of each of the assessments towards the total
score are listed in Table 1. The total score required to assign letter grades to the students
are listed in Table 2.

Table 1
Quiz 1 Quiz 2 Midterm Final
Weights 10% 20% 20% 50%

Table 2
Total Score ≥ 80 ≥ 70 ≥ 60 ≥ 50 < 50
Grade A B C D F

(ii) Complete variables “First Name”, “Last Name”, “Continuous Assessment”, “Total Score”,
and “Grade” for all the observations in Marksheet workbook. Show the total score in two
decimal places.

(iii) Check if the data is valid and remove any repeated entries.

(iv) Freeze the variable row to view the dataset easier.

(v) Group the variables “Quiz 1”, “Quiz 2”, and “Midterm”.

(vi) Sort the observations from highest to lowest total score. Add a new variable “Rank” in
column A and fill series from 1 to total number of observations.

Remember to save as your file according to “StudentID_LessonX” and upload. Read the
submission guideline in Lecture Notes - Lesson 0 carefully before submitting to moodle.

You might also like