Exam 7: Whats Wrong With It Syntax and Logic Errors

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

The ____ window provides a description of each error and the location of each error in the code.

Free
(Multiple Choice)
4.8/5
(30)
Correct Answer:
Verified

B

One advantage of variables and named constants is that their use requires fewer lines of code.

Free
(True/False)
4.9/5
(38)
Correct Answer:
Verified

False

You can use a ____ to pause execution at a specific line in the code.

Free
(Multiple Choice)
4.8/5
(45)
Correct Answer:
Verified

B

You can only use variable memory locations to control the data type of numbers used in calculations.

(True/False)
4.8/5
(30)

In the Code Editor window, the ____ alert you that three lines of code contain a syntax error.

(Multiple Choice)
4.8/5
(30)

While stepping through a program in the debugger, the ____ statements are skipped over because they are not considered executable by the debugger.

(Multiple Choice)
4.8/5
(37)

The Code Editor detects most syntax errors as you enter the instructions.

(True/False)
5.0/5
(33)

Stepping through code one line at a time is the only way to search for logic errors.

(True/False)
4.8/5
(35)

A ____ error can occur for a variety of reasons, such as forgetting to enter an instruction or entering the instructions in the wrong order.

(Multiple Choice)
5.0/5
(37)

An error in a program's code is referred to as a ____.

(Multiple Choice)
4.8/5
(38)

As the amount of code increases, so does the likelihood for errors.

(True/False)
4.8/5
(37)

Logic errors are the easiest to find.

(True/False)
5.0/5
(38)

The process of locating and correcting any bugs in a program is called ____.

(Multiple Choice)
4.9/5
(28)

A ____ error can occur in a program from entering instructions in the wrong order.

(Multiple Choice)
4.7/5
(42)

Some logic errors occur as a result of calculation statements that are correct syntactically, but incorrect mathematically.

(True/False)
4.9/5
(36)

You can use variables to store the values of processing items, which do not appear in a user interface.

(True/False)
4.8/5
(40)

When debugging, while the execution of a procedure's code is paused, you can view the contents of controls and variables that appear in the highlighted statement, as well as in the statements above it in the procedure.

(True/False)
4.9/5
(36)

Most syntax errors are a result of ____ errors that occur when entering instructions.

(Multiple Choice)
4.8/5
(37)

In the Error List window, ____ indicate that the Code Editor has some suggestions for fixing the errors.

(Multiple Choice)
4.8/5
(32)

Both constant and variable memory locations make your code more self-documenting and easier to understand.

(True/False)
4.9/5
(28)
Showing 1 - 20 of 25
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)