×
MAY JUNE 2023 LEVEL TWO DATABASE MANAGEMENT

This comprehensive guide from Armstrong Computers College provides detailed answers to all questions from the May/June 2023 Level Two Database Management examination. Use this interactive resource to enhance your understanding and prepare effectively for your upcoming exams.

Download Full Past Question (PDF)

Get the complete question paper with all sections for offline practice

SECTION A (50 MARKS)

Answer ALL questions in this section. Each question carries 5 marks.
1. a. What is a key in Database Management System?
b. List any three (3) types of keys used in Database.

a. A key in DBMS is a field or set of fields used to uniquely identify a record in a table.

b. Types of keys: Primary Key, Foreign Key, Candidate Key

2. a. Explain the term "Metadata"
b. List any three (3) uses of Database Management System.

a. Metadata is data that describes other data, such as data types, formats, and structures in a database.

b. Uses of DBMS: Data storage, Data security, Easy retrieval of information

3. Explain the following DBMS Languages:
a. Data Definition Language
b. Data Manipulation Language

a. DDL is used to define database structure (e.g., CREATE, ALTER).

b. DML is used to manipulate data (e.g., INSERT, UPDATE, DELETE).

4. State and explain the two (2) integrity rules in Database.

1. Entity Integrity: Ensures each table has a primary key and that key is unique and not null.

2. Referential Integrity: Ensures foreign keys correctly reference primary keys in other tables.

5. State the steps of inserting a row at bottom of a table.

Click on the last row → Press Tab or Insert Record → Enter data in the new row.

6. Give three (3) advantages and two (2) disadvantages of DBMS.

Advantages: Data consistency, Easy access, Improved data sharing

Disadvantages: Cost of setup, Complexity of management

7. a. What is a database window or interface?
c. State any three (3) components of a Database window.

a. A database window/interface is the graphical interface where users manage tables, queries, forms, etc.

Components: Tables, Queries, Reports

8. a. Outline the difference between a row and a column in a table
b. What is a Query by Example?

a. Row = horizontal record, Column = vertical field/attribute

b. QBE is a visual query method that lets users fill out a grid to build queries without SQL.

9. Give two (2) differences between Primary key and Foreign key in database.

Primary Key: Unique identifier in the table. Cannot be null.

Foreign Key: Refers to a primary key in another table. Can be duplicated and null.

10. a. What is an attribute?
b. Explain two (2) types of attributes in DBMS.

a. An attribute is a field or property of a database entity (e.g., Name, Age).

b. Simple Attribute – Cannot be divided (e.g., Age).
Composite Attribute – Can be split into sub-parts (e.g., Full Name).

SECTION B: PRACTICAL (50 MARKS)

Complete ALL practical tasks in this section. Follow instructions carefully.
SECTION B: PRACTICAL (50 MARKS)
  1. Create a database and name it Market Record
  2. Enter the data:
    Full Name       Age    Item        Location
    Mr. Oppong      43     Provision   Taifa
    Aunty Ama       39     Cassava     Dansoman
    Mr. Dadzie      50     Meat        Lapaz
    Awuara Ama      45     Vegetable   Madina
    Aunty Mansah    38     Cereal      Circle
                    
  3. Bold the column headings
  4. Add a second table named Kaneshie Market with assumed items
  5. Expand column widths and create a report for both tables
  6. Print your work and close all programs

Exam Preparation Tip: Practice these database concepts regularly and try creating sample databases to reinforce your understanding. Hands-on experience is crucial for mastering database management skills.

Download Full Past Question (PDF)

Get the complete question paper with all sections for offline practice