Questions about standard Pascal

 

Name(s)  ________________________________  

 

  1. What is the first word in every standard Pascal program?

 

  1. Assuming the name of a standard Pascal program is MySort, and that the program will have input from the keyboard and produce output on the screen, what does the first line in the program look like?

 

  1. What is the last line in a standard Pascal program?

 

  1. How many reserved words are there in standard Pascal?

 

  1. What is the assignment operator in Pascal?

 

  1. What is the Pascal equivalent of the FORTRAN  DO loop?

 

  1. What other types of loops does Pascal have?

 

  1. What is the Pascal equivalent of the FORTRAN computed GOTO?

 

  1. What is the function of a semi-colon in Pascal?

 

  1. In FORTRAN, parameters were passed by reference.  How are they passed in Pascal?

 

  1. FORTRAN had two types of subprograms, how many does Pascal have?

 

  1. What are the Pascal subprograms called?

 

  1. Who 'invented' the Pascal programming language?     

 

  1. In what decade was it invented?  

 

  1. What was the intended use for the Pascal programming language?

 

  1. What are the discrete data  types in Pascal?

 

  1. What are the structured data types in Pascal?

 

  1. What other data type is there in Pascal?

 

  1. What is/are the Pascal output statements?

 

  1. What is/are the Pascal input statements?