Which of the following is an example of a syntax error?

a) a program encounters an instruction to divide by zero
b) an array subscript in a program goes out of range
c) the beginning of a while loop is written as “whille” instead of “while”
d) an algorithm that calculates the monthly payment of a loan displays incorrect results

c.

Computer Science & Information Technology

You might also like to view...

In a linked list, the predecessor of a node X

A) is undefined if X is the first node, otherwise it is the node whose index is one less than the index of X B) is the first node in the list C) is the node that comes after X D) is the node that is just before X

Computer Science & Information Technology

You can hide or delete multiple rows or columns by using the Ctrl or Shift key and then selecting the rows or columns you want to hide or delete.

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

Computer Science & Information Technology