What are four of the most frequent errors new programmers make when they first learn to make decisions?
What will be an ideal response?
New programmers frequently make errors when they first learn to make decisions. The most frequent errors include the following:
* Using the assignment operator instead of the comparison operator when testing for equality
* Inserting a semicolon after the Boolean expression in an if statement instead of after the entire statement is completed
* Failing to block a set of statements with curly braces when several statements depend on the if or the else statement
* Failing to include a complete Boolean expression on each side of an && or || operator in an if statement
You might also like to view...
To open an existing outline file created in a program other than PowerPoint 2010, click the ________ tab
Fill in the blank(s) with correct word
Malware is a computer program that's designed to prevent viruses
Indicate whether the statement is true or false