Database Design and Development- Formative Assessment 1 (Part 2)_vje
Database Design and Development- Formative Assessment 1 (Part 2)_vje
Learning Objective:
Formative assessment 1 will cover the following concepts:
a. Database creation using T_SQL
b. Views
c. Stored procedures
d. Inserts
e. Code comments
f. Database backup
Attributes/Competencies Assessed:
a. 114048 - Create database access for a computer application using structured
query language
Scope:
The aim of relational data modeling design concepts is to provide a structured approach
for designing a database schema that efficiently and accurately represents the data
requirements of an organization or system.
Relational data modeling is a process of identifying entities, attributes, and relationships
between them, and organizing them into tables and defining the constraints that ensure
data integrity. It is used to create a blueprint for a database, which can be used as a
guide for building a physical database.
Technical Aspects:
The number of pages for this formative assessment is 17 and the following font and size
should be used in your report:
a. Font: Arial
b. Size: 12 and 14 for headings
c. Font colour: Black
Save and upload the report as a .PDF (No backgrounds) with the following naming
convention:
a. Student no_StudentName_StudentSurname_ModuleCode_FA1 (No ZIP folder
uploads)
Ensure adequate referencing is used when using information from either books or
internet. Plagiarism is a serious offecne and can result in 0% for the assessment when
excessive work is copied without proper referencing.
Additional research required for question 2
Please complete the following and sign as requested for Portfolio of Evidence (POE)
a. Pre-Assessment agreement (Save, sign and submit as PDF)
b. Assessment Feedback Agreement (Save, sign and submit as PDF)
Mark allocation for report
See Mark allocation sheet below
Part 2
Unit Specific Assessment
standard outcome criterion
114048 1 1
1 2
1 3
1 4
2 1
2 2
2 3
2 4
2 5
2 6
3 1
3 2
3 3
3 4
3 5
3 6
3 7
3 8
4 1
4 2
4 3
4 4
4 5
5 1
5 2
Scenario
Take Suzi’s Yoga Studio into consideration. Please ask your lecturer for the
correct ER diagram for the questions to follow.
Question 1
(16)
Create a script file that includes the code for creating the database and all of the tables
required in the project. PRIMARY KEY, FOREIGN KEY, UNIQUE, and CHECK constraints must
be included. Make use of the IDENTITY property, DEFAULT values, and constraints.
(16)
ANSWER (Copy and paste actual code here):
Question 2 (6)
Create a script file to insert data into your user created tables. Add at least four records for
each table without foreign keys, and seven records for each table that does contain a
foreign key. (6)
ANSWER (Copy and paste actual code here):
Question 3 (16)
Create a script file to create the following views:
(16)
a. vw_Exercises
Select book title, exercise name, exercise description, and the field representing how
often the exercise is used per session/class.
ANSWER (Copy and paste actual code here):
b. vw_ClassAttendance
Select class code, class week day, class time, studio number, and the total number of
people attending each class. Only show the records where less than four people
attend the class.
ANSWER (Copy and paste actual code here):
c. vw_ExercisesUsed
Select the exercise name, description, duration, and how often each exercise is used.
Only show the four most common exercises (use the alias ‘total times performed’).
ANSWER (Copy and paste actual code here):
d. vw_TotalClassesPerMember
Select all member names as well as the total number of classes that each member
will attend. HINT: Use the COUNT function.
ANSWER (Copy and paste actual code here):
Question 4 (16)
Create a script file to create the following stored procedures:
(16)
a. sp_AddNewExercise
Insert a new exercise record.
ANSWER (Copy and paste actual code here):
b. sp_UpdateExerciseTimesUsed
Update the field which specifies how many times an exercise will be performed in
each class.
ANSWER (Copy and paste actual code here):
c. sp_DeleteBook
Delete a book record. A book may only be deleted if it is not contained in the
vw_Exercises view.
ANSWER (Copy and paste actual code here):
d. sp_Report
Print the details of a specified class and each member’s name and contact number
assigned to the class. Your report's output should have exactly the same format as
shown below:
Question 6 (4)
Create a script file to delete the database that you create.
(4)
ANSWER (Copy and paste actual code here):
Question 7 (4)
Create two (2) appropriate indices on your tables.
(4)
ANSWER (Copy and paste actual code here):
Question 8 (4)
Using the GUI, create a full backup of your database and zip it with WinZip.
(4)
ANSWER (Copy and paste actual code here):
Question 9 (10)
a. Each script file must have a header section (using comments) that contains the
following information:
Script file name
Programmer name
Date
A short description of what the script file does
b. Ensure in code comments are added
(10)
Mark allocation for student
Part 2
Question 1 16
Question 2 6
Question 3 16
Question 4 16
Question 5 4
Question 6 4
Question 7 4
Question 8 4
Question 9 10
1 day late
-5
2 days late
Deductions -10
3 days late
-15
Total: 80
PRE-ASSESSMENT AGREEMENT
Assessment Process
Evaluation of POE addressing Essential
Embedded Knowledge in unit standards.
Evaluation of Research Projects and other
evidence addressing specific unit standards.
Consultation: assessment plan and assessment
activities and instruments. Pre-assessment
moderation and interviews conducted at this
stage.
Observation: feedback on assessment against
specific outcomes, critical outcomes in unit
standards.
Feedback: to candidate regarding sufficiency of
evidence and possible interview to gain
supplementary evidence.
Feedback to candidate regarding assessment
findings as well as review process.
Feedback Written feedback to be given to all stakeholders at the
end of the assessment process, as well as verbal
feedback to the candidate during assessment activities.
Recording Process and findings to be recorded and submitted for
Process record keeping purposes as well as moderation and
verification.
Review The review process is the responsibility of the assessor
Process and the candidate. Joint reviewing will take place after
feedback has been given to the candidate.
Right to The candidate must be advised of the right to appeal.
appeal
Resources Assignments
Required POE
Assessments
Guides
I confirm that:
I have been consulted on and have agreed to the training and
assessment process as detailed in the assessment guide.
I have been advised of my right to appeal against any assessment that
is unfair, unreliable, invalid or impracticable.
I have read and understood the appeal procedure.
I know that assessments may be moderated or verified by an external
party.
The purpose of the assessment has been clearly explained to me.
The criteria have been discussed with me, and I know I will be assessed
against these criteria.
I know when and where I will be assessed, and I was given fair notice.
I know how the assessment will be done, and any other requirements
related to the assessment.
Signed _____________________________ Date: ________________
:
Assessor’s
Date:
Signature
Moderator’s
Date:
Signature
Qualification Name:
Qualification SAQA
Number:
Unit standard
Number(s)
US114048
SO1,AC1
SO1,AC2
SO1,AC3
SO1,AC4
SO2,AC1
SO2,AC2
SO2,AC3
SO2,AC4
SO2,AC5
SO2,AC6
SO3,AC1
SO3,AC2
SO3,AC3
SO3,AC4
SO3,AC5
SO3,AC6
SO3,AC7
SO3,AC8
SO4,AC1
SO4,AC2
SO4,AC3
SO4,AC4
SO4,AC5
SO5,AC1
SO5,AC2
Learner Number:
Learner Signature:
Lecturer Signature:
Assessor Signature:
Moderator Signature:
Note to learner
Review the feedback provided by your lecturer to check that you have been
found competent in this assessment. If there are any areas where you have
been found not yet competent, you must redo those parts of the assessment
and resubmit within the stipulated time frame.
The section below will only be completed in cases where the learner was asked
to
resubmit parts of the assessment where they were found not yet competent.
Learner Number:
Learner Signature:
Lecturer Signature:
Assessor Signature:
Moderator name and
Date:
surname:
Moderator Signature: