• What is Pascal?
    Grade 11,  ICT

    Pascal Programming (Part II)

    A pascal program basically has the following sections: Program name Uses command Type declarations Constant declarations Variables declarations Functions declarations Main program block Statements and Expressions within each blocks Comments Below format shows the basic syntax of a Pascal program: program [name of the program]uses [comma delimited names of libraries uses]cont [ global constant declaration block]var [ global variable declaration block]function {function declarations, if any} {local variables}begin....end;procedure { procedure declarations, if any} {local variables}begin....end;begin { main program block starts}....end.{ the end of main program block}

  • What is Pascal?
    Grade 11,  ICT

    Pascal Programming (Part I)

    What is Pascal? Pascal is an imperative and procedural programming language. And originally developed by Niklaus Wirth in 1968-69 and published in 1970. It is named to honor the prominent French mathematician Blaise Pascal. Pascal can be introduced as a reliable and efficient programming language. Usually use to teach programming techniques and is the first language that many programmers learn. Features of the Pascal Language Is a strongly typed language. It offers extensive error checking. It offers several data types like arrays, records, files and sets. It offers a variety of programming structures. It supports structured programming through functions and procedures. It supports object oriented programming. Some facts about the…

Online Testing System