2023 Jan
2023 Jan
TIME : 2 HOURS
INSTRUCTIONS TO CANDIDATES
2. It is an open-book lab test, and the students are allowed to refer to the textbooks or any
other materials.
4. Use your full name, student ID, and class as the file name. See example below.
NOOR HIDAYAH AB AZIZ_2020123456
INSTRUCTIONS:
1. Please answer ALL questions
2. You are given 1 hour and 30 minutes to complete your test (10.00 am -12.00 pm).
3. Additional 30 minutes is given for you to upload your Ms Access file to GC
REQUIREMENTS:
C1 YES
C2 NO
C3 NO
C4 YES
C5 YES
(4 marks)
● Create form namely: CUSTDATA.
Create a form for the CUSTOMERS TABLE. Include all fields in the form. Using new
customers form, enter two additional customers:
(2 marks)
Create a query that displays all the fields from Purchases table of XX02 sorted by DATE in
descending order.
(3 marks)
Create a query that displays only the CNAME, STATE, CNUMBER and EMAIL of the
customers with membership, sorted by CNAME in ascending order.
(4 marks)
Create a query that displays all the fields from Purchases table of the customers with the
MPOINT of more than 600 or the PTOTAL of more than or equal to RM500.
(4 marks)
Create a query that only shows CNAME, CNUMBER and DATE of the customers with the
PTOTAL that is below RM500.
Create a query that only displays CNAME, MEMBER and MPOINT of the customers without
a membership and 0 MPOINT.
(3 marks)
(1 mark)
(1 marks)
(TOTAL: 30 MARKS)