Computer science

While you can pass only one argument into a function, you can return as many values as needed from a function.

A library function saves time for the programmer because it allows for code reuse.

Each function should be flowcharted separately.

A function is a module that returns multiple values back to the part of the program that called it.

An IPO chart can be used to show what a function does.

  1. 👍 0
  2. 👎 0
  3. 👁 237
asked by Lies

Respond to this Question

First Name

Your Response

Similar Questions

  1. C++

    Write a function that takes an int argument and doubles it. The function does not return a value.

    asked by Kewal on January 2, 2012
  2. domain

    How do you find the domain of log(x^2-4)? and how about this one? e^(3x+4)? Please help me! Well kristie, you might recognize log(x^2-4) = log((x-2)(x+2)) and then use a property of logs to see it as a sum, i.e.,

    asked by kristie on July 17, 2006
  3. computer science

    Can you find the reason that the following pseudocode function does not return the value indicated in the comments? // The calcDiscountPrice function accepts an item’s price and // the discount percentage as arguments. It use

    asked by Terry on November 21, 2012
  4. Python Programming

    We have created a set of data values that sample a function y(x). The sample points are stored in two arrays: xVals and yVals. These represent measurements of a physical process that is subject to noise so that if a is the i'th

    asked by Anonymous on January 13, 2013
  5. Algebra 2B

    Come up with a new linear function that has a slope that falls in the range −< < 1 0 m . Choose two different initial values. For this new linear function, what happens to the function’s values after many iterations? Are the

    asked by Brittney on October 1, 2016

    Write three functions, AppEval, AppDeriv and AppInt that approximate the value, the derivative and the integral of an unknown function f for which you are given only some unevenly spaced values. More specifically, the function

    asked by DELORIS on May 11, 2011
  7. Math-Algebra II to be exact

    Come up with a new linear function that has a slope that falls in the range −1< m

    asked by Anon on March 30, 2018
  8. Calculus AB

    Consider the function (4)/(1-2^(1/x)) 1. Estimate the right-hand limit, lim x->0+ f(x). Back up your answer by making an analytic argument about f(x) for values of x that are close to 0 but larger than 0. 2. Estimate the left-hand

    asked by Sam on August 29, 2014
  9. Algebra

    Complete the table for each function. 1. f(x) = √x The x values are 0, 1,4 and 9. The corresponding y values that I got are 0, 1, 2 and 3. 2. g(x) = -1/4√ x The x values are 0, 1, 4, and 9. The corresponding y values that I

    asked by Student on March 11, 2014
  10. math

    Part of the road is to be on a parabolic curve given by a function of the form y = ax2 + bx + c where x and y are local co-ordinates. The road alignment must pass through the following 3 points:- x = 150m y = 190.650m x = 300m y =

    asked by k on December 16, 2016

More Similar Questions