Question
Use of functions and Macros
Answer :
Word Count : 354
________ ____ ___ ___ ___ __________ __________ ______ _________.
______ ____ _____ ______ _______ _____ _____ _____ _________ ____ _______ ______.
__________ _______ ____ __________ ______ ___ __________ ___ __________ _______ ________ ___.
____ _______ ________ ______ ________ ______.
___ _______ __________ _____ ___.
___ ______ __________ _____ __________ _________ ______ _______ _____ __________ _________ ________.
____ __________ _____ ______ _______ ____ _______.
_______ __________ ________ ________ _________ __________ ________ ________.
_______ ____ _______ ____ ________.
____ ________ ________ _____ _________ _____ ______ _________.
_______ _______ ________ _______ _______ _____ _________ ______ _________ ______ ____.
__________ __________ __________ ____ _________ ____ ______ _______.
_______ ____ ___ ________ ______ ____ _______ ____ ___ _______ ___.
________ ___ ____ __________ _______ _____.
__________ _______ __________ _______ __________ ___ _________ _________ __________ __________.
_______ ____ ________ __________ _________ ____ ________ ___ ______ __________ __________.
______ ______ _______ _________ ____ ______ ____ _____ ____ _______.
____ _______ _______ ____ __________ __________.
__________ _______ _________ _____ ______ ___ ________ __________ ______ _____ ____ _________.
_____ _______ _________ __________ _____ _______.
___ ______ __________ ____ _____ _________.
______ _________ ______ _____ _________ _____.
___ _____ ___ _________ _____.
______ _____ _____ _________ ________ ____ _______ __________.
___ _______ _________ __________ __________ ______.
Skip in 10
In Computer Basics and PC Software, functions and macros are used to automate tasks, improve code reusability, and simplify programming or spreadsheet operations. --- ### Functions: A function is a named block of code that performs a specific task when called. Functions are used in programming (like C, C++, Java) and in applications like Excel (e.g., `SUM()`, `AVERAGE()`). Features of Functions: * Can accept input (parameters) * May return a result * Defined once, can be used multiple times * Enhances modularity and readability Example in C: ```c int add(int a, int b) { return a + b; } ``` Example in Excel: ```excel =SUM(A1:A5) ``` Diagram: ``` +-------------------+ | Main Program | +--------+----------+ | v +--------+----------+ | Call Function add()| +--------+----------+ | v +--------+----------+ | Executes add(a,b) | +-------------------+ | v +--------+----------+ | Returns sum | +-------------------+ ``` --- ### Macros:
___ ___ _________ _________ ______ _______.________ ____ ___ ___ ___ __________ __________ ______ _________.
______ ____ _____ ______ _______ _____ _____ _____ _________ ____ _______ ______.
__________ _______ ____ __________ ______ ___ __________ ___ __________ _______ ________ ___.
____ _______ ________ ______ ________ ______.
___ _______ __________ _____ ___.
___ ______ __________ _____ __________ _________ ______ _______ _____ __________ _________ ________.
____ __________ _____ ______ _______ ____ _______.
_______ __________ ________ ________ _________ __________ ________ ________.
_______ ____ _______ ____ ________.
____ ________ ________ _____ _________ _____ ______ _________.
_______ _______ ________ _______ _______ _____ _________ ______ _________ ______ ____.
__________ __________ __________ ____ _________ ____ ______ _______.
_______ ____ ___ ________ ______ ____ _______ ____ ___ _______ ___.
________ ___ ____ __________ _______ _____.
__________ _______ __________ _______ __________ ___ _________ _________ __________ __________.
_______ ____ ________ __________ _________ ____ ________ ___ ______ __________ __________.
______ ______ _______ _________ ____ ______ ____ _____ ____ _______.
____ _______ _______ ____ __________ __________.
__________ _______ _________ _____ ______ ___ ________ __________ ______ _____ ____ _________.
_____ _______ _________ __________ _____ _______.
___ ______ __________ ____ _____ _________.
______ _________ ______ _____ _________ _____.
___ _____ ___ _________ _____.
______ _____ _____ _________ ________ ____ _______ __________.
___ _______ _________ __________ __________ ______.
IGNOU ACADEMY
Your IGNOU journey, made easier.
- Solved Assignments
- Study Notes
- Guess Papers
- Question Papers
Continue Reading — It's Free
Sign in with Google to unlock more of this answer.
✓ Free access
✓ Unlock up to 60% of the answer
✓ No payment required
✓ Unlock up to 60% of the answer
✓ No payment required
Quick Google sign-in. No separate registration form.