Questions 1-8 and 12-17 for QueriesHW3