Question 1

Question 2
Question 3
Question 4
Question 5
A)What is the primary purpose of line comments?(1 point)
to describe proper naming conventions
to suggest edits to the developer
to make the code more readable and reusable
to plan algorithms
A)What is self-documenting code?(1 point)
code that requires documentation
code that uses meaningful, descriptive names for all variables and functions
code with automatically generated line comments
code that does not require documentation
A)Which of the following must be included in line comments to ensure reusability of code?(1 point)
the date of completion of the code segment
the possible reuse ideas for the code segment
the alternative implementation of the code segment
the purpose and/or functionality of the code segment
A)Which of the following information is provided in the README file about the project description?(1 point)
the purpose of the project, a list of existing similar projects and what differentiates this project, and a list of any notable special features
the description of how the project was designed, how it was developed, and previous versions of the project
the description of how the project should be used, including examples, use cases, and illustrative media
instructions on how to download and install the project, and any known installation issues
A)Which of the following is correct about the inclusion of authorship detail in README?(1 point)
the person who wrote the README file
all programmers who developed the current version of the project
all major and minor contributors and influences
all programmers who developed the original version of the project

1 answer

Here are the answers to your questions:

  1. What is the primary purpose of line comments?
    Answer: to make the code more readable and reusable

  2. What is self-documenting code?
    Answer: code that uses meaningful, descriptive names for all variables and functions

  3. Which of the following must be included in line comments to ensure reusability of code?
    Answer: the purpose and/or functionality of the code segment

  4. Which of the following information is provided in the README file about the project description?
    Answer: the purpose of the project, a list of existing similar projects and what differentiates this project, and a list of any notable special features

  5. Which of the following is correct about the inclusion of authorship detail in README?
    Answer: all programmers who developed the current version of the project

Feel free to ask if you have any further questions!

Similar Questions
  1. Homework: HW 1Question 9, Text Problem 1-13 HW Score: 66.67%, 8 of 12 points Points: 0 of 1 Question list Skip to Main content
    1. answers icon 0 answers
  2. Homework: HW 3Question 8, Text Problem 3-7 HW Score: 33.33%, 7 of 21 points Points: 0 of 1 Question list Skip to Main content
    1. answers icon 3 answers
  3. Homework: HW 4Question 3, Text Problem 4-3 HW Score: 15.38%, 2 of 13 points Points: 0 of 1 Question list Skip to Main content
    1. answers icon 1 answer
  4. Homework: Chapter 10 - MeansQuestion 7, 10.4.7-T Part 1 of 6 HW Score: 66.67%, 6 of 9 points Points: 0 of 1 Question list Skip
    1. answers icon 3 answers
more similar questions