3. image4.png
image5.png
image6.png
Dear <<student first name>>,
<<begin_comment>>
Welcome to all existing students and new students. <<term>>
will commence <<term_start>>.
Please ensure your payment is finalised by <<payment_final>>
If a student is no longer attending
lessons, please email the CYCM to be removed off the email
list.
If paying by Bank Transfer- EFT, please forward a copy of your
payment to the office, to follow up
and allocate to the student.
PAYMENT DETAILS:
Ref#: <<reference_number>>
Student: <<student_firstname>> <<student_lastname>>
Amount: $<<amount>>
Alternatively pay via Bank Transfer - EFT - CDU bank details,
delete old bank details:
New Bank details
4. Bank: <<bank>>
Account Name: <<<account_name>>
BSB Number: <<bsb>>
Account Number: <<account_number>>
Reference number – please include ‘CYCM, Reference number
and student name’
The CYCM is committed to providing students with quality
lessons in a positive learning environment.
Regards
<<signature>>
The CDU Centre for Youth and Community Music require a web
application to record lessons and send out
invoices. A copy of the invoice letter is available on Learnline.
Student model (will require CRUD, sort by all fields):
• Student first name (text field 200 characters)
• Student last name (text field 400 characters)
• Student DOB (datefield)
• Student Age (calculated from today’s date – DOB)
• Student Gender (male/female/non-binary)
• Parent/Guardian name (text field 200 characters)
• Payment Contact email address (email field)
• Payment Contact number (telephone field – if mobile test
number)
• Link to lesson list with search by that student
Lesson model (will require CRUD, sort by all fields, and
5. student name search field):
• Student ID (see above)
• Instrument ID (see below)
• Tutor ID (see below)
• Lesson Term & Year
• Lesson Date & Time
• Duration ID (see below)
• Letter ID (see below)
• PAID/NOT PAID (based on letter)
…also require on list:
• Checkbox on each item
• Calculate letter button at header (uses items selected by
checkbox)
• PAID button on each item
Related models (have their own CRUD lists that are referenced
by the list above):
• Instrument
• Tutor
• Duration – 30min, 45min or 60min with Cost
Letter List Fields (for letters already sent):
• Unique Letter ID (calculated when creating letter, must auto-
count)
• Reference (calculated:
Year+StudentLastName+UniqueLetterID)
• PAID/NOT PAID
• SEND (to gather the below fields and send letter)
6. Letter dynamic Fields when producing letter:
• Beginning comment (paragraph size)
• Signature of email (paragraph size) – should remember and
change if needed
• Bank and Account Name – should remember and change if
needed
• BSB (6 digit code) – should remember and change if needed
• Account number (30 digit code, trim whitespace) – should
remember and change if needed
• Current Term (1,2,3,4) – should remember and change if
needed
• Current Semester (1,2) – should remember and change if
needed
• Current Year (year field) – should remember and change if
needed
• Term Start dates (datefield) – should remember and change if
needed
• List of payment items for this letter (autofilled from currently
selected)
• Total cost (calculated)
When you send a letter, store the reference number from the
letter against each item in the letter.
Need to replace the letter reference on a lesson if another letter
is sent out. Requires a warning.
INSY 3304 - Project 1
Order ID
Order Date
Cust ID
Cust Name
Cust Phone
Sales Rep ID
7. Sales Rep Name
Comm Class
Comm Rate
Dept ID
Dept Name
Prod ID
Prod Name
Prod Cat ID
Prod Cat Name
Prod Qty
Prod Price
100
1/24/2022
S100
John Smith
214-555-1212
10
Alice Jones
A
0.1
10
Store Sales
121
BD Hammer
1
Hand Tools
2
$8.00
11. Hand Tools
1
$7.00
535
Schlage Door Knob
5
Hardware
4
$7.50
103
1/26/2022
B200
Ann Brown
972-555-7979
8
Kay Price
C
0.05
14
Corp Sales
121
BD Hammer
1
Hand Tools
50
12. $7.00
123
Acme Pry Bar
1
Hand Tools
20
$6.25
104
1/26/2022
S100
John Smith
214-555-1212
10
Alice Jones
A
0.1
10
Store Sales
229
BD Power Drill
2
Power Tools
1
$50.00
15. 123
Acme Pry Bar
1
Hand Tools
40
$5.00
106
1/27/2022
G070
Kate Green
20
Bob Jackson
B
0.08
10
Store Sales
124
Acme Hammer
1
Hand Tools
1
$6.50
107
1/27/2022
J090
William Jones
14
Sara Day
16. Z
0
10
Store Sales
229
BD Power Drill
2
Power Tools
1
$59.00
108
1/27/2022
S120
Wesley Sims
214-555-1234
22
Micah Moore
Z
0
16
Web Sales
235
Makita Power Drill
2
Power Tools
1
$65.00
Additional Information:
Home Improvement Warehouse is a store that sells home
improvement products. All orders are picked up from the store.
Each order must be sold to a specific customer. Each customer
must have at least one order associated with him/her, and each
customer is assigned to a specific sales rep. Each sales rep
belongs to a specific department, and each department has at
17. least one employee. Each sales rep is assigned to a commission
class and earns the same commission rate for each of his/her
sales, regardless of the sale amount or the department to which
he/she belongs. It is possible to have a commission class to
which no employees belong. Each order is for at least one
product, but some products may not ever get ordered. Product
prices may vary over time, and the price at the time of the sale
must be captured for each transaction (assume that the prices
shown in the table above are also the current prices). Each
product belongs to a single category, but some categories may
not have any products that belong to them.
Based on the information provided above, complete the
following:
1. FIRST NORMAL FORM (1NF) – 20 pts:
a. Decompose the composite attributes into simple attributes.
b. Convert the table above to 1NF (eliminate repeating groups
of data and select an appropriate PK).
c. Show the table structure format (table name with PK and all
dependent attributes in parentheses).
d. Create a dependency diagram for the table above.
2. SECOND NORMAL FORM (2NF) – 20 pts:
a. Show the table structure format for each table in 2NF.
b. Create the dependency diagrams for the resulting tables.
3. THIRD NORMAL FORM (3NF) – 20 pts:
a. Convert to 3NF and show the table structure format for each
table.
b. Create the dependency diagrams for the resulting tables.
4. ENTITY-RELATIONSHIP MODEL – 20 pts:
Using Chen notation, create an ERD showing all of the 3NF
tables above. You must show the entities, relationships,
connectivity, participation, and cardinality (it is not necessary
to show the attributes on the ERD).
18. 5. Submit Documents
Submit your documents from Steps 1 – 4, printed and bound
(properly stapled or submitted in a way where the pages will not
come apart or get out of order).
INSY 4315
Assignment #1
Create an “online survey” as a web page formatted to look
similar to the example webpage at the end of this document.
Getting Started
You should choose your own company name, product theme,
and logo (image). Reword the example survey text to match
your selection. Use only Notepad, Notepad++, Sublime, or a
similar text editor to create your code. Insert your name and
Student ID as comment lines directly above the <html> element
of your web page.
Embedded CSS Settings/Requirements
· Embedded CSS is required. Only use inline styling where
necessary.
· background and foreground/text colors should complementary
and professional
· h1 and h2 heading element text should be centered
· choose an image to represent your product theme (i.e., your
company logo) and make it appear to the right of the text in the
DIV element (see “Document Text” section below); you may
need to resize your image to make sure that it occupies between
20% and 30% of the browser width
· the DIV element (see “Document Text” section below) should
have a width of approximately 70% of the browser width
· form elements should be aligned by putting them into a table
(see example web page)
· list item text should have appropriate font and size settings
19. · horizontal rules should be inserted as shown in the example
webpage
· single group of radio buttons should be used for the gender
selections
· select (dropdown) element or single group of radio buttons
should be used for the age-group selections (not checkboxes as
shown in the example)
· Reset button should clear all form elements, including survey
responses.
· Submit button does not have to submit the form data, but it
does need to perform validation for all fields to be required and
the email field to be the correct format.
Use the Following Document Text
You may copy these blocks of text into your document where
applicable, but be sure you change the text (namely, the
italicized words/phrases) to match your selected
company/product type. Make sure you have created the style
settings as listed above and as shown in the example webpage.
· h1
· Thank you for choosing
Sunrise Coffee Creations
· Div
· You have been randomly selected to participate in our
Customer Satisfaction Survey. Please tell us a little bit about
yourself by filling in the requested information at the top of the
survey, then respond to the survey opinion statements based on
your experiences with
Sunrise Coffee Creations. To show our appreciation,
we will send you a $5
Sunrise Coffee Creations eGift Certificate via e-mail.
· h2
· Please respond to the opinion statements using the following
20. scale:
· Ordered or unordered list items
· 1 Strongly Agree
· 2 Somewhat Agree
· 3 Neither Agree nor Disagree
· 4 Somewhat Disagree
· 5 Strongly Disagree
· Ordered or unordered list items
·
Sunrise Coffee Creations products are always fresh.
·
Sunrise Coffee Creations products have an appealing
aroma.
·
Sunrise Coffee Creations products are reasonably
priced.
·
Sunrise Coffee Creations products are of the highest
quality.
·
Overall, I am very satisfied with Sunrise Coffee
Creations products.
Validate Your Web Page
Validate your web page at
http://validator.w3.org using the “Validate by File
Upload” option. If errors are detected, fix them and revalidate.
If your file does not validate with
no errors, an automatic 5-point deduction will be taken.
Note: all tags should be lower case for proper validation.
Grading
95% of your grade will be based on adherence to the
21. requirements stated above. 5% will be based on overall
appearance and design.
Submit the Assignment
Make sure you have saved your web page as
“4315_Lab1_abc1234.htm” where abc1234 represents NetID.
Put the web page file and your image file in a folder named
“4315_Lab1_abc1234” (where abc1234 represents your NetID),
then zip and upload it to Canvas using the link provided in the
assignment page.
Example Web Page
image1.png