exam questions

Exam CSSLP All Questions

View all questions & answers for the CSSLP exam

Exam CSSLP topic 1 question 80 discussion

Actual exam question from ISC's CSSLP
Question #: 80
Topic #: 1
[All CSSLP Questions]

Which of the following secure coding principles and practices defines the appearance of code listing so that a code reviewer and maintainer who have not written that code can easily understand it?

  • A. Make code forward and backward traceable
  • B. Review code during and after coding
  • C. Use a consistent coding style
  • D. Keep code simple and small
Show Suggested Answer Hide Answer
Suggested Answer: same guidelines. Answer: D is incorrect. Keep code simple and small defines that it is easy to verify the software security when a programmer uses small and 🗳️
Use a consistent coding style is one of the principles and practices that contribute to defensive coding. This principle defines the appearance of code listing so that a code reviewer and maintainer who have not written that code can easily understand it. For this purpose, all programmers of a team must follow the defines that code must be examined in order to identify coding errors in modules.

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
74gjd_37
5 months, 2 weeks ago
C. The secure coding principle and practice that defines the appearance of code listing so that a code reviewer and maintainer who have not written the code can easily understand it is "Use a consistent coding style." Therefore, option C is the correct answer. Using a consistent coding style ensures that different parts of the system are written in a similar manner for ease of use as well as allowing other developers to maintain or extend existing functionality with minimal training requirements. This also facilitates proper documentation since individuals trained on one part should be able to easily navigate another area within an application.
upvoted 1 times
...
4e3rv21rq3vq2q
1 year, 8 months ago
Selected Answer: C
C. Use a consistent coding style
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago