Professional Documents
Culture Documents
Tasks to be completed. 1. Refer Appendix C for project details 2. Refer Table Of Construct for assessment details 3. Develop a database according to requirements in TOC 4. Complete Report Form 5. Submit Report Form and softcopy of database that has been developed. SITUATION 3 The form teachers of your school are required to submit a report on the monthly test results of each student to the school administration. As an ICT student, you are asked to develop a Test Marks Information System (TMIS) to assist the teachers in recording the subject marks obtained by each student. TIMS should generate a report to show the subject marks, total marks and average marks of the students from each class. In the system, you are required to: (a) create a database that consist of two tables, namely table STUDENT and table CLASS. The database should store student ID, name, class, form teacher and marks for each subject taken. (b) enter at least four classes into the CLASS table. (c) enter at least two students data for each class. (d) create a query that links the two tables. The query should be able to calculate the total marks and average marks for each student automatically. (e) create a form for each table in (a). The form must show the title given and descriptive labels. (f) create a report based on the query in (d). The report must show the subject marks, total marks and average marks of the students from each class. Complete the RF.CW.LA6.S12.1 form. Submit the RF.CW.LA6.S12.1 form and the softcopy of the information system to your teacher at the end of the assessment session.
JPNKedah_SPA_ICT_ModuleS12.12011
Page 1
LA6.S12.1 Sample OVERVIEW OF DATABASE FOR SITUATION 3: The fundamental elements in this assessment are 2 Tables, 1 Query, 2 Forms, and 1 Report as shown below:
Database Name: Table Name: Query Name: Form Name: Report Name:
TMIS.accdb i) STUDENT
Steps to Develop Database Project Using MS Access 2007. 1. Getting Started. Click on MS Office Button > New. Page 2
JPNKedah_SPA_ICT_ModuleS12.12011
LA6.S12.1 Sample
2.
TMIS
JPNKedah_SPA_ICT_ModuleS12.12011
Page 3
LA6.S12.1 Sample
b. This box will appear. Rename the Table 1 to CLASS. Click OK.
JPNKedah_SPA_ICT_ModuleS12.12011
Page 4
LA6.S12.1 Sample
e. To enter data into CLASS Table, click View > Datasheet View.
JPNKedah_SPA_ICT_ModuleS12.12011
Page 5
LA6.S12.1 Sample
f.
Enter four classes and four form teachers into the CLASS table. Save the table.
JPNKedah_SPA_ICT_ModuleS12.12011
Page 6
d. This dialog box will appear. Save the table name as STUDENT. Click OK.
JPNKedah_SPA_ICT_ModuleS12.12011
Page 7
LA6.S12.1 Sample
f. Key in the field name as shown below and click Save icon.
Field Name StudentID (set as primary key) StudentName ICT BM BI SEJ ClassName
JPNKedah_SPA_ICT_ModuleS12.12011
Page 8
LA6.S12.1 Sample
h. Enter at least two students data for each class. Save the table.
JPNKedah_SPA_ICT_ModuleS12.12011
Page 9
LA6.S12.1 Sample
JPNKedah_SPA_ICT_ModuleS12.12011
Page 10
LA6.S12.1 Sample
JPNKedah_SPA_ICT_ModuleS12.12011
Page 11
LA6.S12.1 Sample
f. Close CLASS and STUDENT Table before creating the relationship. Relationship cannot be created if both tables are open.
JPNKedah_SPA_ICT_ModuleS12.12011
Page 12
LA6.S12.1 Sample
h. Click Create New and follow the steps given below and click Ok.
JPNKedah_SPA_ICT_ModuleS12.12011
Page 13
LA6.S12.1 Sample
i.
j.
This window will appear to show the relationship. Click Save icon and close the relationship.
JPNKedah_SPA_ICT_ModuleS12.12011
Page 14
LA6.S12.1 Sample
7. To create QUERY
b. New Query dialog box will appear. Click Simple Query Wizard. Click OK. JPNKedah_SPA_ICT_ModuleS12.12011 Page 15
LA6.S12.1 Sample
c. Simple Query Wizard dialog box will appear. Choose CLASS Table. Select the available fields into Selected Fields.
JPNKedah_SPA_ICT_ModuleS12.12011
Page 16
LA6.S12.1 Sample
d. Select STUDENT Table. Select the Available Fields into Selected Fields EXCEPT the ClassName field. Click Next.
JPNKedah_SPA_ICT_ModuleS12.12011
Page 17
LA6.S12.1 Sample
e. Click Next
JPNKedah_SPA_ICT_ModuleS12.12011
Page 18
LA6.S12.1 Sample
JPNKedah_SPA_ICT_ModuleS12.12011
Page 19
LA6.S12.1 Sample
JPNKedah_SPA_ICT_ModuleS12.12011
Page 20
LA6.S12.1 Sample
i.
Add another two fields which are Total field and Average Field into qryTMS. Type the formula to show each mark in Total and Average field.
j.
JPNKedah_SPA_ICT_ModuleS12.12011
Page 21
LA6.S12.1 Sample
k. Write inside the criteria column for ClassName field to get the data. Example: [Please key in ClassName:] .
JPNKedah_SPA_ICT_ModuleS12.12011
Page 22
i) To create CLASS form a. Click Create, Select More Form. Choose Form Wizard
b. Select CLASS Table. Add Available fields into the selected fields. Click Next.
c.
Click Next.
JPNKedah_SPA_ICT_ModuleS12.12011
Page 23
LA6.S12.1 Sample
JPNKedah_SPA_ICT_ModuleS12.12011
Page 24
LA6.S12.1 Sample
JPNKedah_SPA_ICT_ModuleS12.12011
Page 25
LA6.S12.1 Sample
JPNKedah_SPA_ICT_ModuleS12.12011
Page 26
LA6.S12.1 Sample
b. Click frmClass textbox and rename the title as TEST MARKS INFORMATION SYSTEM (TMIS). c. Edit the font and colour using the Design Menu.
JPNKedah_SPA_ICT_ModuleS12.12011
Page 27
LA6.S12.1 Sample
d. Write the descriptive label as a CLASS FORM by using the Label icon. e. Edit the font by using menus from Design Menu.
JPNKedah_SPA_ICT_ModuleS12.12011
Page 28
LA6.S12.1 Sample
f. Click View > Form view. The form will appear. Click Save icon.
JPNKedah_SPA_ICT_ModuleS12.12011
Page 29
LA6.S12.1 Sample
ii) To create STUDENT form a. Click Create, Select More Forms. Choose Form Wizard.
b. Select STUDENT Table. Add Available Fields into Selected Fields. Click Next.
JPNKedah_SPA_ICT_ModuleS12.12011
Page 30
LA6.S12.1 Sample
JPNKedah_SPA_ICT_ModuleS12.12011
Page 31
LA6.S12.1 Sample f. Click View > Design View to edit the Title and the descriptive label.
g. Change the Forms Title as TEST MARKS INFORMATION SYSTEM (TMIS) and the descriptive label as STUDENT FORM.
JPNKedah_SPA_ICT_ModuleS12.12011
Page 32
LA6.S12.1 Sample
JPNKedah_SPA_ICT_ModuleS12.12011
Page 33
LA6.S12.1 Sample
b. Report Wizard dialog box will appear. Select qryTMIS at Tables/Queries. Add Available fields into Selected Fields. Click Next.
LA6.S12.1 Sample
d. Click Next.
JPNKedah_SPA_ICT_ModuleS12.12011
Page 35
LA6.S12.1 Sample
e. Click Next.
f. Click Next.
JPNKedah_SPA_ICT_ModuleS12.12011
Page 36
LA6.S12.1 Sample
JPNKedah_SPA_ICT_ModuleS12.12011
Page 37
LA6.S12.1 Sample h. Choose any Style for your report. Click Next.
i.
JPNKedah_SPA_ICT_ModuleS12.12011
Page 38
LA6.S12.1 Sample
j.
This box will appear because of the criteria that we have set at Query. Type 1 Amanah to view the sample report.
l.
Edit your report title and the descriptive label by using Label icon.
JPNKedah_SPA_ICT_ModuleS12.12011
Page 39
LA6.S12.1 Sample
JPNKedah_SPA_ICT_ModuleS12.12011
Page 40
LA6.S12.1 Sample
g. This box window will appear. Type tha class name. For example : 1 Amanah. h. Click Ok.
i.
JPNKedah_SPA_ICT_ModuleS12.12011
Page 41
LA6.S12.1 Sample
j.
If you want to view all the data from all classes, remove the criteria in ClassName field at qryTMIS.
k. Double Click at qryTMIS. The box will appear. Key in sample data. For example : 1 Amanah.
l.
JPNKedah_SPA_ICT_ModuleS12.12011
LA6.S12.1 Sample
JPNKedah_SPA_ICT_ModuleS12.12011
Page 43
LA6.S12.1 Sample
o. Click rptTMIS to view the new report. This window will appear.
JPNKedah_SPA_ICT_ModuleS12.12011
Page 44