Which of the following are characteristics of readable code? Choose all that apply.
You are writing a program to calculate student grades. Which of the following would make good variable names?
Your program will be used by many departments at the university. Your comments will be important to their IT people. What would be a useful comment?
Which of the following are examples of the good use of indentation and line breaks? Choose all that apply.
Readable code includes
Which of the following represent the use of formatting to create readable code? Choose all that apply.
Readable code includes the use of
You are writing a recursive code segment. Which of the following would be the most helpful comment?
Which of the following are reasons why it is important to write readable code? Choose all that apply.
Which of the following are benefits of formatting for readability? Choose all that apply.
Did you find these answers helpful?