Provides the source and the test code for Questions 1, 3, and 5