Tutorial/Lab II 1. Consult program7.pl a) Issue some queries to test that the program has been consulted and is functioning correctly. Try using the anonymous variable. b) Write rules, giving them appropriate names and query them to find: i) All the female students. ii) All the courses that are 100 hours long or more. iii) All the courses that cost less than 250 pounds and less than 50 hours long. iv) All the students that are not in a particular course. c) Re-arrange the rule student_options in order to output all the possible outcomes without the user explicitly asking for them. The output should look like: 2. Consult program8.pl a) Issue the goal go. to execute and test the correct functioning. b) Add the rules defined in program7.pl as options in program8.pl namely: Option 3: List all the female students. Option 4: List all the courses that are ‘x’ hours long or more, where ‘x’ is asked from the user. Option 5: List all the courses that cost less than ‘x’ pounds and less than ‘y’ hours long, where ‘x’ and ‘y’ are asked from the user. Option 6: List all the students that are not in a particular course. Option 7: To EXIT. c) Test the revised program8.pl and ensure that all the output is neatly formatted and correct.