Part I (Each scores 5)
- What does structured programming mean ?
- What is the line uses for ?
- Pascal programs always begin with _______ and end with _______
- What is the difference between Write and Writeln ?
- How can we write two blank lines on the screen ?
- Mention at least 5 variable type names with their range and types !
- How can we get user's input ?
- What is the difference between Read and Readln ?
- Why can't we enter the value 0.75 to word variables ?
- How can we view and pause the screen after the program ran ?
- How can we declare variables in Pascal ?
- What key should we press to run a program in Borland Pascal 7.0 ?
- How can we limit the fractional output to 3 places before and after the decimal point ?
- Explain how can the string be limited on display.
- Can we enter the value "1/4" to Real variables ?
Part II (number 1 scores 5, else scores 10 each)
- Make a program to write your name and your age on screen.
- Make a program to input user's comment and limit it to 20 characters.
- Make a program to calculate the area of a circle. Limit the fractional part 3 places before decimal point and 4 places after decimal.