Unformatted text preview:

Slide 1Slide 2Slide 3Slide 4Slide 5Slide 6Slide 7Slide 8Slide 9Slide 10Slide 11COSC 181 – Foundations of Computer ProgrammingClass 1Getting StartedRecommendationRead the book (really a must)“Tour of the Book”Base-level introductionwww.deitel.com/books/cpphtp6/www.deitel.comwww.deitel.com/resourcecenters.htmlLogging-In to the LabComputersA device that can perform calculations a billion times faster than a human.Data ---[controlled by]---ProgramsPrograms ---[written by]---ProgrammersHardware vs. Software6 Component ClassesInput UnitOutput UnitMemory UnitArithmetic and logic unit (ALU)Central Processing Unit (CPU)Secondary Storage UnitOperating SystemWhat the OS does.Multiprogramming (Multitasking)Multi-user access (not to be confused with Windows’ approach)Internet and the World Wide WebInternet -> computers connected over a global networkWorld Wide Web -> (the www you all know and love)Inter-linked hypertext documents accessed over the internetInternet Now and TomorrowWeb 2.0 is YouCommunity Generated Contentwikistaggingsocial networkingblogsopen-source (?)Others?Collective IntelligenceWeb 3.0Semantic Web (web of meaning)Tim Berners-Lee (is not Al Gore)http://en.wikipedia.org/wiki/Semantic_WebProgrammingComputers don’t speak plain-English1. Machine Language (object code)•series of 1s and 0s that encode certain instructions – machine dependent2. Assembly Language•The low-level instructions listed in human readable form (must be translated to machine language) – very limited set of instructions3. High-level Language•Human readable code with large set of instructions, operators (+,-,*,=,etc), and logical statements (if this then that)•Depends on “compilers” to translate to machine language•Compilers require that the language be written in a formal way – syntaxC++C++ is one such high-level languageDerived from ANSI C (American National Standards Institute)Like ANSI C, not machine specificProvides:more operators/commandsobject-oriented capabilityObjects – reusable code parts that perform well-defined tasksC++ ContinuedClass and Functionspieces of programsFor instance, and object is an “instance” of a class“Building Block” approachC++ Standard LibraryThe Children of C++Java, Visual C++, C#RemindersPurchase the bookCOSC 101 optionMake sure you have your loginDARD B010 (back of the lab)Geany : (version 0.14 in


View Full Document

UVa-Wise COSC 181 - Foundations of Computer Programming

Download Foundations of Computer Programming
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 Foundations of Computer Programming 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 Foundations of Computer Programming 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?