Question

One of the advantages of writing a program that is subdivided into functions is that such...

One of the advantages of writing a program that is subdivided into functions is that such a structure allows different programmers to write separate functions, thus dividing the work. Would yo prefer to write a large program by yourself, or to work on a team in which each programmer produces one or more modules? Why?

0 0
Add a comment Improve this question Transcribed image text
Answer #1

I would prefer to work on a team in which each programmer produces one or more modules...

because..writing a large program reduces the productivity... while dividing it into modules (logically seperated program) will increase the productivity,efficiency and decreases the complexity..(using divide and conquer methods we can reduce the complexity..)

modules that are designed/programmed by the programmers can be reused many times.. thus we can save time, can increase the reliability...

now..updating and fixing bug in a large program is a mess.. but in case of modular pograms it is simpler..easy to replace a module or method , rather than the larger code..

we can always have a clear flow of control..

Add a comment
Know the answer?
Add Answer to:
One of the advantages of writing a program that is subdivided into functions is that such...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • While using python programming. If the program is broken into smaller modules where does execution begin?Can...

    While using python programming. If the program is broken into smaller modules where does execution begin?Can you Please explain? I think it is not a good idea to write a large program with only one function because creating a large program can have benefits on using modular programming than less code. Modular programming is the process of subdividing a computer program into separate sub-programs. A module is a separate software component. It can often be used in a variety of...

  • CodeHead Software Inc. does software development. One important activity in software development is writing software code....

    CodeHead Software Inc. does software development. One important activity in software development is writing software code. The manager of the WordPro Development Team determined that the average software programmer could write 25 lines of code in an hour. The plan for the first week in May called for 4,650 lines of code to be written on the WordPro product. The WordPro Team has five programmers. Each programmer is hired from an employment firm that requires temporary employees to be hired...

  • Lab 5 Instructions For Lab 5, you will be writing a more complex modular program that...

    Lab 5 Instructions For Lab 5, you will be writing a more complex modular program that uses at least two arrays, and has at least one loop that accesses the data in the arrays. As long as your program satisfies the requirements listed below, you are free to design and write any type of program that you care to. You are encouraged to be creative, and pick something that has meaning for you, because you'll have more fun. Feel free...

  • For this project, you're going to contrast two different methods for dividing polynomials. Click on the buttons below to learn about each method. Dividing Using The Grid Method Dividing Using...

    For this project, you're going to contrast two different methods for dividing polynomials. Click on the buttons below to learn about each method. Dividing Using The Grid Method Dividing Using Long Division First, become familiar with both methods. Then write at least three sentences contrasting the methods (not the problems they used). How are they different? Second, write three to five complete sentences about which method you prefer, and why. Both sets of sentences must be complete and I'll be...

  • I am writing a Python program to serve as a fitness tracker. I would love some...

    I am writing a Python program to serve as a fitness tracker. I would love some input as to how you would code this. I've included what I want this program to accomplish, what I will keep track of, and below all of that I have posted the assignment guidelines. Any suggestions on how to make this better/ more efficient would be welcome! I'm thinking of making a weekly tracker that takes input per day, and outputs at the end...

  • Writing Unix Utilities in C (not C++ or C#) my-cat The program my-cat is a simple...

    Writing Unix Utilities in C (not C++ or C#) my-cat The program my-cat is a simple program. Generally, it reads a file as specified by the user and prints its contents. A typical usage is as follows, in which the user wants to see the contents of my-cat.c, and thus types: prompt> ./my-cat my-cat.c #include <stdio.h> ... As shown, my-cat reads the file my-cat.c and prints out its contents. The "./" before the my-cat above is a UNIX thing; it...

  • You should implement several functions that the Phone Contacts program will need Each function with take...

    You should implement several functions that the Phone Contacts program will need Each function with take in data through the parameters (i.e., variables names listed in parentheses) and make updates to data structure that holds the contact information, return, or print information for a particular contact. The parameters needed are listed in the table below and each function is described below that 1. Make an empty dictionary and call it 'contacts'. Where in your code would you implement this? Think...

  • You're to write a C++ program that analyzes the contents of an external file called data.txt....

    You're to write a C++ program that analyzes the contents of an external file called data.txt. (You can create this file yourself using nano, that produces a simple ASCII text file.) The program you write will open data.txt, look at its contents and determine the number of uppercase, lowercase, digit, punctuation and whitespace characters contained in the file so that the caller can report the results to stdout. Additionally, the function will return the total number of characters read to...

  • In C++ please! Please include .cpp and .hpp files! Thank you! Recursive Functions Goals Create and...

    In C++ please! Please include .cpp and .hpp files! Thank you! Recursive Functions Goals Create and use recursive functions In this lab, we will write a program that uses three recursive functions. Requirements: Important: You must use the array for this lab, no vectors allowed. First Recursive Function Write a function that recursively prints a string in reverse. The function has ONLY one parameter of type string. It prints the reversed character to the screen followed by a newline character....

  • Project overview: Create a java graphics program that displays an order menu and bill from a...

    Project overview: Create a java graphics program that displays an order menu and bill from a Sandwich shop, or any other establishment you prefer. In this program the design is left up to the programmer however good object oriented design is required. Below are two images that should be used to assist in development of your program. Items are selected on the Order Calculator and the Message window that displays the Subtotal, Tax and Total is displayed when the Calculate...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT