English

Introduction of User - Defined Method

Advertisements

Topics

CISCE: Class 10

Introduction of User - Defined Method:

We are now going to focus on logical simplification of the process so that a program can be developed by using minimum number of statements. Similarly, the number of blocks (sets of statements) written for the same operation can be reduced to a single block while writing a program. Whenever we have to perform that operation, we can call the associated method rather than writing the whole code every time. 

Advantages of a Method / Function 

Using methods allows reusing operation segments, simplifies complex tasks into smaller, modular parts, and enhances problem-solving. Programs with methods use less memory and execute faster, improving efficiency and performance. 

Defining Method 

Defining a method has no link with writing the definition of a method. In fact, defining a method refers to creating a complete structure of a method, along with the logical and computational block. 

Advertisements
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×