Answer the following questions true (T) or false (F)

1. A program should have a comment on every line.

2. Comments have no value whatsoever and do not belong in a program.


1. False
Explanation: This would be satisfactory only on a very complicated assembly language program for an inexperienced programmer.
2. False
Explanation: The purpose of comments in a program is to help the human reader of the code to connect the program to the problem being solved. Comments are valuable.

Computer Science & Information Technology

You might also like to view...

In PHP, a while loop tests for the end of the file by using which function?

a. fputs() b. fopen() c. feof() d. fgets()

Computer Science & Information Technology

How much information do the routers in the backbone area (Area 0) have about the topology of Area 1 and Area 2?

What will be an ideal response?

Computer Science & Information Technology

When using the Relationship window, you can display the Edit Relationships dialog box, by clicking the Edit Relationships button in the:

A) Edit group on the Relationship tab. B) Edit group on the Design tab. C) Tools group on the Relationship tab. D) Tools group on the Design tab.

Computer Science & Information Technology

Add a Digital Signature is an option in the ________ list on the Info tab

Fill in the blank(s) with correct word

Computer Science & Information Technology