ExamGecko
Question list
Search
Search

Question 65 - 4A0-AI1 discussion

Report
Export

Which of the following is NOT an example of good coding principles?

A.
Offloading code
Answers
A.
Offloading code
B.
Using logging to debug code
Answers
B.
Using logging to debug code
C.
Using hard coded values
Answers
C.
Using hard coded values
D.
Adding notes/comments into code
Answers
D.
Adding notes/comments into code
Suggested answer: C

Explanation:

Good coding principles aim to make the code more maintainable and easier to debug. Offloading code and using logging to debug code are both good coding principles, as they make the code more efficient and easier to debug. Adding notes and comments into code is also a good coding practice, as it makes the code more readable and understandable. However, using hard coded values is not a good coding practice, as it makes the code more difficult to maintain and debug.

asked 23/09/2024
Ivan Dujmic
52 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first