DOC PREVIEW
Duke CPS 006 - Lecture

This preview shows page 1-2-3-4-5-6 out of 19 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 19 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 19 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 19 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 19 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 19 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 19 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 19 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

CompSci 61.1CompSci 6Programming Design and Analysis Ihttp://www.cs.duke.edu/courses/fall06/cps006Dietolf (Dee) Rammhttp://www.cs.duke.edu/~drCompSci 61.2Announcementsÿ Read for next time Chap. 1, Chap 2.1-2.2ÿ Assignment 1ÿ Reading Quizzes on Blackboard  Typically due at beginning of classCompSci 61.3What is Computer Science?ÿ Computer science is no more about computers 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: younger it may be, but it has had a far more intense upbringing! - Richard FeynmanCompSci 61.4Scientists and Engineersÿ Scientists build to learn, engineers learn to build. - Fred BrooksDuke alumChairofUNC’sComputer ScienceDepartmentTuring Award WinnerCompSci 61.5Computer 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 science, to others an engineering discipline.CompSci 61.6Computer Science is a young disciplineÿ First computer science department formed in 1962CompSci 61.7What Is Computer Science?ÿ What is it that distinguishes it from the separate subjects with which it is related? What is the linking thread which gathers these disparate branches into a single discipline? 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 to solve problems, theoretical or practical, small or large, simple or complex.C.A.R. (Tony) HoareCompSci 61.8C.A.R. (Tony) Hoareÿ Turing Award Winnerÿ Knighted by Queen ElizabethCompSci 61.9Young People Can Have a Big Impactÿ Who are these people and what did they do at the given age? Shawn Fawning (19 years old) Marc Andreessen (21 years old) Claude Shannon (21 years old) Linus Torvalds (21 years old) Dmitry Sklyarov (26 years old) Tim Berners-Lee (35 years old) Jim Ellis (Duke alum) (23 years old) Richard Stallman (37 years old)CompSci 61.10What is Computer Science?ÿ Artificial IntelligenceRoombaCMU’s SandstormMars RoverCompSci 61.11What is Computer Science?ÿ AnimationCompSci 61.12What is Computer Science?ÿ The Organization of Data, and SearchingCompSci 61.13What is Computer Science?ÿ Medicine, GenomicsCompSci 61.14What is Computer Science?ÿ DevicesCompSci 61.15Why 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 useful. Third is the fascination of fashioning complex puzzle-like objects of interlocking moving parts. Fourth is the joy of always learning. Finally, there is the delight of working in such a tractable medium. The programmer, like the poet, works only slightly removed from pure thoughtstuff.Fred BrooksCompSci 61.16Problem Solvingÿ Nimÿ DivToZeroÿ HingedDoorCompSci 61.17A Java Programpublic class HelloCompSciClass{public static void main(String [] args){// display a greetingSystem.out.println(”Hello, CompSci 6!”);}}CompSci 61.18About the Java Programÿ What is the name of the class?ÿ What is the name of the method?ÿ What is printed?ÿ What does the “;” mean?ÿ What does “public static void” mean?ÿ What is “String [] args”?CompSci 61.19Environment we will useÿ Eclipse – an Integrated Development Environment Editor Compiler An output console Visualization of files and folders Submission of programs (Ambient)ÿ See CompSci 6 page for installing on your


View Full Document

Duke CPS 006 - Lecture

Download Lecture
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 Lecture 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 Lecture 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?