Which of the following statements is true?

a. Both syntax errors and logic errors are caught by the compiler.
b. Both syntax errors and logic errors have effects at execution time.
c. Syntax errors are caught by the compiler. Logic errors have effects at execution time.
d. Logic errors are caught by the compiler. Syntax errors have effects at execution time.


C

Computer Science & Information Technology

You might also like to view...

Web pages are unstructured documents in which elements are nested within other elements,forming a hierarchy of elements.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

Evaluate the expression below assuming a is 5, flag is 1, and c is 15. What part of the expression is not computed at all because of short-circuit evaluation?

a != 3 && flag || c >= 10

Computer Science & Information Technology

Which method call sorts array strWords in ascending order?

a) Array.Sort( strWords ) b) strWords.SortArray() c) Array.Sort( strWords, 1 ) d) Sort( strWords )

Computer Science & Information Technology

The document areas in the two parts of a split window are the same size and cannot be changed

Indicate whether the statement is true or false

Computer Science & Information Technology