Why do we define a function?
Answer:
Functions are defined because they let us use a block of code repeatedly without having to rewrite the code again and again and thus reduces complexity.
Past Year - 1 Mark Questions
Question 2 Important
Question 3
Question 4
Question 5
Question 6
Question 7 Important
Question 8
Question 9 Important
Question 10 Important
Question 11 Important
Question 12 Important
Question 13
Question 14
Question 15
Question 16
Question 17 Important You are here
Question 18 Important
Question 19 Important
Question 20
Question 21 Important
Question 22
Question 23 Important
Past Year - 1 Mark Questions
Last updated at April 16, 2024 by Teachoo
Answer:
Functions are defined because they let us use a block of code repeatedly without having to rewrite the code again and again and thus reduces complexity.