What are the advantanges of modularity
Answers were Sorted based on User's Feedback
Answer / kanthi
Actually, the main advantage of modularity is reusability.
By dividing a complex problem into modules and implementing
them differently, reusability can be achieved as these
modules can be used when need for same task arises in a
similar problem.
Also, ofcourse modularity increases code legibility and it
is an efficient way of handling difficult and lengthy tasks
by dividing each module responsibilty amongst various
developers.
| Is This Answer Correct ? | 29 Yes | 0 No |
Answer / narender vadhava
Modularity means to divide a program into smaller units
into modules as we do in c to make functions.
It help us to write a large program, easily to handle a
complex problem by dividing into modules.
it is also helpful to give a good and easy look to our
lengthy program
| Is This Answer Correct ? | 18 Yes | 3 No |
In what situation factory design patterns,DAO design patterns,singleton design patterns should be applied.?
Will I be able to get a picture in D drive to the c++ program? If so, help me out?
What is inheritance in simple words?
Describe the difference between a Thread and a Process?
What do you mean by variable?
what is oops
What is ambiguity in c++
What are the two different types of polymorphism?
This program numbers the lines found in a text file. Write a program that reads text from a file and outputs each line preceded by a line number. Print the line number right-adjusted in a field of 3 spaces. Follow the line number with a colon, then one space, then the text of the line. You should get a character at a time and write code to ignore leading blanks on each line. You may assume that the lines are short enough to fit within a line on the screen. Otherwise, allow default printer or screen output behavior if the line is too long (i.e., wrap or truncate). A somewhat harder version determines the number of spaces needed in the field for the line numbers by counting lines before processing the lines of the file. This version of the program should insert a new line after the last complete word that will fit within a 72-character line.
Should you protect the global data in threads? Why or why not?
What is the problem with multiple inheritance?
How do you make derived class as an abstract class?