ICSE Class 10 User-defined Methods — Mock Test (2027)
Free online mock test for User-defined Methods (ICSE Class 10 Computer Applications) — 3 competency-based questions based on the latest CISCE 2027 syllabus, with instant marking. Try the samples below, then take the full test free.
What to expect: This mock test covers key concepts from the User-defined Methods chapter — including application-based and competency-focused questions aligned with how ICSE actually sets the paper.
Tip: Attempt without notes first to identify gaps, then review explanations for any wrong answers. Retake after a few days for best retention.
Sample questions
-
1.In the following method prototype to accept a character, an integer and return YES or NO, fill in the blank to complete the method prototype.
public __________ someMethod (char ch, int n)- a.boolean
- b.String
- c.int
- d.double
-
2.Consider the following program segment in which the statements are jumbled. Choose the correct order of statements to calculate and return the factorial of 4.
Statement No. for (k=1; k<=4; k++) 1 return fa; 2 long fa = 1, k; 3 fa*=k; 4 - a.1, 2, 3, 4
- b.3, 1, 4, 2
- c.3, 1, 2, 4
- d.1, 3, 2, 4
-
3.Which of the following pairs of methods will cause a compile-time error due to incorrect method overloading?
- a.void test(int a, int b) and void test(double a, double b)
- b.void test(int a, double b) and void test(double a, int b)
- c.void test(int a, double b) and void test(int a)
- d.void test(int a) and int test(int a)
Want the full 3-question test with instant marking & AI feedback?
Sign up free →