Section 1.9 Check Point Questions6 questions 

1.9.1
What are syntax errors (compile errors), runtime errors, and logic errors?
1.9.2
Give examples of syntax errors, runtime errors, and logic errors.
1.9.3
If you forget to put a closing quotation mark on a string, what kind error will be raised?
1.9.4
If your program needs to read integers, but the user entered strings, an error would occur when running this program. What kind of error is this?
1.9.5
Suppose you write a program for computing the perimeter of a rectangle and you mistakenly write your program so that it computes the area of a rectangle. What kind of error is this?
1.9.6
Identify and fix the errors in the following code:
 1  int Main()
 2  {
 3    cout << 'Welcome to C++!';
 4    return 0;
 5  )