cmsc 110 introduc on to compu ng
play

CMSC 110 Introduc/on to Compu/ng Eric Eaton - PowerPoint PPT Presentation

CMSC 110 Introduc/on to Compu/ng Eric Eaton Paul Ruvolo What is Compu5ng? Compu5ng: internet, e-mail, network Compu5ng:


  1. CMSC ¡110 ¡ Introduc/on ¡to ¡Compu/ng ¡ Eric ¡Eaton ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡Paul ¡Ruvolo ¡

  2. What ¡is ¡Compu5ng? ¡

  3. Compu5ng: ¡internet, ¡e-­‑mail, ¡network… ¡

  4. Compu5ng: ¡Produc5vity… ¡

  5. hAp://www.alanzeyes.com/2009/02/hdr-­‑photography.html ¡

  6. Compu5ng: ¡Entertainment… ¡

  7. Compu5ng : ¡Entertainment… ¡ ¡

  8. ¡ -­‑ ¡Edsger ¡Dijkstra ¡

  9. CuJng ¡Edge ¡Computer ¡Science ¡

  10. Chinook ¡ Chinook ¡is ¡the ¡World ¡Man-­‑Machine ¡Checkers ¡ • Champion, ¡developed ¡by ¡researchers ¡at ¡the ¡University ¡ of ¡Alberta. ¡ It ¡earned ¡this ¡5tle ¡by ¡compe5ng ¡in ¡human ¡ • tournaments, ¡winning ¡the ¡right ¡to ¡play ¡for ¡the ¡ (human) ¡world ¡championship, ¡and ¡eventually ¡ defea5ng ¡the ¡best ¡players ¡in ¡the ¡world. ¡ ¡ Visit ¡hAp://www.cs.ualberta.ca/~chinook/ ¡ ¡to ¡play ¡a ¡ • version ¡of ¡Chinook ¡over ¡the ¡Internet. ¡ The ¡developers ¡have ¡fully ¡analyzed ¡the ¡game ¡of ¡ • checkers ¡and ¡have ¡the ¡complete ¡game ¡tree ¡for ¡it. ¡ – Perfect ¡play ¡on ¡both ¡sides ¡results ¡in ¡a ¡5e. ¡ “One ¡Jump ¡Ahead: ¡Challenging ¡Human ¡Supremacy ¡in ¡ • Checkers” ¡Jonathan ¡Schaeffer, ¡University ¡of ¡Alberta ¡ ¡ (496 ¡pages, ¡Springer. ¡$34.95, ¡1998). ¡ ¡

  11. Google’s Autonomous Car • Nevada made it legal for autonomous cars to drive on roads in June 2011 • California introduced a similar bill in Aug 2012

  12. 2011 Jeopardy! • In February 2011, IBM Watson bested Brad Rutter (biggest all- time money winner) and Ken Jennings (longest winning streak) • IBM is currently applying Watson’s technology to medical diagnosis and legal research

  13. Robot Soccer Aibo League Humanoid League RoboCup International Robotics Competition http://www.robocup.org/ Bryn Mawr Robot Soccer Team (Mexico 2012)

  14. Finding ¡Life-­‑Suppor5ng ¡Planets ¡

  15. Protobytes ¡ By ¡Ira ¡Greenberg ¡

  16. Areas ¡in ¡Computer ¡Science ¡ Ar5ficial ¡ Robo5cs ¡ Human-­‑Computer ¡ Computer ¡ Computer ¡ Intelligence ¡ Interac5on ¡ Graphics ¡ Vision ¡ Opera5ng ¡ Computer ¡ Databases ¡ Computer ¡ Ubiquitous ¡ Systems ¡ Networking ¡ Security ¡ Compu5ng ¡

  17. What ¡is ¡Computer ¡Science? ¡ Computer ¡science ¡is ¡the ¡ ¡ study ¡of ¡solving ¡problems ¡ ¡ using ¡computa5on ¡ – Computers ¡are ¡part ¡of ¡it, ¡ but ¡the ¡emphasis ¡is ¡on ¡the ¡ ¡ problem ¡solving ¡aspect ¡ Computer ¡scien5sts ¡work ¡across ¡disciplines: ¡ Mathema5cs ¡ Geoscience ¡ Medicine/Surgery ¡ ¡ Biology ¡(bioinforma5cs) ¡ Archeology ¡ Engineering ¡ Chemistry ¡ Psychology ¡ Linguis5cs ¡ Physics ¡ Sociology ¡ Art ¡ Geology ¡ Cogni5ve ¡Science ¡ … ¡

  18. Compu5ng ¡is ¡important ¡

  19. Huge ¡Growth ¡in ¡Compu5ng-­‑Related ¡Jobs ¡

  20. Compu5ng ¡is ¡Consistently ¡Ranked ¡ Among ¡the ¡Best ¡Occupa5ons ¡ CS-­‑Related ¡Jobs ¡Highlighted ¡in ¡Red ¡ CNN’s ¡Top ¡100 ¡Jobs ¡2010 ¡ ¡ The ¡25 ¡Best ¡ (Graphic ¡by ¡Focus.com) ¡ Jobs ¡of ¡2012 ¡ #1 ¡ Registered ¡Nurse ¡ #6 ¡ Web ¡Developer ¡ #2 ¡ Solware ¡Developer ¡ #7 ¡ Computer ¡Systems ¡Analyst ¡ #3 ¡ Pharmacist ¡ #8 ¡ Physical ¡Therapist ¡ #4 ¡ Medical ¡Assistant ¡ #9 ¡ Computer ¡Programmer ¡ #5 ¡ Database ¡Administrator ¡ #10 ¡ Occupa5onal ¡Therapist ¡ CS ¡Careers ¡Rank ¡Highly ¡In: ¡ ¡ • Job ¡sa5sfac5on ¡ • Growth ¡poten5al ¡ • Salary ¡ • Employment ¡rate ¡ • Work/life ¡balance ¡ • Work ¡environment ¡

  21. Strong ¡Earnings ¡Poten5al ¡ Salaries ¡of ¡Bryn ¡Mawr ¡Graduates ¡ Computer ¡Science ¡Dept ¡ All ¡Science ¡Depts ¡ College ¡Average ¡ $120,000 ¡ $66,667 ¡ $57,134 ¡ Average ¡Individual ¡Annual ¡Income ¡ Office ¡of ¡InsAtuAonal ¡Research, ¡Planning, ¡and ¡Assessment ¡ Bryn ¡Mawr ¡College ¡

  22. …many ¡different ¡companies ¡… ¡need ¡to ¡hire ¡computer ¡scien5sts. ¡ They ¡aren't ¡5ed ¡to ¡one ¡par5cular ¡industry. ¡

  23. Administrivia ¡ CMSC ¡110: ¡Introduc/on ¡to ¡Compu/ng ¡ Fall ¡2012 ¡– ¡Sec5on ¡001 ¡ ¡ Co-­‑Instructors: ¡ Eric ¡Eaton, ¡Ph.D. ¡(eeaton@cs.brynmawr.edu) ¡ Paul ¡Ruvolo, ¡Ph.D. ¡(pruvolo@cs.brynmawr.edu) ¡ (Ques5ons/issues ¡should ¡be ¡e-­‑mailed ¡to ¡both ¡instructors ¡via ¡cs110-­‑01@cs.brynmawr.edu) ¡ ¡ Lectures ¡ Grading ¡ MWF ¡10-­‑11 ¡am ¡in ¡Park ¡349 ¡ 7 ¡Assignments ¡ ¡56% ¡ • ¡ In-­‑class ¡Quizzes ¡ ¡4% ¡ • Hands-­‑On ¡Sessions ¡ Exam ¡1 ¡ ¡18% ¡ • ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ Meet ¡in ¡computer ¡labs ¡(Park ¡231 ¡and ¡232) ¡ Exam ¡2 ¡ ¡22% ¡ • ¡ ¡Total ¡ ¡ ¡100% ¡ Open ¡Labs ¡(Op5onal) ¡ ¡ Mon/Tues/Friday ¡11am-­‑12:30 ¡pm ¡in ¡Park ¡231 ¡ ¡ Office ¡Hours ¡ Eric ¡Eaton: ¡Tues/Wed ¡1:30-­‑2:30 ¡pm ¡and ¡by ¡appointment ¡in ¡Park ¡249 ¡ Paul ¡Ruvolo: ¡Monday ¡3-­‑4pm ¡and ¡by ¡appointment ¡in ¡Park ¡246-­‑D ¡

  24. Crea5ve ¡ Introduc5on ¡to ¡^ ¡Compu5ng ¡ Compu/ng ¡ Visualiza/ons ¡ Programming ¡ Aesthe/cs ¡& ¡Art ¡ Algorithms ¡ Processing/Java ¡ Computa/onal ¡Media ¡

  25. Algorithms ¡ An ¡ algorithm ¡is ¡an ¡effec5ve ¡method ¡for ¡solving ¡a ¡ problem ¡expressed ¡as ¡a ¡finite ¡sequence ¡of ¡ instruc5ons. ¡For ¡example, ¡ ¡ ¡ Put ¡on ¡shoes ¡ ¡ lel ¡sock ¡ ¡right ¡sock ¡ ¡lel ¡shoe ¡ ¡right ¡shoe ¡

  26. Programming ¡= ¡Wri5ng ¡Apps ¡ Programming ¡is ¡the ¡process ¡of ¡designing, ¡ wri5ng, ¡tes5ng, ¡debugging ¡/ ¡troubleshoo5ng, ¡ and ¡maintaining ¡the ¡source ¡code ¡of ¡computer ¡ programs. ¡This ¡source ¡code ¡is ¡wriAen ¡in ¡a ¡ programming ¡language. ¡

  27. A ¡program ¡ int areaOfCircle(int radius){ return PI*radius*radius; } r = 10; area = areaOfCircle(r);

  28. Programming ¡Languages ¡ Processing ¡ Python ¡ Lisp ¡ int areaOfCircle(int radius){ def areaOfCircle(radius): (defun areaOfCircle (radius) return PI*radius*radius; return PI*radius*radius; (return (* PI radius radius))) } r = 10; r = 10 (setq r 10) area = areaOfCircle(r); area = areaOfCircle(r) (setq area (areaOfCircle r)) ¡ ¡

  29. A ¡more ¡interes5ng ¡program... ¡ Eye ¡e1, ¡e2, ¡e3, ¡e4, ¡e5; ¡ ¡ ¡ class ¡Eye ¡ ¡ void ¡setup() ¡ ¡ { ¡ { ¡ ¡ ¡int ¡ex, ¡ey; ¡ ¡ ¡size(200, ¡200); ¡ ¡ ¡int ¡size; ¡ ¡ ¡smooth(); ¡ ¡ ¡float ¡angle ¡= ¡0.0; ¡ ¡ ¡noStroke(); ¡ ¡ ¡ ¡ ¡ ¡e1 ¡= ¡new ¡Eye( ¡50, ¡ ¡16, ¡ ¡80); ¡ ¡ ¡Eye(int ¡x, ¡int ¡y, ¡int ¡s) ¡{ ¡ ¡ ¡e2 ¡= ¡new ¡Eye( ¡64, ¡ ¡85, ¡ ¡40); ¡ ¡ ¡ ¡ ¡ ¡ ¡ex ¡= ¡x; ¡ ¡ ¡e3 ¡= ¡new ¡Eye( ¡90, ¡200, ¡120); ¡ ¡ ¡ ¡ ¡ey ¡= ¡y; ¡ ¡ ¡e4 ¡= ¡new ¡Eye(150, ¡ ¡44, ¡ ¡40); ¡ ¡ ¡ ¡ ¡ ¡size ¡= ¡s; ¡ ¡ ¡e5 ¡= ¡new ¡Eye(175, ¡120, ¡ ¡80); ¡ ¡} ¡ } ¡ ¡ ¡ ¡ ¡void ¡update(int ¡mx, ¡int ¡my) ¡{ ¡ void ¡draw() ¡ ¡ ¡ ¡ ¡ ¡angle ¡= ¡atan2(my-­‑ey, ¡mx-­‑ex); ¡ { ¡ ¡ ¡} ¡ ¡ ¡background(102); ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡void ¡display() ¡{ ¡ ¡ ¡e1.update(mouseX, ¡mouseY); ¡ ¡ ¡ ¡ ¡pushMatrix(); ¡ ¡ ¡e2.update(mouseX, ¡mouseY); ¡ ¡ ¡ ¡ ¡translate(ex, ¡ey); ¡ ¡ ¡e3.update(mouseX, ¡mouseY); ¡ ¡ ¡ ¡ ¡fill(255); ¡ ¡ ¡e4.update(mouseX, ¡mouseY); ¡ ¡ ¡ ¡ ¡ellipse(0, ¡0, ¡size, ¡size); ¡ ¡ ¡e5.update(mouseX, ¡mouseY); ¡ ¡ ¡ ¡ ¡rotate(angle); ¡ ¡ ¡ ¡ ¡ ¡fill(153); ¡ ¡ ¡e1.display(); ¡ ¡ ¡ ¡ ¡ellipse(size/4, ¡0, ¡size/2, ¡size/2); ¡ ¡ ¡e2.display(); ¡ ¡ ¡ ¡ ¡popMatrix(); ¡ ¡ ¡e3.display(); ¡ ¡ ¡} ¡ ¡ ¡e4.display(); ¡ } ¡ ¡ ¡e5.display(); ¡ ¡ } ¡

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend