Which of the followinf is not a principle of good programming style?
Answers
Answer:
Provide a Welcome Message
Explanation:
Which of the followinf is not a principle of good programming style?
Option given are as below
1. Use Descriptive Variable Name
2. Provide a Welcome Message
3. Identify Using the text the numbers that are out put
4. Test The Program
Use Descriptive Variable Name is Very good practice & make logic to understand easily
Test The Program : Necessary to avoid bugs
Provide a Welcome Message is not a principle of good programming style.
The question seems to be a bit incomplete? Did you mean,
Question:
Which of the following is not a principal of good programming style?
(a) Use descriptive variable names
(b) Provide a welcome message
(c) Identify, using text, the numbers that are output
(d) Test the program
Answer:
Option (b) Provide a welcome message
Explanation:
Provide a welcome message is the type of program documentation and it's the feature of modular programming.
The first few lines, or the first screen displayed to the user while running a program should provide general information such as title of the program, programmer's name, date, copyright notice and possibly a brief description about the program. We can put welcome message in the main module or in a module of its own.