题目内容

Which of the following statements about good programming practice is wrong?

A. In a software program, variable names should be meaningful.
B. In a software program, variable names should be consistent.
C. If the programmers are careful and experienced enough, they can write self-documenting code.
D. Comments are helpful for code readers.

查看答案
更多问题

In the following statement, which cannot be a coding standard?

A. Construct an appropriate layout of the code.
B. Make a meaningful name of the variable meaningful.
C. Make a short name of the variable.
D. Add comments.

If a decision by a programmer results in a violation of coding standards, the programmer should ________.

A. check with the manager to determine whether the code can stand as it is
B. keep the code in violation and hide the fact
C. rewrite the code to meet standards
D. argue that the standards do not apply to every kind of code

The primary purpose of careful code layout is to _______.

A. please ourselves
B. improve readability
C. conform to standards
D. help the SQA team

Which of the following statements about programming languages is true?

A. The best programming language means that it can be suitable for any project.
B. We should always choose the best programming language for the target system.
C. There is no the best programming language. Each language has its own advantages and disadvantages. We should always choose the most suitable one for the target system.
D. Java is the best programming language nowadays.

答案查题题库