मराठी

(English Medium) ICSE Class 10 - CISCE Important Questions

Advertisements
विषय
अध्याय
विषय
मुख्य विषय
अध्याय

Please select a subject first

Advertisements
Advertisements
< prev  1521 to 1540 of 3901  next > 

Method which is a part of a class rather than an instance of the class is termed as ______.

Appears in 1 question paper
Chapter: [5] User - Defined Methods
Concept: Side Effects of Call by Reference

Define a class to overload the function print as follows:

void print() to print the following format
  1 1 1 1
  2 2 2 2
  3 3 3 3
  4 4 4 4
  5 5 5 5
void print(int n) To check whether the number is a lead number. A lead number
is one whose sum of even digits is equal to the sum of odd digits.
 

e.g. 3669 odd digits sum = 3 + 9 = 12
even digits sum = 6 + 6 = 12
3669 is a lead number.

Appears in 1 question paper
Chapter: [5] User - Defined Methods
Concept: Function Overloading

Method which reverses a given number is ______:

Appears in 1 question paper
Chapter: [5] User - Defined Methods
Concept: Recursive Function

Invoking a method by passing the objects of a class is termed as ______.

Appears in 1 question paper
Chapter: [5] User - Defined Methods
Concept: Side Effects of Call by Reference

Assertion (A): Static method can access static and instance variables.

Reason (R): Static variables can be accessed only by static method.

Appears in 1 question paper
Chapter: [5] User - Defined Methods
Concept: Side Effects of Call by Reference

Method prototype for the method compute which accepts two integer arguments and returns true/false.

Appears in 1 question paper
Chapter: [5] User - Defined Methods
Concept: Introduction of User - Defined Method

The statement that brings the control back to the calling method is ______.

Appears in 1 question paper
Chapter: [5] User - Defined Methods
Concept: Ways of passing values to a function

Assertion(A): An argument is a value that is passed to a method when it is called.

Reason(R): Variables which are declared in a method prototype to receive values are called actual parameters.

Appears in 1 question paper
Chapter: [5] User - Defined Methods
Concept: Introduction of User - Defined Method

Define a class to overload the method display() as follows:

void display(): To print the following format using nested loop.

1 2 1 2 1

1 2 1 2 1

1 2 1 2 1

void display (int n, int m): To print the quotient of the division of m and n if m is greater than n otherwise print the sum of twice n and thrice m. double display (double a, double b, double c) - to print the value of z where

z = p × q

`p=(a+b)/c`    q = a + b + c

Appears in 1 question paper
Chapter: [5] User - Defined Methods
Concept: Function Overloading

The keyword used to call package in the program:

Appears in 1 question paper
Chapter: [5.1] Introduction to Java
Concept: Java Compiler and Interpreter

The extension of a Java source code file is ______.

Appears in 1 question paper
Chapter: [5.1] Introduction to Java
Concept: Introduction to Java

What is the output of the Java code given below?

String color [ J = {"Blue", "Red", "Violet"}; System.out.println(color[2].length();

Appears in 1 question paper
Chapter: [5.1] Introduction to Java
Concept: Output Statement in Java Programming

Rewrite the following do while program segment using for:

x = 10; y = 20;
do
{
   x++;
   y++;
}while (x<=20);
System.out.println(x*y);
Appears in 1 question paper
Chapter: [5.1] Introduction to Java
Concept: Output Statement in Java Programming

"Java compiled code (byte code) can run on all operating systems" - Name the feature.

Appears in 1 question paper
Chapter: [5.1] Introduction to Java
Concept: Introduction to Java

Assertion (A): Integer class can be used in the program without calling a package.

Reason (R): It belongs to the default package java lang.

Appears in 1 question paper
Chapter: [5.1] Introduction to Java
Concept: Basic Elements of Java Programming

Write a Java expression for the following : |x2+2xy| 

Appears in 1 question paper
Chapter: [5.2] Input in Java
Concept: Introduction of Input in Java

Write a program to input a number and check and print whether it is a Pronic number or not. (Pronic number is the number which is the product of two consecutive integers).

Examples: 12 = 3 × 4 
20 = 4 × 5
42 = 6 × 7

Appears in 1 question paper
Chapter: [5.2] Input in Java
Concept: Introduction of Input in Java

Write a program to input twenty names in an array. Arrange these names in descending order of alphabets, using the bubble sort technique. 

Appears in 1 question paper
Chapter: [5.2] Input in Java
Concept: Introduction of Input in Java

Using the switch statement, write a menu driven program to calculate the maturity amount of a Bank Deposit.
The user is given the following options :
(i) Term Deposit
(ii) Recurring Deposit

For option (i) accept principal (P), rate of interest(r) and time period m years(n). Calculate and output the maturity amount (A) receivable using the formula

`"A" = "P"[1+"r"/100]^"n"`

For option (ii) accept Monthly Installment (P), rate of interest (r) and time period in months (n). Calculate and output the maturity amount (A) receivable using the formula

`"A" = "P" xx "n" + "P" xx ("n"("n" + 1))/2 xx "r"/100 xx 1/12`

For an incorrect option, an appropriate error message should be displayed.

Appears in 1 question paper
Chapter: [5.2] Input in Java
Concept: Introduction of Input in Java

Write a program to accept the year of graduation from school as an integer value from, the user. Using the Binary Search technique on the sorted array of integers given below. 

Output the message “Record exists” If the value input is located in the array. If not, output the message “Record does not exist”.
{1982, 1987, 1993, 1996. 1999, 2003, 2006, 2007, 2009, 2010}.  

Appears in 1 question paper
Chapter: [5.2] Input in Java
Concept: Introduction of Input in Java
< prev  1521 to 1540 of 3901  next > 
Advertisements
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×