Ask Question
2 September, 08:14

Indenting the start and finish of segments

a: requires the new programmers to insert comments of their own.

b: requires a lot of extra effort for the programmer.

c: makes the flow of the program more difficult to follow.

d: makes the flow of the program easier to follow.

+5
Answers (1)
  1. 2 September, 09:28
    0
    Answer: Option d is correct answer. Indenting the start and finish of code segments makes the flow of the program smooth, understandable, logical and easier to follow but it is not compulsory to indent segments rather it is better approach for structuring code segments. Indentation considered good programming practice which allows programmer to better control the entire structure of the program logically, for example if the code is intended at every block of code, programmer will less effort, would be able to know that specific block of starting and ending and in between.

    Further Explanation:

    • Indenting (type setting) is can also managed through creating uniform number of spaces (space characters) vertically as well horizontally on choice of programmer or depends upon its practices.

    • Indenting specifically used in program languages where whitespace insignificant like C, C++, python etc.

    • In Python programs get structured through indentation, i. e. code blocks are settled by their indentation ... All program statements with the equal margin to the right belong to the same block of code, i. e. the statements within a block line up vertically.

    Answer details

    Grade: Middle

    Subject: Computers and Technology

    Chapter: Indenting in computer programming

    Keywords: indenting programs, typesetting etc
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Indenting the start and finish of segments a: requires the new programmers to insert comments of their own. b: requires a lot of extra ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers