English

For the SMIS system extended in Chapter 6 let us do the following: 7.1 Convert all the functionality in Chapters 5 and 6 using user-defined functions. 7.2 Add another user-defined function to the

Advertisements
Advertisements

Question

For the SMIS system extended in Chapter 6 let us do the following:

  1. 7.1 Convert all the functionality in Chapters 5 and 6 using user-defined functions.
  2. 7.2 Add another user-defined function to the above menu to check if the student has short attendance or not. The function should accept the total number of working days in a month and check if the student is a defaulter by calculating his or her attendance using the formula: Count of days the student was present or the total number of working days. In case the attendance calculated is less than 78%, the function should return 1 indicating short attendance otherwise the function should return 0 indicating attendance is not short.

Let’s peer review the case studies of others based on the parameters given under “DOCUMENTATION TIPS” at the end of Chapter 5 and provide feedback to them.

One Line Answer
Advertisements

Solution

Do it Yourself.

shaalaa.com
  Is there an error in this question or solution?
Chapter 7: Functions - Exercise [Page 173]

APPEARS IN

NCERT Computer Science [English] Class 11
Chapter 7 Functions
Exercise | Q 1 | Page 173
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×