Explain the difference between a compile-time error and a run-time error. Give an example of each.

What will be an ideal response?


A compile-time error will cause the compiler to exit with an error, and therefore the program will not be properly
translated. A program with a run-time error will compile and be translated, but will crash or throw an exception while it is running.
An example of a compile-time error is forgetting a semicolon. An example of a run-time error is dividing by zero.

Computer Science & Information Technology

You might also like to view...

A ________ limits the rows of data to records that match specific criteria

A) function B) formula C) filter D) sort

Computer Science & Information Technology

To create a custom interface for the end user, the database designer might choose to customize the Navigation Pane

Indicate whether the statement is true or false

Computer Science & Information Technology

?The cue attribute _____ places a cue vertically within the video window, wherevalueranges from 0% (top) to 100% (bottom).

A. ?position:value B. ?line:value C. ?vertical:type D. ?size:value

Computer Science & Information Technology

The Start Mail Merge button appears in the ____ group on the Mailings tab.

A. New Mail Merge B. Start Mail Merge C. Mail Merge D. Merge

Computer Science & Information Technology