+ All Categories
Home > Documents > iSD Programming

iSD Programming

Date post: 03-Apr-2018
Category:
Upload: meo-map
View: 216 times
Download: 0 times
Share this document with a friend

of 22

Transcript
  • 7/29/2019 iSD Programming

    1/22

    ProgrammingInformation system Design and Implementation

    Chapter 6

  • 7/29/2019 iSD Programming

    2/22

    Outline

    What is computer programming

    Programming languages

    Pseudo code

    Software programming as a career

    Test your programming ability

  • 7/29/2019 iSD Programming

    3/22

    Computer programming

    Brief definition:

    Writing instructions for computers to follow and run aprogram based on those instruction.

    Art or engineering?

  • 7/29/2019 iSD Programming

    4/22

    Computer programming

    1010100100101111010101010101

    add $5, $7, $8 #comment

    x = 5 + 8;

    String stupid = You are not smart;

    Machine code

    Assembly language

    High levellanguage

    (Third generation)

    compiler

    assembler

    execute

  • 7/29/2019 iSD Programming

    5/22

    Computer programming

    Programmer focus on:

    How each little pieces run

    Write lines of code for each functions relatively

    Write all little lines of code that enable the wholeprogram runs.

  • 7/29/2019 iSD Programming

    6/22

    Programming languages

    Definition:

    A programming language is an artificial languagedesigned to communicate instructions to a machine,

    particularly a computer. Programming languages can beused to create programs that control the behavior of amachine and/or to express algorithms precisely.

  • 7/29/2019 iSD Programming

    7/22

    Programming languageHistory:

    1983: C++

    1987: Perl

    1991: Python

    1995: Java (highestdemand)

    1995: Javascript

    1995: PHP

    1995: Ruby (lowestdemand)

    2001: C#

  • 7/29/2019 iSD Programming

    8/22

    Elements ofprogramming language

    Variables / objects:Store the pieces of data that a program is working onExpressions

    Compute new values from old onesAssignmentsStore values into variablesConditionals

    be used to determine whether some condition is trueTypes (of variables / expression)indicating the nature of the expected values.

  • 7/29/2019 iSD Programming

    9/22

    Elements of

    programming languageStatementscontain instructions describing what a programactually does

    Control flowconstructs which determine what order statementsare performed inFunctions

    An entire set of statements, declarations, and controlflow constructs can be lumped together intoProgramA set of functions, global variables, and otherelements.

  • 7/29/2019 iSD Programming

    10/22

    Which language?

  • 7/29/2019 iSD Programming

    11/22

    Which language?

    PHPFrameworks:-Prado

    -QPHP-Symfony-Zend-CakePHP-

  • 7/29/2019 iSD Programming

    12/22

    Which language?

  • 7/29/2019 iSD Programming

    13/22

    Which language?

    JavaFrameworks:-Wicket (Apache)

    -Struts2 (Apache)-Spring MVC(SpringSource)-Stripes (Mc4j)-GWT (google)-Java Server Face (Sun

    Microsystems)

  • 7/29/2019 iSD Programming

    14/22

    Which language?

  • 7/29/2019 iSD Programming

    15/22

    Which language?

    C++

  • 7/29/2019 iSD Programming

    16/22

    Which language?

  • 7/29/2019 iSD Programming

    17/22

    Which language?

    C#

  • 7/29/2019 iSD Programming

    18/22

    Pseudo codeA compact and informal high-level description of theoperating principle of a computer program or otheralgorithm.

    Uses the structural convention of a programminglanguage, but is intened for human reading ratherthan machine reading.

    Omits details that are not essential for human

    understanding of the algorithm (eg: variabledeclarations)

    No standard for pseudocode syntax exists, as aprogram in pseudocode is not an executable

    program

  • 7/29/2019 iSD Programming

    19/22

    Pseudo code- Variable declarations are typically

    omitted.

    - Function calls and blocks of code, for

    example code contained within a loop,

    is often replaced by a one-line natural

    language sentence.

    - Depending on the writer, pseudo code

    may therefore vary widely in style, from

    a near-exact imitation of a real

    programming language at one extreme,

    to a description approaching formatted

    prose at the other.

  • 7/29/2019 iSD Programming

    20/22

    Software programmingas a career

  • 7/29/2019 iSD Programming

    21/22

    Programmer or not?

    Video files URL:

    http://www.youtube.com/watch?v=H4TqAgAllnk&featur

    e=related

  • 7/29/2019 iSD Programming

    22/22

    Positive thing Negative side

    Salary Global competition

    Skills and experiences Must keep yourself up-to-date

    Work anywhere

    Comfortable environment Age bias

    Enjoy computer daily No fixed spare time


Recommended