Solutions for Class 10 ICSE Logix Kips Computer Applications with BlueJ Java | IT Developer <?php echo $page_title; ?>
IT Developer

User Defined Methods

Chapter 5

User Defined Methods

Class 10 - Logix Kips ICSE Computer Applications with BlueJ


Share with a Friend

Multiple Choice Questions


Question 1

A method that does not return a value has a ........... return type.

  1. double
  2. class
  3. float
  4. void ✔

Question 2

A method can return ...........

  1. any number of values
  2. 2 values
  3. only 1 value ✔
  4. 3 values

Question 3

If a method returns a value, then it must be ...........

  1. of the same data type as defined in its prototype ✔
  2. void type
  3. double type
  4. boolean type

Question 4

Parameters in the method definition are called ...........

  1. actual parameters
  2. formal parameters ✔
  3. informal parameters
  4. void parameters

Question 5

The parameters that are passed to the method when it is invoked are called ...........

  1. formal parameters
  2. actual parameters ✔
  3. informal parameters
  4. void parameters

Question 6

The method that changes the state of an object is known as ...........

  1. pure method
  2. impure method ✔
  3. perfect method
  4. imperfect method

Question 7

The scope of a local variable is limited to the ...........

  1. Windows
  2. Multiple programs
  3. Class
  4. Method or block it is declared in ✔

Question 8

The technique in which the change in the formal parameter gets reflected in the actual parameter is known as ...........

  1. call by reference ✔
  2. call by value
  3. call by argument
  4. call by method

Question 9

In which technique are the values of actual parameters copied to the formal parameters?

  1. call by reference
  2. call by value ✔
  3. call by argument
  4. call by method

Question 10

A method with many definitions is known as ...........

  1. many method
  2. multiple method
  3. void method
  4. overloaded method ✔