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

Computer Science & Information Technology

You might also like to view...

The ________ folder is the default where new themes are stored

A) Templates B) Theme C) My Documents D) Picture

Computer Science & Information Technology

Which network topology offers the greatest level of fault tolerance?

A. bus B. ring C. star D. mesh

Computer Science & Information Technology

A _____ system allows a customer to request a fax using email, via the company website, or by telephone.

A. faxback B. frontfax C. turnfax D. digifax

Computer Science & Information Technology

COGNITIVE ASSESSMENT You work in a medical lab that requires high-quality dye-sublimation printers. What type of printer do you use?

A. laser B. plotter C. impact D. thermal

Computer Science & Information Technology