\"Making Decisions in C++ using Conditions, Operators and Values \" Please respo
ID: 657405 • Letter: #
Question
"Making Decisions in C++ using Conditions, Operators and Values " Please respond to the following: As explained in the text, pseudocode is an informal mixture of C++ statements and ordinary language. Some programmers choose to write and analyze pseudocode before writing the real C++ program, while other programmers choose not to write or analyze pseudocode before writing a C++ program. Choose the group that you would align yourself with if you are tasked to write a C++ program. Provide at least three (3) reasons for aligning yourself with the chosen group..
Explanation / Answer
I would align myself with the set of programmers who choose to write and analyze psudeocode before writing the real C++ Program.
Some of the reasons of doing this are :
1.Pseudocode is plain text and therefore easy to understand. Pseudocode can be understood by everyone, even non-programmers which might be helpful to discuss the details of your program with co developers before writing actual code.
2.Writing Psuedocode may seem like an unnecessary step, but it pays major dividends in the end. It not only results in better quality programs, but many times it will also cut down the coding time (as you would not need to rewrite the program on realization of a bug.)
3. The non-specific nature of pseudocode greatly streamlines the code writing phase because it eliminates many of the distractions which could easily derail the early part of the process. Programmers can look at the whole picture rather than the specific elements that make up that picture. They can be sure they have adequately defined the problem before they get too deep into the actual writing phase and realize they have forgotten something important. The writing phase can then move along more quickly, simply because there is no need to keep correcting code that has already been written.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.