Top Banner
Review
23

Review. Focused concept Week 1: Three separate types of functionality: Data Management Application logic Presentation Single-tier, client-server, three-tier.

Dec 27, 2015

Download

Documents

Scott Boyd
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Review. Focused concept Week 1: Three separate types of functionality: Data Management Application logic Presentation Single-tier, client-server, three-tier.

Review

Page 2: Review. Focused concept Week 1: Three separate types of functionality: Data Management Application logic Presentation Single-tier, client-server, three-tier.

Focused conceptWeek 1:

Three separate types of functionality: Data Management Application logic Presentation

Single-tier, client-server, three-tier architecture

How Do Databases Support the World Wide Web

Page 3: Review. Focused concept Week 1: Three separate types of functionality: Data Management Application logic Presentation Single-tier, client-server, three-tier.

Review for ExamWeek 2

Relational model: table, key(PR,FK), row, column, domain,tuple/record, NULL value

Data integrity, entity integrity, Referential Integrity, enterprise integrity

Views, relationship (three types, how to model them)

Page 4: Review. Focused concept Week 1: Three separate types of functionality: Data Management Application logic Presentation Single-tier, client-server, three-tier.

Review for Exam Week 3

NormalizationValidating data (field level, table level)SQL statements

Page 5: Review. Focused concept Week 1: Three separate types of functionality: Data Management Application logic Presentation Single-tier, client-server, three-tier.

Review for exam Week 4:

Query: boolean expressions, different types of queries (select,action, parameter, crosstab)

Different types of joins (equ(inner)joins, left/right joins)

Page 6: Review. Focused concept Week 1: Three separate types of functionality: Data Management Application logic Presentation Single-tier, client-server, three-tier.

Review for exam Week 5 and week 6:

Form and report

Page 7: Review. Focused concept Week 1: Three separate types of functionality: Data Management Application logic Presentation Single-tier, client-server, three-tier.

Review for examWeek 10: HTML: main concepts (host, URL,

browser, web server….), heading, body, html format tags, list tags, table

Week 11:CSS (main concepts, selector, images)

Week 12:Movie, slide shows, map

Week 13:Forms, Javascript (alert box)

Page 8: Review. Focused concept Week 1: Three separate types of functionality: Data Management Application logic Presentation Single-tier, client-server, three-tier.

Practice (Monday)1. <h1>Changing a light bulb</h1><ol><li>Make sure you have unplugged the lamp from the wall

socket.</li><li>Unscrew the old bulb.</li><li>Get the new bulb out of the package.</li><li>Check the wattage to make sure it's correct.</li></ol>

Page 9: Review. Focused concept Week 1: Three separate types of functionality: Data Management Application logic Presentation Single-tier, client-server, three-tier.

Practice (Monday)2. <form method="post"

action="http://www.cookwood.com/cgi-bin/display_results.pl"><p><b>Extras:</b> <input type="checkbox" name="extras" value="foot"

/>Footboard<input type="checkbox" name="extras" value="drawers" checked="checked"

/>Drawers (for underneath)<input type="checkbox" name="extras" value="casters" />Casters<input type="checkbox" name="extras" value="nosqueak" />Squeak proofing</p><hr />Please share any suggestions or comments with us: <textareaname="comments" rows="3" cols="65">Comments?</textarea><hr /><input type="submit" value="Order Bed" /><input type="reset" value="Start Over" /></form>

Page 10: Review. Focused concept Week 1: Three separate types of functionality: Data Management Application logic Presentation Single-tier, client-server, three-tier.

Practice (Monday)3. <p><a href=“picture1.jpg"><img src=“thumb1.jpg"

alt="Flowers on the Rambles" width="83" height="125" /></a> <a href=“picture2.jpg"><img src=“thumb2.jpg" alt="Fruit stand" width="103" height="67" /></a> <a href=“picture3.jpg"><img src=“thumb3.jpg" alt="Charcuterie" width="123" height="85" /></a> <a href=“picture4.jpg"><img src=“thumb4.jpg" alt="Canned goods, hams, wine, olives!" width="84" height="123" /></a></p>

Page 11: Review. Focused concept Week 1: Three separate types of functionality: Data Management Application logic Presentation Single-tier, client-server, three-tier.

Practice (Monday)1-i2-a3-d4-f5-b6-g7-h8-c9-h

Page 12: Review. Focused concept Week 1: Three separate types of functionality: Data Management Application logic Presentation Single-tier, client-server, three-tier.

Practice1. Place letters in the blankSelect query____c____<H1> </H1>____d_________Form_____b_________Report____a_________a.Printable format of a query b. Used to create a user interfacec. query to retrieve information from databased. indicates an HTML heading element

Page 13: Review. Focused concept Week 1: Three separate types of functionality: Data Management Application logic Presentation Single-tier, client-server, three-tier.

Practice1. Place letters in the blankSelect query____c____<H1> </H1>____d_________Form_____b_________Report____a_________a.Printable format of a query b. Used to create a user interfacec. query to retrieve information from databased. indicates an HTML heading element

Page 14: Review. Focused concept Week 1: Three separate types of functionality: Data Management Application logic Presentation Single-tier, client-server, three-tier.

Practice2.1 Student-Advisor is a

a. One to one relationshipb. One to many relationship

c. Many to many relationship

d. None of the above

Page 15: Review. Focused concept Week 1: Three separate types of functionality: Data Management Application logic Presentation Single-tier, client-server, three-tier.

Practice2.2. The Relationships window in Microsoft

Access can be accessed through the main menu by clicking __________.a.) Tools / Relationships... b.) View / Relationships... c.) File / Open Relationships...d.) Edit / Relationships...e.) Window / View Relationships...

Page 16: Review. Focused concept Week 1: Three separate types of functionality: Data Management Application logic Presentation Single-tier, client-server, three-tier.

Practice3. Student:

PK: id

FK: majorId

Major:

PK: majorId

Relationship:

one to many (in this case)

Page 17: Review. Focused concept Week 1: Three separate types of functionality: Data Management Application logic Presentation Single-tier, client-server, three-tier.

Practice3. SELECT Student.id, Student.name,

Student.earnedCredit, Major.description

FROM Major INNER JOIN Student ON Major.majorId = Student.majorId

WHERE Major.majorId='1';

Page 18: Review. Focused concept Week 1: Three separate types of functionality: Data Management Application logic Presentation Single-tier, client-server, three-tier.

Practice4.

A baby elephant

A small tiger

Page 19: Review. Focused concept Week 1: Three separate types of functionality: Data Management Application logic Presentation Single-tier, client-server, three-tier.

Multiple choices1. If a user has a Web browser on his or her computer,

which requests a web page from a web server, which in turn requests data from a Database Management Systems on a separate server, then this system

is a(n) ____________ architecture.

a) single-tier

b) two-tier

c) three-tier

Page 20: Review. Focused concept Week 1: Three separate types of functionality: Data Management Application logic Presentation Single-tier, client-server, three-tier.

Multiple choicesWhich piece of code is a correct example of

linking an external style sheet to a Web page?

A. <link ="stylesheet" href="mystyle.css" />

B. <link rel="stylesheet" href="mystyle.css" />

C. <rel = "stylesheet" href="mystyle.css" />

D. <stylesheet href="mystyle.css" />

Page 21: Review. Focused concept Week 1: Three separate types of functionality: Data Management Application logic Presentation Single-tier, client-server, three-tier.

Multiple choicesTo help make your code easier to understand and

debug, you should make liberal use of ____________ tags in your source code.

A.<comment>….</comment>

B. <!-- -->

C. /* */

D. <doc>…</doc>

Page 22: Review. Focused concept Week 1: Three separate types of functionality: Data Management Application logic Presentation Single-tier, client-server, three-tier.

Last practice<form method="post" enctype="text/plain" action="mailto:[email protected]"><table border="0" width="50%"><tr> <td align="center">

<input type="radio" name="size" value="L" /> Large<input type="radio" name="size" value="M" /> Medium<input type="radio" name="size" value="S" /> Small

</td> </tr><tr> <td align="center">

<input type="submit" value="Submit" name="submit" /></td> </tr></table></form>

Page 23: Review. Focused concept Week 1: Three separate types of functionality: Data Management Application logic Presentation Single-tier, client-server, three-tier.

Last practice