Computer Programming

download Computer  Programming

of 32

  • date post

    24-Feb-2016
  • Category

    Documents

  • view

    21
  • download

    0

Embed Size (px)

description

Computer Programming. Neal Alfie Y. Lasta. Table of Contents. What’s it All About? From your mind to the computer processor. I. What’s it all about?. Word processing. I. What’s it all about?. Slave. I. What’s it all about?. The quick brown fox jumps over the lazy d. - PowerPoint PPT Presentation

Transcript of Computer Programming

Computer Programming

Computer ProgrammingNeal Alfie Y. LastaLasta NAY. Teaching Demo. MSU-IIT IDS. 5/14/20101Table of ContentsWhats it All About?From your mind to the computer processorLasta NAY. Teaching Demo. MSU-IIT IDS. 5/14/2010Word processing

I. Whats it all about?Lasta NAY. Teaching Demo. MSU-IIT IDS. 5/14/2010Slave

I. Whats it all about?Lasta NAY. Teaching Demo. MSU-IIT IDS. 5/14/2010The quick brown fox jumps over the lazy dI. Whats it all about?Lasta NAY. Teaching Demo. MSU-IIT IDS. 5/14/2010Computer ProgramSet of instructions telling computer what to docode

I. Whats it all about?Lasta NAY. Teaching Demo. MSU-IIT IDS. 5/14/2010

I. Whats it all about?Lasta NAY. Teaching Demo. MSU-IIT IDS. 5/14/2010

I. Whats it all about?Lasta NAY. Teaching Demo. MSU-IIT IDS. 5/14/2010Programmer!

I. Whats it all about?Lasta NAY. Teaching Demo. MSU-IIT IDS. 5/14/2010Gobs and gobs of code

I. Whats it all about?Lasta NAY. Teaching Demo. MSU-IIT IDS. 5/14/2010Important programmer qualitiesThey know how to break big problems into smaller step-by-step proceduresThey can express these steps in a very precise language.I. Whats it all about?Lasta NAY. Teaching Demo. MSU-IIT IDS. 5/14/2010I. Whats it all about?Lasta NAY. Teaching Demo. MSU-IIT IDS. 5/14/201012Visual Basic

COBOL

ISETLI. Whats it all about?Lasta NAY. Teaching Demo. MSU-IIT IDS. 5/14/2010II. From your mind to the computer processor

Lasta NAY. Teaching Demo. MSU-IIT IDS. 5/14/20103 important toolsLasta NAY. Teaching Demo. MSU-IIT IDS. 5/14/201015CompilerComputers deal with Zeros and OnesStart = 01010011 01110100 01100001 01110010 01110100 Lasta NAY. Teaching Demo. MSU-IIT IDS. 5/14/201016CompilationTranslated Computer Program into 0s and 1s

Source CodeObject CodeLasta NAY. Teaching Demo. MSU-IIT IDS. 5/14/2010RelationshipWrite Source CodeCreate Object CodeSpecial Software tool - Compiler

Lasta NAY. Teaching Demo. MSU-IIT IDS. 5/14/2010Relationship

Computers hard drive -- > Javac or javac.exe

Lasta NAY. Teaching Demo. MSU-IIT IDS. 5/14/2010Virtual Machine

Theyre just talking Gibberish! (-:Lasta NAY. Teaching Demo. MSU-IIT IDS. 5/14/2010Computer thinks the thoughts

Bytecode fileLasta NAY. Teaching Demo. MSU-IIT IDS. 5/14/2010How Java does it

Do What it Says to Do in the Bytecode FileLasta NAY. Teaching Demo. MSU-IIT IDS. 5/14/2010Java Virtual MachineSpecial Software

ComputerJVMbytecodeLasta NAY. Teaching Demo. MSU-IIT IDS. 5/14/2010Java Virtual MachineLasta NAY. Teaching Demo. MSU-IIT IDS. 5/14/20102 ways to run computer program

(a) Computer runs some object code

(b) Computer runs JVM, JVM follows bytecodes instructionsLasta NAY. Teaching Demo. MSU-IIT IDS. 5/14/2010Application Programming Interface1980s

Word processing machines firm

Write

Search-and-replace program

Spell checker program

Another search-and-replace

Another spell checker

A better search-and-replace.Lasta NAY. Teaching Demo. MSU-IIT IDS. 5/14/2010Holy Grail of ProgrammingEasy to reuse software

Searches for single characterLooks for blank spacesSubstitutes one letter for another++=Search and Replace ProgramLasta NAY. Teaching Demo. MSU-IIT IDS. 5/14/2010Adding new feature?Just Reassemble pieces in different way-Sensible-Cost Efficient- Much more Fun!Lasta NAY. Teaching Demo. MSU-IIT IDS. 5/14/2010Java came along in 19951995

Present

250 programs

More than 3000 programs

Lasta NAY. Teaching Demo. MSU-IIT IDS. 5/14/2010This library known asApplication Programming Interface (API)

- All the things you can do with API programs- API is so extensiveLasta NAY. Teaching Demo. MSU-IIT IDS. 5/14/2010API DocumentationProgrammers look of API Features in online document called API SpecificationA.k.a API Documentation, or JavadocsDescribes thousands of features in Java APIDaily basis consultationBookmark website

Lasta NAY. Teaching Demo. MSU-IIT IDS. 5/14/2010Java Programming ToolsetJava CompilerJava Virtual MachineJava APIJava API Documentation

Also need: EditorA way to issue commandsCompile programRun JVM

Lasta NAY. Teaching Demo. MSU-IIT IDS. 5/14/2010