User - defined Methods

Class 10 Computer Applications Chapter 3
User - defined Methods
Important Questions

Exam preparation with oswal.ioExam preparation with

Contained here are class 10 User - defined Methods important questions and answers aiming at aiding students in revisiting and solidifying their grasp of foundational concepts from the previous class. Curated with a range of question types, this resource facilitates a firm understanding of key principles, addresses uncertainties, and cultivates adept problem-solving skills. Engaging with these inquiries empowers students to fortify their exam preparedness, boost confidence, and refine essential proficiencies pivotal for success in the ICSE Class 10 Computer Applications Examination. 


Chapter 3 in ICSE 10 Computer Applications delves into 'User-defined Methods.' This chapter is a crucial introduction to programming concepts, emphasizing the creation and utilization of user-defined methods in coding. It explores how functions or methods are designed by users to perform specific tasks, fostering a deeper understanding of structuring and streamlining code. Students delve into defining, invoking, and implementing these methods, acquiring foundational skills essential for programming and problem-solving in Computer Applications. Important questions for class 10 ICSE of User - defined Methods will help you prepare well for ICSE Class 10 Computer Application subject.

What are User - defined Methods?

User-defined methods refer to customized functions or routines created by the programmer to perform specific tasks in programming languages. These methods are tailored to address particular functionalities, enabling developers to organize code more efficiently by breaking it into manageable and reusable sections. These concepts are crucial for students preparing for ICSE Class 10 computer exams. Practising important questions of User - defined Methods for class 10 ICSE essential for a comprehensive understanding and successful examination preparation. Explore further with for ICSE class 10 important questions 2023-24 to strengthen your knowledge in these fundamental areas of computer.

important questions for class 10 computer icse

Class 10 User - defined Methods Important Questions and Answers

Q1. The default return type of a User defined function is


(a) float
(b) int
(c) void
(d)  null

Ans. (b) int

A static method, or a class method in Java, is a method associated with the class itself rather than with a particular instance of the class.

Q2. Function prototype means


(a) Return value of a function
(b) Name of the function
(c) Return type of the function
(d) Return type ,Name and Inputs to a function

Ans. (d) Return type ,Name and Inputs to a function
A function prototype is a declaration that specifies details about a function, providing information to the program about the type of value the function returns.

Q3. What is meant by private visibility of a method ?

Private methods can be called only in the class in which they are defined. Outside that class they cannot be accessed.

Q4. What is the use of function overloading ?

Function overloading implements polymorphism. This means, it is possible to define two or more methods with the same name in the same class. It also reduces the number of comparisons in a program thereby making the program run faster.

Q5.  Write a class with name employee and basic as its data member, to find the gross pay of an employee of the following allowances and deduction. Use meaningful variable.
Dearness Allowance = 25% of Basic pay House Rent Allowance = 15% of Basic pay Provident Fund = 8.33% of Basic Pay
Net Pay = Basic Pay + Dearness Allowance + House Rent Allowance
Gross Pay = Net Pay – Provident fund

class employee
      private int basic;
     public employee(int b)
           basic = b;
           double da, hra, pf, net, gross;
          da = (25.0/100.0) * basic;
           hra = (15.0/100.0) * basic;
           pf = (8.33/100.0) * basic;
           net = basic + da + hra; gross = net – pf; 
           System.out.println(“ Dearness Allowance “ + da);
           System.out.println(“ House Rent Allowance “+ hra);
           System.out.println(“ Provident Fund “ + pf);
           System.out.println(“ Net pay “ + net);
           System.out.println(“ Gross Pay “ + gross);

icse class 10 computer applications important questionsimportant questions for class 10 computer icse

ICSE Class 10 Computer Applications Chapter wise Important Questions

Chapter No. Chapter Name
Chapter 1 Revision of Class IX Syllabus
Chapter 2 Class as a Basis of all Computation
Chapter 3 User - defined Methods
Chapter 4 Constructors
Chapter 5 Library classes
Chapter 6 Encapsulation
Chapter 7 Arrays
Chapter 8 String handling


User - defined Methods chapter introduces the fundamental idea of classes, vital for constructing objects, encapsulating information, and specifying actions in computer applications. Proficiency in this chapter establishes the foundation for exploring more complex programming methods, empowering students to construct resilient, adaptable, and effective software systems. If you are looking to further practice and enhance your understanding of the concepts discussed in the chapter, provides a comprehensive set of class 10 User - defined Methods important questions and answers for understanding the concept in a better way.

Frequently Asked Questions

Q1 : What are User-defined Methods in programming?

Ans: User-defined Methods are functions or procedures created by programmers to execute specific tasks within a program. They are not predefined by the programming language but are crafted by users to perform customized actions.

Q2 : How do User-defined Methods streamline code in programming languages?

Ans:  User-defined Methods promote code reusability by encapsulating a set of instructions that can be repeatedly used in different parts of the program. This streamlines the code, making it more modular, readable, and easier to maintain.

Q3 : What is the process of defining and invoking User-defined Methods?

Ans: Defining a User-defined Method involves declaring its name, parameters, and body containing the instructions. Invoking or calling the method involves using its name in the program, providing necessary arguments, and executing the associated instructions.

Q4 : What advantages do User-defined Methods offer in programming applications?

Ans: User-defined Methods enhance code organization, facilitate easier debugging, and enable efficient maintenance. They also promote code reusability, improving productivity and reducing redundancy.

Q5 : Can you explain the difference between built-in and User-defined Methods?

Ans: Built-in Methods are part of the programming language's library and are pre-defined to perform specific tasks (e.g., print(), append(), etc.), while User-defined Methods are created by programmers to cater to custom requirements.

Copyright 2022 OSWAL PUBLISHERS Simplifying Exams
Phone:  (+91) 78959 87722


Our Policy

  • Privacy policy
  • Terms & Conditions
Follow Us
facebook icontwitter iconInstagram iconyoutube iconlinkedIn iconwhatsapp icon

Lets Connect

©Copyright 2022 OSWAL PUBLISHERS Simplifying Exams
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.