Duke CPS 006 - Programming Design and Analysis

Unformatted text preview:

CompSci 6Programming Design and AnalysisProgramming Design and AnalysisJ 14 2010January 14, 2010ProfRodgerProf. RodgerClass Information• Go over information on course web page•Syllabus Books EtcSyllabus, Books, Etc.CliH Sd!•Consulting Hours start Sunday!Announcements• Read in text Java Concepts for next time Chap. 1, Chap 2.1-2.2Chap. 1, Chap 2.12.2• Assignment 1Rdi Qi Blkb d•Reading Quiz on Blackboard – Due before class next time•Bring laptop to class if you have one• Must install Java, Eclipse and Ambient,p– See Resources page–Update if you already have itinstalled butUpdate if you already have it installed but didn’t use it last semesterEnvironment we will use• Eclipse – an Integrated Development Environment–Editor– Compiler–An output consolep– Visualization of files and folders– Submission of programs (Ambient)• See CompSci 6 Resources page for installing Java, Eclipse and Ambient on your computerWhat is Computer Science?p• Computer science is no more about computers than astronomy is aboutcomputers than astronomy is about telescopes. - Edsger Dijkstra• Computer science is not as old as physics; it lags by a couple hundred years. However this does not mean that there is significantly less on the computer scientist’s plate than on the physicist’s:scientist s plate than on the physicist s: younger it may be, but it has had a far more intense upbringing! - Richard FeynmanScientists and Engineers• Scientists build to learn, engineers learn to build. - Fred BrooksDk lDuke alum Chair of UNC’s Computer ScienceComputer Science Department Turing Award WinnergComputer Science and ProgrammingComputer Science and Programming• Computer Science is more than programming– Called Informatics in many countries– Elements of both science and engineering– Elements of math, physics, cognitive science, music, art, and many other fields• To some programming is an art, to others a pg gscience, to others an engineering discipline.Computer Science is a young discipline• First computer science department formed in 1962in 1962What Is Computer Science?• What is it that distinguishes it from the separate subjects with which it is related?separate subjects with which it is related? What is the linking thread which gathers these disparate branches into a single pgdiscipline? My answer to these questions is simple --- it is the art of programming a computer. It is the art of designing efficient and elegant methods of getting a computer t l bl th ti l ti lto solve problems, theoretical or practical, small or large, simple or complex.C.A.R. (Tony) HoareC.A.R. (Tony) Hoare• Turing Award WinnerKihtdb Q•Knighted by Queen ElizabethWhat is Computer Si ?Science?• Artificial IntelligenceRoombaCMU’s SandstormSpirit, Mars RoverWhat is Computer Science?• AnimationWhat is Computer Science?•The Organization of Data, and SearchingggWhat is Computer Science?• Medicine, GenomicsWhat is Computer Science?What is Computer Science?• DevicesWhy is Programming Fun?• What delights may its practitioner expect as a reward–First is the sheer joy of making things.– Second is the pleasure of making things that are usefuluseful.– Third is the fascination of fashioning complex puzzle-like objects of interlocking moving parts.puzzlelike objects of interlocking moving parts.– Fourth is the joy of always learning.–Finally, there is the delight of working in such a y, g gtractable medium. The programmer, like the poet, works only slightly removed from pure thoughtstuffthoughtstuff.Fred BrooksClasswork:• Who are these People?–Sort a couple of times, describe 6 peopleSort a couple of times, describe 6 people• Fill out SurveyProblem Sol ing: Nim•Problem Solving: NimWho are these People?Computer Science and InformaticsComputer Science and Informatics•Who are these people and what did they do?Who are these people and what did they do? – Fran Allen, Mark Andreesen, Tim Berners Lee, Cynthia Breazeal, Sergei Brin, Rodney Brooks, Edsger Dijkstra, Shawn F i T G t l d Bill G t Sh fi G ldFanning, Terry Gaasterland, Bill Gates, Shafi Goldwasser, James Gosling, Tony Hoare, Grace Hopper, Steve Jobs, Lydia Kavraki, Jon Kleinberg, Daphne Koller, Jaron Lanier, Robert Mt lf G M L P W Piktt J ifMetcalfe, Gene Myers, Larry Page, Wayne Pickette, Jennifer Rexford, Ron Rivest, Daniela Rus, Richard Stallman, Guy Steele, Bjarne Stroustrup, Sebastian Thrun, Linus Torvalds, Li AhLuis von Ahn• http://www.cs.duke.edu/courses/common/people/A Java Programpublic class HelloCompSciClass{{public static void main(String [] args){{// display a greetingSystem.out.println(”Hello, CompSci


View Full Document

Duke CPS 006 - Programming Design and Analysis

Download Programming Design and Analysis
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Programming Design and Analysis and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Programming Design and Analysis 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?