Practical Revision Worksheet
Practical Revision Worksheet
Your Task:
1|Page
Text
YearPublished Number Publication year
NumberOfCopies Number Total copies available
Publisher Text/Short Publisher name
Text
Your Tasks: a) Which field should be set as the Primary Key and why?
Answer: ________________________________
Answer: ________________________________
Your Tasks:
Question: Why might you choose Text data type for StudentID instead of AutoNumber?
Answer: ________________________________
2|Page
DateDue Date/Time Due date
DateReturned Date/Time Return date (can be empty)
Fine Currency Late return fine
Your Tasks:
b) Save as "Borrowing"
Questions:
Answer: ________________________________
Answer: ________________________________
NumberOfCopie
Title Author Genre ISBN YearPublished Publisher
s
To Kill a Harper 978- Harper
Fiction 1960 3
Mockingbird Lee 0061120084 Perennial
George 978- Signet
1984 Fiction 1949 2
Orwell 0451524935 Classics
The Great F. Scott 978-
Fiction 1925 4 Scribner
Gatsby Fitzgerald 0743273565
Pride and Jane 978- Penguin
Romance 1813 2
Prejudice Austen 0141439518 Classics
The Catcher J.D. 978- Little
Fiction 1951 3
in the Rye Salinger 0316769488 Brown
Your Task: Enter this data into the Books table using Datasheet View.
Question: What happens to the BookID field as you enter each record?
Answer: ________________________________
3|Page
Question 6: Student Data Entry
Your Tasks:
Questions:
Answer: ________________________________
2. Why shouldn't you enable "Cascade Delete Related Records" for the Books-
Borrowing relationship?
PART D: Queries
4|Page
Question 10: Simple Select Query
Your Task: Run the query and write down how many fiction books are displayed:
Answer: ________________________________
Answer: ________________________________
PART E: Forms
Question 14: Simple Form Creation
Your Tasks:
5|Page
a) Create the form following the steps
b) Use the form to add a new student with your own details
ANSWER KEY
Answer Question 1a: What file extension does Access use for database files?
Answer Question 1b: Why is it important to save the database in a specific location?
ANSWER: To ensure easy access, organization, and to prevent loss of work. It also helps
with backup procedures and file management.
6|Page
Answer Question 2a: Why is BookID set as AutoNumber? ANSWER: AutoNumber
automatically generates unique sequential numbers, ensuring each book has a unique
identifier without manual input and prevents duplicate primary keys.
Answer Question 2b: What is the purpose of the validation rule for Genre? ANSWER: To
ensure data consistency by only allowing specific, predefined values to be entered, preventing
spelling errors and maintaining data integrity.
Answer Question 2c: Write the complete validation rule for the Genre field. ANSWER:
"Fiction" Or "Non-Fiction" Or "Science" Or "History" Or "Biography"
ANSWER: Text allows for meaningful customer codes (like CUS001, CUS002) that can be
used for customer service, marketing, and easier identification compared to random numbers.
Answer Question 3b: List three fields that should be set as Required and explain why.
ANSWER:
ANSWER:
ANSWER: Most orders are for single books, so setting default to 1 speeds up data entry and
reduces errors.
7|Page
ANSWER: Access displays the validation error message "Please enter a valid genre" and
prevents the record from being saved until a valid genre is entered.
Answer Question 5b: What happens to the BookID field as you enter each record?
ANSWER: One customer can have many orders, and one book can appear in many orders,
but each order belongs to only one customer and references only one book.
ANSWER: If a primary key value changes, all related foreign key values automatically
update, maintaining data consistency across tables.
Answer Question 6c: Why NOT enable "Cascade Delete Related Records"?
ANSWER: Deleting a customer or book shouldn't automatically delete order history, as this
information may be needed for business records, accounting, or legal purposes.
Answer Question 7b: How many Fiction books should appear in results?
ANSWER: A dialog box asking "Enter Author Name:" where you can type the author's
name.
Answer Question 8b: How many books appear for "George Orwell"?
8|Page
Question 9: Calculated Field Query
Answer Question 9a: Write the calculated field expression.
Answer Question 9b: Which book has the highest stock value?
Answer Question 9c: What is the total stock value of all books combined?
ANSWER:
ANSWER:
Answer Question 10b: How many orders has customer John Smith placed?
9|Page