❚❤❡ ❏❛✈❛❙❝r✐♣t ❘❡✈♦❧✉t✐♦♥
❚❤❡ ❝❧✐❡♥t✲s✐❞❡ t❛❦❡s ♦✈❡r ❈❙ ✸✼✵ ❙❊ Pr❛❝t✐❝✉♠✱ ❈❡♥❣✐③ ●ü♥❛②
✭❙♦♠❡ s❧✐❞❡s ❝♦✉rt❡s② ♦❢ ❊✉❣❡♥❡ ❆❣✐❝❤t❡✐♥ ❛♥❞ t❤❡ ■♥t❡r♥❡ts✮ ❈❙ ✸✼✵✱ ●ü♥❛② ✭❊♠♦r②✮ ❏❛✈❛❙❝r✐♣t ❙♣r✐♥❣ ✷✵✶✹ ✶ ✴ ✶✼
rt t - - PowerPoint PPT Presentation
rt t ts ts r Prt ss
❚❤❡ ❝❧✐❡♥t✲s✐❞❡ t❛❦❡s ♦✈❡r ❈❙ ✸✼✵ ❙❊ Pr❛❝t✐❝✉♠✱ ❈❡♥❣✐③ ●ü♥❛②
✭❙♦♠❡ s❧✐❞❡s ❝♦✉rt❡s② ♦❢ ❊✉❣❡♥❡ ❆❣✐❝❤t❡✐♥ ❛♥❞ t❤❡ ■♥t❡r♥❡ts✮ ❈❙ ✸✼✵✱ ●ü♥❛② ✭❊♠♦r②✮ ❏❛✈❛❙❝r✐♣t ❙♣r✐♥❣ ✷✵✶✹ ✶ ✴ ✶✼
❯♣❝♦♠✐♥❣ ♣r♦❥❡❝t ♠✐❧❡st♦♥❡s✿ ❍❛✈❡ ②♦✉ ♠❡t ✇✐t❤ ❇♦❜❄ ●✐t❍✉❜ ❛❝❝♦✉♥ts ✇❡r❡ ❞✉❡ t♦❞❛②✳ ✹✴✸✱ t❤✐s ❚❤✉rs❞❛②✱ ②♦✉ s❤♦✉❧❞ ❜❡ ❣❡tt✐♥❣ r❡❛❞② t♦ ❞❡♣❧♦②✦ ✹✴✶✵ ✐♥✲❝❧❛ss ❞❡♠♦ ❛♥❞ ❢✉♥❝t✐♦♥❛❧ ♣r♦t♦t②♣❡ ♦♣❡♥s ❢♦r t❡st✐♥❣✳
▼❛❦❡✲✉♣ ❝❧❛ss❡s✿ ❲❡❡❦❡♥❞ s❡ss✐♦♥s ❚♦❞❛②✿ ❚❤❡ ❏❛✈❛❙❝r✐♣t r❡✈♦❧✉t✐♦♥❄ ❋✐rst✱ ●✐t❍✉❜
❈❙ ✸✼✵✱ ●ü♥❛② ✭❊♠♦r②✮ ❏❛✈❛❙❝r✐♣t ❙♣r✐♥❣ ✷✵✶✹ ✷ ✴ ✶✼
❯♣❝♦♠✐♥❣ ♣r♦❥❡❝t ♠✐❧❡st♦♥❡s✿ ❍❛✈❡ ②♦✉ ♠❡t ✇✐t❤ ❇♦❜❄ ●✐t❍✉❜ ❛❝❝♦✉♥ts ✇❡r❡ ❞✉❡ t♦❞❛②✳ ✹✴✸✱ t❤✐s ❚❤✉rs❞❛②✱ ②♦✉ s❤♦✉❧❞ ❜❡ ❣❡tt✐♥❣ r❡❛❞② t♦ ❞❡♣❧♦②✦ ✹✴✶✵ ✐♥✲❝❧❛ss ❞❡♠♦ ❛♥❞ ❢✉♥❝t✐♦♥❛❧ ♣r♦t♦t②♣❡ ♦♣❡♥s ❢♦r t❡st✐♥❣✳
▼❛❦❡✲✉♣ ❝❧❛ss❡s✿ ❲❡❡❦❡♥❞ s❡ss✐♦♥s ❚♦❞❛②✿ ❚❤❡ ❏❛✈❛❙❝r✐♣t r❡✈♦❧✉t✐♦♥❄ ❋✐rst✱ ●✐t❍✉❜
❈❙ ✸✼✵✱ ●ü♥❛② ✭❊♠♦r②✮ ❏❛✈❛❙❝r✐♣t ❙♣r✐♥❣ ✷✵✶✹ ✷ ✴ ✶✼
❯♣❝♦♠✐♥❣ ♣r♦❥❡❝t ♠✐❧❡st♦♥❡s✿ ❍❛✈❡ ②♦✉ ♠❡t ✇✐t❤ ❇♦❜❄ ●✐t❍✉❜ ❛❝❝♦✉♥ts ✇❡r❡ ❞✉❡ t♦❞❛②✳ ✹✴✸✱ t❤✐s ❚❤✉rs❞❛②✱ ②♦✉ s❤♦✉❧❞ ❜❡ ❣❡tt✐♥❣ r❡❛❞② t♦ ❞❡♣❧♦②✦ ✹✴✶✵ ✐♥✲❝❧❛ss ❞❡♠♦ ❛♥❞ ❢✉♥❝t✐♦♥❛❧ ♣r♦t♦t②♣❡ ♦♣❡♥s ❢♦r t❡st✐♥❣✳
▼❛❦❡✲✉♣ ❝❧❛ss❡s✿ ❲❡❡❦❡♥❞ s❡ss✐♦♥s ❚♦❞❛②✿ ❚❤❡ ❏❛✈❛❙❝r✐♣t r❡✈♦❧✉t✐♦♥❄ ❋✐rst✱ ●✐t❍✉❜
❈❙ ✸✼✵✱ ●ü♥❛② ✭❊♠♦r②✮ ❏❛✈❛❙❝r✐♣t ❙♣r✐♥❣ ✷✵✶✹ ✷ ✴ ✶✼
❯♣❝♦♠✐♥❣ ♣r♦❥❡❝t ♠✐❧❡st♦♥❡s✿ ❍❛✈❡ ②♦✉ ♠❡t ✇✐t❤ ❇♦❜❄ ●✐t❍✉❜ ❛❝❝♦✉♥ts ✇❡r❡ ❞✉❡ t♦❞❛②✳ ✹✴✸✱ t❤✐s ❚❤✉rs❞❛②✱ ②♦✉ s❤♦✉❧❞ ❜❡ ❣❡tt✐♥❣ r❡❛❞② t♦ ❞❡♣❧♦②✦ ✹✴✶✵ ✐♥✲❝❧❛ss ❞❡♠♦ ❛♥❞ ❢✉♥❝t✐♦♥❛❧ ♣r♦t♦t②♣❡ ♦♣❡♥s ❢♦r t❡st✐♥❣✳
▼❛❦❡✲✉♣ ❝❧❛ss❡s✿ ❲❡❡❦❡♥❞ s❡ss✐♦♥s ❚♦❞❛②✿ ❚❤❡ ❏❛✈❛❙❝r✐♣t r❡✈♦❧✉t✐♦♥❄ ❋✐rst✱ ●✐t❍✉❜
❈❙ ✸✼✵✱ ●ü♥❛② ✭❊♠♦r②✮ ❏❛✈❛❙❝r✐♣t ❙♣r✐♥❣ ✷✵✶✹ ✷ ✴ ✶✼
❈❙ ✸✼✵✱ ●ü♥❛② ✭❊♠♦r②✮ ❏❛✈❛❙❝r✐♣t ❙♣r✐♥❣ ✷✵✶✹ ✸ ✴ ✶✼
❈❙ ✸✼✵✱ ●ü♥❛② ✭❊♠♦r②✮ ❏❛✈❛❙❝r✐♣t ❙♣r✐♥❣ ✷✵✶✹ ✹ ✴ ✶✼
❈❙ ✸✼✵✱ ●ü♥❛② ✭❊♠♦r②✮ ❏❛✈❛❙❝r✐♣t ❙♣r✐♥❣ ✷✵✶✹ ✺ ✴ ✶✼
❈❙ ✸✼✵✱ ●ü♥❛② ✭❊♠♦r②✮ ❏❛✈❛❙❝r✐♣t ❙♣r✐♥❣ ✷✵✶✹ ✻ ✴ ✶✼
❈❙ ✸✼✵✱ ●ü♥❛② ✭❊♠♦r②✮ ❏❛✈❛❙❝r✐♣t ❙♣r✐♥❣ ✷✵✶✹ ✻ ✴ ✶✼
❙t❡❛❧✐♥❣ ❢r♦♠ t❤❡✐r ♣❧❛t❡❄ ▼♦r❡ ❧✐❦❡ ❢★❅❦ ✐♥ t❤❡ r♦❛❞
❈❙ ✸✼✵✱ ●ü♥❛② ✭❊♠♦r②✮ ❏❛✈❛❙❝r✐♣t ❙♣r✐♥❣ ✷✵✶✹ ✼ ✴ ✶✼
❙t❡❛❧✐♥❣ ❢r♦♠ t❤❡✐r ♣❧❛t❡❄ ▼♦r❡ ❧✐❦❡ ❢★❅❦ ✐♥ t❤❡ r♦❛❞
❈❙ ✸✼✵✱ ●ü♥❛② ✭❊♠♦r②✮ ❏❛✈❛❙❝r✐♣t ❙♣r✐♥❣ ✷✵✶✹ ✼ ✴ ✶✼
❈♦♠♠♦♥ ●✐t❍✉❜ ✉s❛❣❡ ♣❛tt❡r♥✿ ❢♦r❦ ✫ ♠♦❞✐❢②
✶ ❋♦r❦ ✭❝❧♦♥❡✮ s♦♠❡♦♥❡✬s ♣r♦❥❡❝t ✐♥t♦ ②♦✉r ❛❝❝♦✉♥t ✷ ▼♦❞✐❢② ❛♥❞ ♠❛❦❡ ✐t ②♦✉r ♦✇♥ ✸ ❙❤❛r❡ ✇✐t❤ ♦r✐❣✐♥❛❧ ♣r♦❥❡❝t t❤r♦✉❣❤ ✏♣✉❧❧ r❡q✉❡sts✑
❖✉r ●✐t❍✉❜ ✉s❛❣❡ ♣❛tt❡r♥✿ ♣✉s❤ ✫ ♣✉❧❧
✶ ❙❡✈❡r❛❧ ✉s❡rs ❝♦❧❧❛❜♦r❛t❡ ♦♥ s❛♠❡ r❡♣♦ ✷ ❖♣❡♥ ●✐t❍✉❜ ❛❝❝♦✉♥t ❛♥❞ ✇❡ ❛ss♦❝✐❛t❡ ②♦✉ ✇✐t❤ ♣r✐✈❛t❡ ♣r♦❥❡❝t r❡♣♦s ✸ ■♥st❛❧❧ ❧♦❝❛❧ ❝❧✐❡♥t ❣✐t ♦♥ ❲✐♥❞♦✇s✱ ▼❛❝✱ ▲✐♥✉① ✹ ❈❧♦♥❡ t❤❡ r❡♣♦ ♦♥ ②♦✉r ❧♦❝❛❧ ❝♦♠♣✉t❡r ✭❞♦♥✬t ❢♦r❦ ♦♥ ●✐t❍✉❜✦✮ ✺ ▼♦❞✐❢②✱ t❤❡♥ ♣✉s❤ ❛♥❞ ♣✉❧❧ ✻ ❈♦♠♠✉♥✐❝❛t❡ ②♦✉r ♣✉s❤❡s ✇✐t❤ ②♦✉r t❡❛♠♠❛t❡s✦ ✼ ✭❖♣t✐♦♥❛❧✮ ▼❛❦❡ ❜r❛♥❝❤❡s ❛♥❞ s✇✐t❝❤ ❜❡t✇❡❡♥ t❤❡♠ ❈❙ ✸✼✵✱ ●ü♥❛② ✭❊♠♦r②✮ ❏❛✈❛❙❝r✐♣t ❙♣r✐♥❣ ✷✵✶✹ ✽ ✴ ✶✼
❈♦♠♠♦♥ ●✐t❍✉❜ ✉s❛❣❡ ♣❛tt❡r♥✿ ❢♦r❦ ✫ ♠♦❞✐❢②
✶ ❋♦r❦ ✭❝❧♦♥❡✮ s♦♠❡♦♥❡✬s ♣r♦❥❡❝t ✐♥t♦ ②♦✉r ❛❝❝♦✉♥t ✷ ▼♦❞✐❢② ❛♥❞ ♠❛❦❡ ✐t ②♦✉r ♦✇♥ ✸ ❙❤❛r❡ ✇✐t❤ ♦r✐❣✐♥❛❧ ♣r♦❥❡❝t t❤r♦✉❣❤ ✏♣✉❧❧ r❡q✉❡sts✑
❖✉r ●✐t❍✉❜ ✉s❛❣❡ ♣❛tt❡r♥✿ ♣✉s❤ ✫ ♣✉❧❧
✶ ❙❡✈❡r❛❧ ✉s❡rs ❝♦❧❧❛❜♦r❛t❡ ♦♥ s❛♠❡ r❡♣♦ ✷ ❖♣❡♥ ●✐t❍✉❜ ❛❝❝♦✉♥t ❛♥❞ ✇❡ ❛ss♦❝✐❛t❡ ②♦✉ ✇✐t❤ ♣r✐✈❛t❡ ♣r♦❥❡❝t r❡♣♦s ✸ ■♥st❛❧❧ ❧♦❝❛❧ ❝❧✐❡♥t ❣✐t ♦♥ ❲✐♥❞♦✇s✱ ▼❛❝✱ ▲✐♥✉① ✹ ❈❧♦♥❡ t❤❡ r❡♣♦ ♦♥ ②♦✉r ❧♦❝❛❧ ❝♦♠♣✉t❡r ✭❞♦♥✬t ❢♦r❦ ♦♥ ●✐t❍✉❜✦✮ ✺ ▼♦❞✐❢②✱ t❤❡♥ ♣✉s❤ ❛♥❞ ♣✉❧❧ ✻ ❈♦♠♠✉♥✐❝❛t❡ ②♦✉r ♣✉s❤❡s ✇✐t❤ ②♦✉r t❡❛♠♠❛t❡s✦ ✼ ✭❖♣t✐♦♥❛❧✮ ▼❛❦❡ ❜r❛♥❝❤❡s ❛♥❞ s✇✐t❝❤ ❜❡t✇❡❡♥ t❤❡♠ ❈❙ ✸✼✵✱ ●ü♥❛② ✭❊♠♦r②✮ ❏❛✈❛❙❝r✐♣t ❙♣r✐♥❣ ✷✵✶✹ ✽ ✴ ✶✼
❈❙ ✸✼✵✱ ●ü♥❛② ✭❊♠♦r②✮ ❏❛✈❛❙❝r✐♣t ❙♣r✐♥❣ ✷✵✶✹ ✾ ✴ ✶✼
❤tt♣✿✴✴❡♥✳✇✐❦✐♣❡❞✐❛✳♦r❣✴✇✐❦✐✴❏❛✈❛❙❝r✐♣t★❍✐st♦r② ❇✐rt❤ ❛t ◆❡ts❝❛♣❡✿ ❛❞✈❛♥t❛❣❡ ♦✈❡r ▼✐❝r♦s♦❢t ■♥t❡r♥❡t ❊①♣❧♦r❡r ■s ✐t ❝♦♠♣✐❧❡❞❄ ◆♦✱ ✐♥t❡r♣r❡t❡❞ ❧❛♥❣✉❛❣❡✳ ■s ✐t ❏❛✈❛❄ ◆♦✱ ✐♥s♣✐r❡❞ ❜② ✐t✳ ✿✮ ◆❛♠✐♥❣ ✇❛s ❝♦♥❢✉s✐♥❣✱ ♠❛②❜❡ ◆❡ts❝❛♣❡ ✇❛♥t❡❞ t♦ r✐❞❡ ♦♥ t❤❡ ❢❛♠❡ ♦❢ ❏❛✈❛✱ ✇❤✐❝❤ ✇❛s ❤♦t ❛♥❞ ♥❡✇ t❤❡♥✳ ❆♣♣❡❛r❡❞ ✜rst ❛s ▼♦❝❤❛✴▲✐✈❡❙❝r✐♣t ✐♥ ◆❡ts❝❛♣❡ ◆❛✈✐❣❛t♦r ✷✳✵ ✐♥ ❙❡♣t❡♠❜❡r ✶✾✾✺ ❙❡r✈❡r✲s✐❞❡ ❏❙ ♦♥ ✶✾✾✺ ▼✐❝r♦s♦❢t ❛❞♦♣t✐♦♥ ✐♥ ✶✾✾✻ ❙t❛♥❞❛r❞✐③❛t✐♦♥ ✶✾✾✼✕✷✵✶✶ ◆♦✇ ♦♥❡ ♦❢ ♠♦st ♣♦♣✉❧❡r ✇❡❜ ❧❛♥❣✉❛❣❡s✱ t❤❛♥❦s t♦ ❆❏❆❳ ✭✇✐❧❧ ❞♦ ♦♥ ❚❤✉rs❞❛②✮
❈❙ ✸✼✵✱ ●ü♥❛② ✭❊♠♦r②✮ ❏❛✈❛❙❝r✐♣t ❙♣r✐♥❣ ✷✵✶✹ ✶✵ ✴ ✶✼
❤tt♣✿✴✴❡♥✳✇✐❦✐♣❡❞✐❛✳♦r❣✴✇✐❦✐✴❏❛✈❛❙❝r✐♣t★❍✐st♦r② ❇✐rt❤ ❛t ◆❡ts❝❛♣❡✿ ❛❞✈❛♥t❛❣❡ ♦✈❡r ▼✐❝r♦s♦❢t ■♥t❡r♥❡t ❊①♣❧♦r❡r ■s ✐t ❝♦♠♣✐❧❡❞❄ ◆♦✱ ✐♥t❡r♣r❡t❡❞ ❧❛♥❣✉❛❣❡✳ ■s ✐t ❏❛✈❛❄ ◆♦✱ ✐♥s♣✐r❡❞ ❜② ✐t✳ ✿✮ ◆❛♠✐♥❣ ✇❛s ❝♦♥❢✉s✐♥❣✱ ♠❛②❜❡ ◆❡ts❝❛♣❡ ✇❛♥t❡❞ t♦ r✐❞❡ ♦♥ t❤❡ ❢❛♠❡ ♦❢ ❏❛✈❛✱ ✇❤✐❝❤ ✇❛s ❤♦t ❛♥❞ ♥❡✇ t❤❡♥✳ ❆♣♣❡❛r❡❞ ✜rst ❛s ▼♦❝❤❛✴▲✐✈❡❙❝r✐♣t ✐♥ ◆❡ts❝❛♣❡ ◆❛✈✐❣❛t♦r ✷✳✵ ✐♥ ❙❡♣t❡♠❜❡r ✶✾✾✺ ❙❡r✈❡r✲s✐❞❡ ❏❙ ♦♥ ✶✾✾✺ ▼✐❝r♦s♦❢t ❛❞♦♣t✐♦♥ ✐♥ ✶✾✾✻ ❙t❛♥❞❛r❞✐③❛t✐♦♥ ✶✾✾✼✕✷✵✶✶ ◆♦✇ ♦♥❡ ♦❢ ♠♦st ♣♦♣✉❧❡r ✇❡❜ ❧❛♥❣✉❛❣❡s✱ t❤❛♥❦s t♦ ❆❏❆❳ ✭✇✐❧❧ ❞♦ ♦♥ ❚❤✉rs❞❛②✮
❈❙ ✸✼✵✱ ●ü♥❛② ✭❊♠♦r②✮ ❏❛✈❛❙❝r✐♣t ❙♣r✐♥❣ ✷✵✶✹ ✶✵ ✴ ✶✼
❤tt♣✿✴✴❡♥✳✇✐❦✐♣❡❞✐❛✳♦r❣✴✇✐❦✐✴❏❛✈❛❙❝r✐♣t★❍✐st♦r② ❇✐rt❤ ❛t ◆❡ts❝❛♣❡✿ ❛❞✈❛♥t❛❣❡ ♦✈❡r ▼✐❝r♦s♦❢t ■♥t❡r♥❡t ❊①♣❧♦r❡r ■s ✐t ❝♦♠♣✐❧❡❞❄ ◆♦✱ ✐♥t❡r♣r❡t❡❞ ❧❛♥❣✉❛❣❡✳ ■s ✐t ❏❛✈❛❄ ◆♦✱ ✐♥s♣✐r❡❞ ❜② ✐t✳ ✿✮ ◆❛♠✐♥❣ ✇❛s ❝♦♥❢✉s✐♥❣✱ ♠❛②❜❡ ◆❡ts❝❛♣❡ ✇❛♥t❡❞ t♦ r✐❞❡ ♦♥ t❤❡ ❢❛♠❡ ♦❢ ❏❛✈❛✱ ✇❤✐❝❤ ✇❛s ❤♦t ❛♥❞ ♥❡✇ t❤❡♥✳ ❆♣♣❡❛r❡❞ ✜rst ❛s ▼♦❝❤❛✴▲✐✈❡❙❝r✐♣t ✐♥ ◆❡ts❝❛♣❡ ◆❛✈✐❣❛t♦r ✷✳✵ ✐♥ ❙❡♣t❡♠❜❡r ✶✾✾✺ ❙❡r✈❡r✲s✐❞❡ ❏❙ ♦♥ ✶✾✾✺ ▼✐❝r♦s♦❢t ❛❞♦♣t✐♦♥ ✐♥ ✶✾✾✻ ❙t❛♥❞❛r❞✐③❛t✐♦♥ ✶✾✾✼✕✷✵✶✶ ◆♦✇ ♦♥❡ ♦❢ ♠♦st ♣♦♣✉❧❡r ✇❡❜ ❧❛♥❣✉❛❣❡s✱ t❤❛♥❦s t♦ ❆❏❆❳ ✭✇✐❧❧ ❞♦ ♦♥ ❚❤✉rs❞❛②✮
❈❙ ✸✼✵✱ ●ü♥❛② ✭❊♠♦r②✮ ❏❛✈❛❙❝r✐♣t ❙♣r✐♥❣ ✷✵✶✹ ✶✵ ✴ ✶✼
❤tt♣✿✴✴❡♥✳✇✐❦✐♣❡❞✐❛✳♦r❣✴✇✐❦✐✴❏❛✈❛❙❝r✐♣t★❍✐st♦r② ❇✐rt❤ ❛t ◆❡ts❝❛♣❡✿ ❛❞✈❛♥t❛❣❡ ♦✈❡r ▼✐❝r♦s♦❢t ■♥t❡r♥❡t ❊①♣❧♦r❡r ■s ✐t ❝♦♠♣✐❧❡❞❄ ◆♦✱ ✐♥t❡r♣r❡t❡❞ ❧❛♥❣✉❛❣❡✳ ■s ✐t ❏❛✈❛❄ ◆♦✱ ✐♥s♣✐r❡❞ ❜② ✐t✳ ✿✮ ◆❛♠✐♥❣ ✇❛s ❝♦♥❢✉s✐♥❣✱ ♠❛②❜❡ ◆❡ts❝❛♣❡ ✇❛♥t❡❞ t♦ r✐❞❡ ♦♥ t❤❡ ❢❛♠❡ ♦❢ ❏❛✈❛✱ ✇❤✐❝❤ ✇❛s ❤♦t ❛♥❞ ♥❡✇ t❤❡♥✳ ❆♣♣❡❛r❡❞ ✜rst ❛s ▼♦❝❤❛✴▲✐✈❡❙❝r✐♣t ✐♥ ◆❡ts❝❛♣❡ ◆❛✈✐❣❛t♦r ✷✳✵ ✐♥ ❙❡♣t❡♠❜❡r ✶✾✾✺ ❙❡r✈❡r✲s✐❞❡ ❏❙ ♦♥ ✶✾✾✺ ▼✐❝r♦s♦❢t ❛❞♦♣t✐♦♥ ✐♥ ✶✾✾✻ ❙t❛♥❞❛r❞✐③❛t✐♦♥ ✶✾✾✼✕✷✵✶✶ ◆♦✇ ♦♥❡ ♦❢ ♠♦st ♣♦♣✉❧❡r ✇❡❜ ❧❛♥❣✉❛❣❡s✱ t❤❛♥❦s t♦ ❆❏❆❳ ✭✇✐❧❧ ❞♦ ♦♥ ❚❤✉rs❞❛②✮
❈❙ ✸✼✵✱ ●ü♥❛② ✭❊♠♦r②✮ ❏❛✈❛❙❝r✐♣t ❙♣r✐♥❣ ✷✵✶✹ ✶✵ ✴ ✶✼
❤tt♣✿✴✴❡♥✳✇✐❦✐♣❡❞✐❛✳♦r❣✴✇✐❦✐✴❏❛✈❛❙❝r✐♣t★❍✐st♦r② ❇✐rt❤ ❛t ◆❡ts❝❛♣❡✿ ❛❞✈❛♥t❛❣❡ ♦✈❡r ▼✐❝r♦s♦❢t ■♥t❡r♥❡t ❊①♣❧♦r❡r ■s ✐t ❝♦♠♣✐❧❡❞❄ ◆♦✱ ✐♥t❡r♣r❡t❡❞ ❧❛♥❣✉❛❣❡✳ ■s ✐t ❏❛✈❛❄ ◆♦✱ ✐♥s♣✐r❡❞ ❜② ✐t✳ ✿✮ ◆❛♠✐♥❣ ✇❛s ❝♦♥❢✉s✐♥❣✱ ♠❛②❜❡ ◆❡ts❝❛♣❡ ✇❛♥t❡❞ t♦ r✐❞❡ ♦♥ t❤❡ ❢❛♠❡ ♦❢ ❏❛✈❛✱ ✇❤✐❝❤ ✇❛s ❤♦t ❛♥❞ ♥❡✇ t❤❡♥✳ ❆♣♣❡❛r❡❞ ✜rst ❛s ▼♦❝❤❛✴▲✐✈❡❙❝r✐♣t ✐♥ ◆❡ts❝❛♣❡ ◆❛✈✐❣❛t♦r ✷✳✵ ✐♥ ❙❡♣t❡♠❜❡r ✶✾✾✺ ❙❡r✈❡r✲s✐❞❡ ❏❙ ♦♥ ✶✾✾✺ ▼✐❝r♦s♦❢t ❛❞♦♣t✐♦♥ ✐♥ ✶✾✾✻ ❙t❛♥❞❛r❞✐③❛t✐♦♥ ✶✾✾✼✕✷✵✶✶ ◆♦✇ ♦♥❡ ♦❢ ♠♦st ♣♦♣✉❧❡r ✇❡❜ ❧❛♥❣✉❛❣❡s✱ t❤❛♥❦s t♦ ❆❏❆❳ ✭✇✐❧❧ ❞♦ ♦♥ ❚❤✉rs❞❛②✮
❈❙ ✸✼✵✱ ●ü♥❛② ✭❊♠♦r②✮ ❏❛✈❛❙❝r✐♣t ❙♣r✐♥❣ ✷✵✶✹ ✶✵ ✴ ✶✼
❤tt♣✿✴✴❡♥✳✇✐❦✐♣❡❞✐❛✳♦r❣✴✇✐❦✐✴❏❛✈❛❙❝r✐♣t★❍✐st♦r② ❇✐rt❤ ❛t ◆❡ts❝❛♣❡✿ ❛❞✈❛♥t❛❣❡ ♦✈❡r ▼✐❝r♦s♦❢t ■♥t❡r♥❡t ❊①♣❧♦r❡r ■s ✐t ❝♦♠♣✐❧❡❞❄ ◆♦✱ ✐♥t❡r♣r❡t❡❞ ❧❛♥❣✉❛❣❡✳ ■s ✐t ❏❛✈❛❄ ◆♦✱ ✐♥s♣✐r❡❞ ❜② ✐t✳ ✿✮ ◆❛♠✐♥❣ ✇❛s ❝♦♥❢✉s✐♥❣✱ ♠❛②❜❡ ◆❡ts❝❛♣❡ ✇❛♥t❡❞ t♦ r✐❞❡ ♦♥ t❤❡ ❢❛♠❡ ♦❢ ❏❛✈❛✱ ✇❤✐❝❤ ✇❛s ❤♦t ❛♥❞ ♥❡✇ t❤❡♥✳ ❆♣♣❡❛r❡❞ ✜rst ❛s ▼♦❝❤❛✴▲✐✈❡❙❝r✐♣t ✐♥ ◆❡ts❝❛♣❡ ◆❛✈✐❣❛t♦r ✷✳✵ ✐♥ ❙❡♣t❡♠❜❡r ✶✾✾✺ ❙❡r✈❡r✲s✐❞❡ ❏❙ ♦♥ ✶✾✾✺ ▼✐❝r♦s♦❢t ❛❞♦♣t✐♦♥ ✐♥ ✶✾✾✻ ❙t❛♥❞❛r❞✐③❛t✐♦♥ ✶✾✾✼✕✷✵✶✶ ◆♦✇ ♦♥❡ ♦❢ ♠♦st ♣♦♣✉❧❡r ✇❡❜ ❧❛♥❣✉❛❣❡s✱ t❤❛♥❦s t♦ ❆❏❆❳ ✭✇✐❧❧ ❞♦ ♦♥ ❚❤✉rs❞❛②✮
❈❙ ✸✼✵✱ ●ü♥❛② ✭❊♠♦r②✮ ❏❛✈❛❙❝r✐♣t ❙♣r✐♥❣ ✷✵✶✹ ✶✵ ✴ ✶✼
❤tt♣✿✴✴❡♥✳✇✐❦✐♣❡❞✐❛✳♦r❣✴✇✐❦✐✴❏❛✈❛❙❝r✐♣t★❍✐st♦r② ❇✐rt❤ ❛t ◆❡ts❝❛♣❡✿ ❛❞✈❛♥t❛❣❡ ♦✈❡r ▼✐❝r♦s♦❢t ■♥t❡r♥❡t ❊①♣❧♦r❡r ■s ✐t ❝♦♠♣✐❧❡❞❄ ◆♦✱ ✐♥t❡r♣r❡t❡❞ ❧❛♥❣✉❛❣❡✳ ■s ✐t ❏❛✈❛❄ ◆♦✱ ✐♥s♣✐r❡❞ ❜② ✐t✳ ✿✮ ◆❛♠✐♥❣ ✇❛s ❝♦♥❢✉s✐♥❣✱ ♠❛②❜❡ ◆❡ts❝❛♣❡ ✇❛♥t❡❞ t♦ r✐❞❡ ♦♥ t❤❡ ❢❛♠❡ ♦❢ ❏❛✈❛✱ ✇❤✐❝❤ ✇❛s ❤♦t ❛♥❞ ♥❡✇ t❤❡♥✳ ❆♣♣❡❛r❡❞ ✜rst ❛s ▼♦❝❤❛✴▲✐✈❡❙❝r✐♣t ✐♥ ◆❡ts❝❛♣❡ ◆❛✈✐❣❛t♦r ✷✳✵ ✐♥ ❙❡♣t❡♠❜❡r ✶✾✾✺ ❙❡r✈❡r✲s✐❞❡ ❏❙ ♦♥ ✶✾✾✺ ▼✐❝r♦s♦❢t ❛❞♦♣t✐♦♥ ✐♥ ✶✾✾✻ ❙t❛♥❞❛r❞✐③❛t✐♦♥ ✶✾✾✼✕✷✵✶✶ ◆♦✇ ♦♥❡ ♦❢ ♠♦st ♣♦♣✉❧❡r ✇❡❜ ❧❛♥❣✉❛❣❡s✱ t❤❛♥❦s t♦ ❆❏❆❳ ✭✇✐❧❧ ❞♦ ♦♥ ❚❤✉rs❞❛②✮
❈❙ ✸✼✵✱ ●ü♥❛② ✭❊♠♦r②✮ ❏❛✈❛❙❝r✐♣t ❙♣r✐♥❣ ✷✵✶✹ ✶✵ ✴ ✶✼
4/3/2012 CS 370, Spring 2012 2
– can specify text/image layout, presentation, links, … – Web page looks the same each time it is accessed – in order to develop interactive/reactive pages, must integrate programming
3
Client-side programming programs are written in a separate programming language e.g., JavaScript, JScript, VBScript programs are embedded in the HTML of a Web page, with tags to identify the program component e.g., <script type="text/javascript"> … </script> the browser executes the program as it loads the page, integrating the dynamic output of the program with the static content of HTML
– validation of form data – image rollovers – time-sensitive or random page elements – handling cookies
4
defining programs with Web interfaces
– utilize buttons, text boxes, clickable images, prompts, frames
– the output of JavaScript code is displayed as if directly entered in HTML
<html> <head> <title>JavaScript Page</title> </head> <body>
document.write
<body> <script type="text/javascript"> // silly code to demonstrate output document.write("Hello world!"); </script> <p>Here is some static text as well. </p> </body> </html>
!" !
//
strings : "foo" 'howdy do' "I said 'hi'." "" numbers : 12 3.14159 1.5E6 booleans : true false
<html> <head> <title>Data Types and Variables</title>
!
message = "howdy"; pi = 3.14159; 6
<title>Data Types and Variables</title> </head> <body> <script type="text/javascript"> x = 1024; document.write("<p>x = " + x + "</p>"); x = "foobar"; document.write("<p>x = " + x + "</p>"); </script> </body> </html>
# $
for (var name in object) { if (object.hasOwnProperty(name)) { // within the loop, // name is the key of current member // object[name] is the current value } }
<html> <head> <title>Folding Puzzle</title> </head> <body> <script type="text/javascript"> distanceToSun = 93.3e6*5280*12; thickness = .002;
!% !"
& ' ()**+$",
8 foldCount = 0; while (thickness < distanceToSun) { thickness *= 2; foldCount++; } document.write("Number of folds = " + foldCount); </script> </body> </html>
()**+$",
<html> <!-- Dave Reed js04.html 2/01/04 --> <head> <title>Random Dice Rolls</title> </head> <body> <div style="text-align:center"> <script type="text/javascript"> roll1 = Math.floor(Math.random()*6) + 1;
/
Math.pow Math.abs Math.max 9
roll1 = Math.floor(Math.random()*6) + 1; roll2 = Math.floor(Math.random()*6) + 1; document.write("<img src='http://www.creighton.edu/"+ "~davereed/csc551/Images/die" + roll1 + ".gif' />"); document.write(" "); document.write("<img src='http://www.creighton.edu/"+ "~davereed/csc551/Images/die" + roll2 + ".gif' />"); </script> </div> </body> </html>
Math.min Math.floor Math.ceil Math.round Math.PI Math.E Math.random
– no return type for the function (since variables are loosely typed) – no types for parameters (since variables are loosely typed) – by-value parameter passing only (parameter gets copy of argument)
function isPrime(n) // Assumes: n > 0 // Returns: true if n is prime, else false {
if (n < 2) { return false; } else if (n == 2) { return true; } else { for (var i = 2; i <= Math.sqrt(n); i++) { if (n % i == 0) { return false; } } return true; } }
<html> <head> <title>Prime Tester</title> <script type="text/javascript"> function isPrime(n) // Assumes: n > 0 // Returns: true if n is prime { // CODE AS SHOWN ON PREVIOUS SLIDE
+45
// CODE AS SHOWN ON PREVIOUS SLIDE } </script> </head> <body> <script type="text/javascript"> testNum = parseFloat(prompt("Enter a positive integer", "7")); if (isPrime(testNum)) { document.write(testNum + " <b>is</b> a prime number."); } else { document.write(testNum + " <b>is not</b> a prime number."); } </script> </body> </html>
http://www.mathcs.emory.edu/~eugene/cs370/javascript/numbers.js 12 http://www.mathcs.emory.edu/~eugene/cs370/javascript/numbers.js
contains definition of the isPrime function (last slide)
"9"9:(;3
<script type="text/javascript" src="http://www.mathcs.emory.edu/~eugene/cs370/javascript/numbers.js"> </script>
▼♦❞✐❢② ✇❡❜ ♣❛❣❡s ✉s✐♥❣ ❞♦❝✉♠❡♥t ♦❜❥❡❝t ♠♦❞❡❧ ✭❉❖▼✮ ▼♦st ❝♦♠♠♦♥❧② ✉s❡❞✿
◮ ❞♦❝✉♠❡♥t✳✇r✐t❡✭✮ ◮ ❞♦❝✉♠❡♥t✳❣❡t❊❧❡♠❡♥t❇②■❞✭✮
❲✸❙❝❤♦♦❧s ❏❛✈❛❙❝r✐♣t ❍❚▼▲ ❉❖▼ t✉t♦r✐❛❧ ❙♦✉r❝❡ ♦❢ ❛❧❧ ❦♥♦✇♥ ❦♥♦✇❧❡❞❣❡✿ ▼♦③✐❧❧❛ ❉❡✈❡❧♦♣❡r ◆❡t✇♦r❦ ❉❖▼ ♣❛❣❡✱ ✐♥❝❧✉❞❡s✿
◮ ❉❖▼ r❡❢❡r❡♥❝❡ ✭❡✳❣✳✱ ❞♦❝✉♠❡♥t✮ ❈❙ ✸✼✵✱ ●ü♥❛② ✭❊♠♦r②✮ ❏❛✈❛❙❝r✐♣t ❙♣r✐♥❣ ✷✵✶✹ ✶✷ ✴ ✶✼
– encapsulates data (properties) and operations on that data (methods)
in quotes
properties include
: stores the number of characters in the string 13
: stores the number of characters in the string methods include
: returns the character stored at the given index
: returns the part of the string between the start
: returns copy of string with letters uppercase
: returns copy of string with letters lowercase to create a string, assign using new or just make a direct assignment (new is implicit)
word = new String("foo"); word = "foo";
properties/methods are called exactly as in C++/Java
word.charAt(0)
since JavaScript is loosely typed, elements do not have to be the same type – to create an array, allocate space using new (or can assign directly)
// allocates space for 10 items
// if no size, will adjust dynamically
14
items = new Array(); // if no size, will adjust dynamically
– to access an array element, use [] (as in C++/Java)
// stores 0 at each index
– the length property stores the number of items in the array
<html> <body> <p id="demo">Click the button to reverse the order of the elements in the array.</p> <button onclick="myFunction()">Try it</button> <script type="text/javascript"> 15 <script type="text/javascript"> var fruits = ["Banana", "Orange", "Apple", "Mango"]; function myFunction() { fruits.reverse(); var x=document.getElementById("demo"); x.innerHTML=fruits; } </script> </body> </html>
null 'object' undefined 'undefined'
❨❡s✱ ✇❡ ❝❛♥✳ ❯s✐♥❣ ❏❙ ❢✉♥❝t✐♦♥ ❦❡②✇♦r❞✳
❢✉♥❝t✐♦♥ ❜❛s❡❝❧❛ss ✭✮④ t❤✐s✳❛ttr✶❀ t❤✐s✳♠❡t❤♦❞✶❂❢✉♥❝t✐♦♥✭❛r❣✶✮ ④ ✳✳✳ ⑥ ⑥ ✐♥st❛♥❝❡✶ ❂ ♥❡✇ ❜❛s❡❝❧❛ss ✭✮❀
◆♦t❡ t❤❡ ♥❡✇ ❦❡②✇♦r❞ ❍♦✇ ❛❜♦✉t ❛ s✉❜❝❧❛ss❄
❢✉♥❝t✐♦♥ s✉❜❝❧❛ss ✭✮④ ✈❛r ♣❛r❡♥t❂♥❡✇ ❜❛s❡❝❧❛ss ✭✮❀ ♣❛r❡♥t✳❛ttr✶❂✧♥❡✇ ✈❛❧✉❡✧❀ ✴✴ ❝✉st♦♠✐③❡ ❛ttr✐❜✉t❡s ♣❛r❡♥t✳♠❡t❤♦❞✶❂❢✉♥❝t✐♦♥✭❛r❣✶ ✱❛r❣✷✮ ④ ✳✳✳ ⑥ ✴✴ ♦✈❡rr✐❞❡ r❡t✉r♥ ♣❛r❡♥t❀ ✴✴ r❡t✉r♥ t❤❡ s✉❜❝❧❛ss ♦❜❥❡❝t ⑥ s✉❜❝❧❛ss❴✐♥st❛♥❝❡✶ ❂ s✉❜❝❧❛ss ✭✮❀
◆♦t❡ t❤❡r❡ ✐s ◆❖ ♥❡✇ ❦❡②✇♦r❞✦
❈❙ ✸✼✵✱ ●ü♥❛② ✭❊♠♦r②✮ ❏❛✈❛❙❝r✐♣t ❙♣r✐♥❣ ✷✵✶✹ ✶✸ ✴ ✶✼
❨❡s✱ ✇❡ ❝❛♥✳ ❯s✐♥❣ ❏❙ ❢✉♥❝t✐♦♥ ❦❡②✇♦r❞✳
❢✉♥❝t✐♦♥ ❜❛s❡❝❧❛ss ✭✮④ t❤✐s✳❛ttr✶❀ t❤✐s✳♠❡t❤♦❞✶❂❢✉♥❝t✐♦♥✭❛r❣✶✮ ④ ✳✳✳ ⑥ ⑥ ✐♥st❛♥❝❡✶ ❂ ♥❡✇ ❜❛s❡❝❧❛ss ✭✮❀
◆♦t❡ t❤❡ ♥❡✇ ❦❡②✇♦r❞ ❍♦✇ ❛❜♦✉t ❛ s✉❜❝❧❛ss❄
❢✉♥❝t✐♦♥ s✉❜❝❧❛ss ✭✮④ ✈❛r ♣❛r❡♥t❂♥❡✇ ❜❛s❡❝❧❛ss ✭✮❀ ♣❛r❡♥t✳❛ttr✶❂✧♥❡✇ ✈❛❧✉❡✧❀ ✴✴ ❝✉st♦♠✐③❡ ❛ttr✐❜✉t❡s ♣❛r❡♥t✳♠❡t❤♦❞✶❂❢✉♥❝t✐♦♥✭❛r❣✶ ✱❛r❣✷✮ ④ ✳✳✳ ⑥ ✴✴ ♦✈❡rr✐❞❡ r❡t✉r♥ ♣❛r❡♥t❀ ✴✴ r❡t✉r♥ t❤❡ s✉❜❝❧❛ss ♦❜❥❡❝t ⑥ s✉❜❝❧❛ss❴✐♥st❛♥❝❡✶ ❂ s✉❜❝❧❛ss ✭✮❀
◆♦t❡ t❤❡r❡ ✐s ◆❖ ♥❡✇ ❦❡②✇♦r❞✦
❈❙ ✸✼✵✱ ●ü♥❛② ✭❊♠♦r②✮ ❏❛✈❛❙❝r✐♣t ❙♣r✐♥❣ ✷✵✶✹ ✶✸ ✴ ✶✼
<html> <html> <head> <script type="text/javascript" src="jquery.js"> </script> </head> … </html>
4/3/2012 CS 370, Spring 2012 17
4/3/2012 CS 370, Spring 2012 18
– A dollar sign to define jQuery – A (selector) to "query (or find)" HTML elements – A (selector) to "query (or find)" HTML elements – A jQuery action() to be performed on the element(s)
– $(this).hide() - hides current element – $("p").hide() - hides all paragraphs – $("p.test").hide() - hides all paragraphs with class="test" – $("#test").hide() - hides the element with id="test"
4/3/2012 CS 370, Spring 2012 19
– $("p") selects all <p> elements. – $("p.intro") selects all <p> elements with class="intro". – $("p#demo") selects all <p> elements with id="demo".
– jQuery uses XPath expressions to select elements with given attributes. $("[href]") select all elements with an href attribute. – $("[href]") select all elements with an href attribute. – $("[href='#']") select all elements with an href value equal to "#". – $("[href!='#']") select all elements with an href attribute NOT equal to "#". – $("[href$='.jpg']") select all elements with an href attribute that ends with ".jpg".
http://www.w3schools.com/jquery/jquery_ref_selectors.asp
http://www.w3schools.com/jquery/trysel.asp?filename=trysel_basic&jqsel=p.intro,%23choose 4/3/2012 CS 370, Spring 2012 20
❤tt♣s✿✴✴✇✇✇✳❜✉tt❡r❤✉❜✳♦r❣✴❜❛❦❡r②✴ ❉❡✈❡❧♦♣❡r t♦♦❧s✱ ❞❡❧❡t✐♥❣ ❊❧❡♠❡♥t ✐♥♥❡r❍❚▼▲
4/3/2012 CS 370, Spring 2012 22
❙❝r✉♠ ♥♦✇✦ ✭❞♦♥✬t ❢♦r❣❡t t♦ ✇r✐t❡ ❞♦✇♥ ♠❡❡t✐♥❣ ♠✐♥✉t❡s✱ ✐♥❝❧✉❞✐♥❣ t❛s❦s ❛ss✐❣♥❡❞✮ ❚❤✉rs❞❛②✿ ❈♦♥♥❡❝❝t✐♥❣ t♦ s❡r✈❡r ✇✐t❤ ❏❛✈❛s❝r✐♣t ✭❆❏❆❳✮
❈❙ ✸✼✵✱ ●ü♥❛② ✭❊♠♦r②✮ ❏❛✈❛❙❝r✐♣t ❙♣r✐♥❣ ✷✵✶✹ ✶✼ ✴ ✶✼