第七章 单元测试
1单选(5分)
The languages Fortran, Pascal, COBOL, and C++ are examples of which generation of programming languages?
语言Fortran,Pascal,COBOL和C ++是哪一代编程语言?D
A.fourth
B.second
C.first
D.third
2单选(5分)
Which of the following statements about good programming practice is wrong? ______
以下语句中哪个关于良好的编程实践的描述是错误的? D
A.Comments are helpful for code readers.
B.In a software program, variable names should be consistent.
C.In a software program, variable names should be meaningful.
D.If the programmers are careful and experienced enough, they can write self-documenting code.
3单选(5分)
Which of the following statements about good programming practice is correct? _______
以下语句中哪个关于良好的编程实践的描述是正确的? C
A.If there is already prologue comments, inline comments won’t be need