Question

*Considering the ability to divide a program’s various functions up into smaller blocks of reusable code,...

*Considering the ability to divide a program’s various functions up into smaller blocks of reusable code, *how might this change your way of thinking when designing a program with multiple functions? *How might this change your problem solving approach?

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

How it changed the way of thinking ?

As program becoming larger and smarter by days it is not possible to handle all the things inside a single function. So splitting up different activities and features to different functions makes the complicated work much easier.

It changed the way of coding each category has some different sections or functions to be called the rest time it is been untouched or does not need to be modified.

So once the code is divided then the thinking and execution was made very easier.

Problem solving approach:

It makes complicated program very easier to think, evaluate, add and test easily.

Problems are split into sections or functions and invaded separately.

It is like divide and rule policy.

To invade a country as a whole is not an easier task. But after dividing them from their bonds and then invading them separately is much easier.

Please rate it if the above solution helps you in any way or if you have any concerns comment it, I will help you through again.

Add a comment
Know the answer?
Add Answer to:
*Considering the ability to divide a program’s various functions up into smaller blocks of reusable code,...
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
  • Description On the bottom of pg. 176, there is a table showing the various functions available...

    Description On the bottom of pg. 176, there is a table showing the various functions available to allocate and deallocate memory (and/or create/destroy objects) in C and C++. Your assignment is to write a program that demonstrates correct use of each of these (EXCLUDING aligned_alloc() and alloca(), which we did not discuss in class). Your program should do enough to demonstrate that each call works successfully. You should also include some comments to describe briefly the details of each call,...

  • C programming is the main one and pick another code of choice!!! Background This assignment is...

    C programming is the main one and pick another code of choice!!! Background This assignment is based on one of the Big Ideas in this course, namely that reading C source code is a real aid in learning how to write C code. To that end, in this project, you write a program that scans C source from the 'Net and calculates some simple statistics. We're learning lots of concepts, and by running the program you write here on several...

  • Please develop the following code using C programming and using the specific functions, instructi...

    Please develop the following code using C programming and using the specific functions, instructions and format given below. Again please use the functions given especially. Also don't copy any existing solution please write your own code. This is the first part of a series of two labs (Lab 7 and Lab 8) that will complete an implementation for a board-type game called Reversi (also called Othello). The goal of this lab is to write code that sets up the input...

  • Purpose: Demonstrate the ability to create and manipulate classes, data members, and member functions. This assignment...

    Purpose: Demonstrate the ability to create and manipulate classes, data members, and member functions. This assignment also aims at creating a C++ project to handle multiple files (one header file and two .cpp files) at the same time. Remember to follow documentation and variable name guidelines. Create a C++ project to implement a simplified banking system. Your bank is small, so it can have a maximum of 100 accounts. Use an array of pointers to objects for this. However, your...

  • what would be the solution code to this problem in c++? The Problem Write program that...

    what would be the solution code to this problem in c++? The Problem Write program that uses a class template to create a set of items. The program should: 1. add items to the set (there shouldn't be any duplicates) • Example: if your codes is adding three integers, 10, 5, 10, then your program will add only two values 10 and 5 Hint: Use vectors and vector functions to store the set of items 2. Get the number of...

  • Edit a C program based on the surface code(which is after the question's instruction.) that will...

    Edit a C program based on the surface code(which is after the question's instruction.) that will implement a customer waiting list that might be used by a restaurant. Use the base code to finish the project. When people want to be seated in the restaurant, they give their name and group size to the host/hostess and then wait until those in front of them have been seated. The program must use a linked list to implement the queue-like data structure....

  • This is a C++ probelm, I am really struggling with that...... Can anyone help me?? Write...

    This is a C++ probelm, I am really struggling with that...... Can anyone help me?? Write a fraction class whose objects will represent fractions. For this assignment you aren't required to reduce your fractions. You should provide the following member functions: A set() operation that takes two integer arguments, a numerator and a denominator, and sets the calling object accordingly. Arithmetic operations that add, subtract, multiply, and divide fractions. These should be implemented as value returning functions that return a...

  • Summary Write a program that demonstrates the skills you’ve learned throughout this quarter. This type of...

    Summary Write a program that demonstrates the skills you’ve learned throughout this quarter. This type of project offers only a few guidelines and requirements, allowing you to invest as much time, effort and imagination as you want.  Submit your java programs (*.java) and any other I/O (*.txt) via Canvas  You’ve worked quite hard to make it this far, so have a bit of fun with this project! Design Brief: Use Case Scenario You are hired to develop a...

  • please use the film rabbit proof fence In this assessment you will directly engage in an...

    please use the film rabbit proof fence In this assessment you will directly engage in an experimental learning process using film or television to examine, expand and question your cultural assumptions, acquiring a greater understanding of your affective, behavioral, and cognitive positions. Using film and television utilises public discourse as a trigger to engage you as nursing students in discussions about nursing values, nursing history and representations of the profession in relation to Aboriginal and Torres Strait Islande Health, Wellbeing...

  • This C++ Programs should be written in Visual studio 2017 PROGRAM 1: Comparing Using Arrays to...

    This C++ Programs should be written in Visual studio 2017 PROGRAM 1: Comparing Using Arrays to Using Individual Variables One of the main advantages of using arrays instead of individual variables to store values is that the program code becomes much smaller. Write two versions of a program, one using arrays to hold the input values, and one using individual variables to hold the input values. The programs should ask the user to enter 10 integer values, and then it...

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
Active Questions
ADVERTISEMENT