Computer Science, asked by am6183811, 4 months ago

Define following terms with help of an example (1)Function (2) one dimensional array ​

Answers

Answered by Anonymous
3

\huge\underline\bold{ANSWER}

  1. A function is a mapping from a set of inputs (the domain) to a set of possible outputs (the codomain). The definition of a function is based on a set of ordered pairs, where the first element in each pair is from the domain and the second is from the codomain.
  2. A one-dimensional array (or single dimension array) is a type of linear array. Accessing its elements involves a single subscript which can either represent a row or column index.
Similar questions