Σχεδίαση Προγράμματος Pascal - 1

  • View
    1.834

  • Download
    4

Embed Size (px)

Transcript

  • 1.
    ...
    T

    PASCAL





    - 1998



    /


    .
    2)

    , ,
    .
    3)
    .
    , , .
    4) TURBO PASCAL 6.0

    Pascal, Pascal,
    , , , ,
    .
    5)

    , Pascal .



    , ( ), Pascal. , . ... , , Pascal, .
    , . , , , - , , - .
    , , , .
    . , .
    , ...
    Pascal , , . , .



    /

    - . , , . , . , . , - - , ( ), . .
    - , , . , , . - , , .
    , , , .
    - .
    hardware , . , , software, . hardware software . .. , . ,
    .
    - , -. , , . , , - , - . , - .
    , :
    )
    ,
    ,
    )
    , ,
    .
    , . ; , , 20 , .
    Blaise Pascal. 1642, 19 , Pascal , . , . ,
    . 16 17 , . Pascal .
    Niklaus Wirth,

    Pascal , . Pascal Wirth, , , , 1970, .
    Gottfried Leibnitz 1673. Leibnitz 27 , , .
    19 , Charles Babbage. Babbage 1822 , . , , . , .
    20 , , , . 1920 Herman Hollerith, . - , , 1944 Howard Aiken Mark I.
    IBM Harvard, -. Howard Aiken, Harvard, 5
    17 !. , ,
    , . , , . - transistors, -, (microproseccor). Intel 1971. 4004 2.300 transistors. Intel, Federico Faggin. Ted Hoff, Intel, . , . 4004 12 10, (1 = 1/1.000.000 cm, ). 10 . 0,750 Mhz 4 Kbytes.
    4004 8008, 1972. 8080 1974 , (PC - Personal Computer), Altair. 1978 8086 8088, . 80286, 1982, 80386 1985 80486 1989. , , software, , . 80286, 1982 Windows, ,
    - 1993, Pentium.
    75Mhz , , 333Mhz, (Pentium II).
    , . , .. Pentium - MMX166Mhz. ,(motherboard), .
    66Mhz, - .
    , 1998, Deschutes Intel, 450 Mhz. 0,28 , 100 Mhz. .
    - , , ,( ), transistors :

    s transistors197140040,75 Mhz2.300197480801,50 Mhz6.000197880861,70 Mhz29.00019828028612 Mhz134.000198580386DX20 Mhz275.000198980486DX40 Mhz1.200.0001993Pentium75 Mhz3.100.0001995Pentium Pro150 Mhz5.500.000 1997Pentium MMX166 Mhz4.500.0001997Pentium II233 Mhz7.500.000
    , 1985 . 80386 , 80386 SX 80386 DX, . 80486, , 80486 SX 80486 DX.
    Pentium chips Intel, 1993 , .
    Pentium 75 Mhz 133 Mhz. O Pentium Pro 150 Mhz 200 Mhz. Pentium MMX 166Mhz 233 Mhz. Pentium II 233 Mhz 333 Mhz. Pentium -, marketing .O Pentium II 450 Mhz 1998, - Intel, Deschutes 1998 500 Mhz.
    .
    chips, :
    I
    Intel - 4004(1971)Intel - Pentium II (1997)Transistors2.3007.500.00012 . 196 . 10 0,35 0.750 Mhz233 Mhz 4 Kilobytes64 Gigabytes (Pins)16 387
    , . , - 2000, 1000Mhz .
    , , .
    , . 300 Mhz
    . , , , , , .
    , . Internet, , , .
    , , , . , , , .
    , . , . software, , . , . Robot / PCs.
    , , , . , , . Pascal , , .




    , , . , (Development Tools), , . :
    ) ,(system software),
    ) ,(applications software)
    - .


    , , , (Operating System). . , - , . , . .
    :
    Ms - Dos,(Microsoft - Disk Operating System),
    Windows 3.1,
    Windows 95,(Windows NT - Windows for Workstation - Windows 98),
    Unix,( ),
    Novell,( ),
    To Apple System,( Macintosh),
    OS/2,
    , , .
    :
    .
    .
    .
    .
    , .
    , , . ,(Dos - Prompt, C:>), , Dos, ,(mouse), Windows. . , , .
    - ,(Compilers), -,(Interpreters). , .
    Compiler - Editor, (-), , -, (Turbo Pascal 6.0).
    Compiler .
    Interpreter -, , - , ,(GW - Basic 3.23).
    Interpreter.
    , , , , ..

    . .
    , (Application package), .
    ,(Word - Word Pro), ,(Excel , Lotus 1-2-3), .
    , Compiler, . (Quick Basic, Visual Basic ,Turbo Pascal ,Clipper, Turbo C, C++ Java ,..).
    ,(Data Bases), - , .(Dbase, Access, FoxPro ,SQL ..).

    . , . , . .
    . , .
    .
    / , , , . , , . , ,
    , . . , .
    , . - , .
    , . , , , , . .
    :


    ,
    .
    , (..
    ),
    , (
    ), .

    ,
    ,
    .
    ,

    , .


    ,

    .
    .

    ,
    .


    , ,
    .
    -
    .
    4 ,
    .

    .
    , .
    , Turbo Pascal
    ,
    . Clipper,
    ,

    .
    , ,

    .
    .
    - -
    ,
    .
    ,
    .

    .
    .
    ,
    .
    -

    , ,
    -
    , .
    , 1:




    -

    -

    1. .
    , , .

    . :
    ) ,
    ) ,
    ) .
    , , . - , .
    , , , .

    - .
    , . , . , . , :
    Pascal, , , .
    , , . , , .
    I ()
    GW - BASIC Quick Basic Visual Basic Fortran Turbo Pascal -
    I ()
    Delphi Clipper - Dbase CA - Visual Objects WindowsTurbo C - Borland C ++ Windows Assembly HardwareCobol Logo Writer Java HTML InternetSQL

    , , .
    , , , , .
    , . - . , .
    Editor, , Compiler, , , .
    , . :
    ) ,(Syntax Errors),
    , .

    Compiler.
    , Compiler .

    .
    ) , -
    , (Run - Time Errors),
    . ,
    ,
    .

    .
    :
    ,
    ,
    ,
    .
    , Compiler - , - . Editor, , . /.




    , . , - . / -, . s :

    . ,
    .
    .
    , .
    , ,
    .
    , . ,(flow chart block diagram), .

    , . , . , , - .
    , , , . , , . , , - ,(interface), . . , , - , :
    1)

    ,
    -
    . .



    ,
    .
    , .
    3)

    -
    .
    .



    .
    .


    .
    ,
    ,
    .

    6)

    .
    ,
    ,
    ,(.. ).
    7)

    ,
    .
    .
    8)
    ,
    , ,
    .


    .

    .
    10)

    .
    -
    .
    . . :