SS2 Data Processing Practical Examination
SS2 Data Processing Practical Examination
QUESTION 1
The table below contains ten products sold in a supermarket/provision store
APPLICATION:
(i) Start the MS- Access, set the appropriate field width/field size and create the table
(ii) Key/type ten goods/products of your choice that can be found in a supermarket/provision store in your
area in the product column
(iii) Supply the “Unit Selling Price” within the range of N100 to N1000 and calculate the “Amount”, where
Amount = “Quantity Supplied” x “Unit Selling Price”
(iv) Create a new field “Quantity Sold” in between the “Quantity Supplied” and “Unit Selling Price” and key in
10 records of your choice between the range of 5 to 20
(v) Create a report showing Quantity Supplied, Quantity Sold and Unit Selling Price for products with S/N 1, 2,
3 and 5 in the table
(vi) Print out the table in PDF created in landscape orientation
QUESTION 2
A. Using SQL statement Create table called STUDENT RECORD with the following attributes: StuAdmission
varchar(5) not NULL, Surname varchar(25), Firstname varchar(25), gender varchar(6) State of origin
varchar(15), Date of birth date, Class varchar(10)
B. Using SQL statement to insert data into the table created above
C. Populate the table with new data (minimum of 8 records)
D. Design a query to extract information from the above table where class is greater or equal to ss1. Get their surname,
gender and class
Using SQL statement, create this table and use it to answer the below questions.
Contract
Contract Num Customer ID Contract Amt Signing Date Contract Type
1001 10001 N30,000,000.00 12/2/2016 Steel bending
1002 10001 N500,000.00 12/2/2016 Book binding
1003 10002 N400,000.00 3/3/2016 Lamination of books
1004 10002 N4,000,000.00 4/4/2016 Printing of books
1005 10003 N600,000.00 5/5/2016 Cleaning of the environment
1006 10004 N4,000,000.00 9/9/2016 refreshment
E. From the Contract table above extract the Contract Amt between 400,000 and 600,000 naira
F. Extract the information on “printing of books” only
G. using SQL statement to change “lamination of books” under the Contract Type to “data processing books”
From the EMPLOYEE_TBL, we want to delete some employees that had left the organization
EMPLOYEE_TBL
firstname lastname title age salary
Mercy Simeon Manager 26 N70,000.00
Joshua Daniel Ass. Manager 45 N60,000.00
King Adeleye Accountant 30 N40,000.00
Raji Amoto Security 28 N23,000.00
Favour Anyim Cleaner 30 N30,000.00