English

(English Medium) ICSE Class 10 - CISCE Important Questions for Computer Applications

Advertisements
[object Object]
[object Object]
Subjects
Popular subjects
Topics
Advertisements
Advertisements
Computer Applications
< prev  161 to 180 of 259  next > 

Differentiate between formal parameter and actual parameter. 

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

How are private members of a class different from public members?

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

Design n class to overload a function SumSeriesO as follows: 

(i)

void SumSeries(int n, double x) – with one integer argument and one double argument to find and display the sum of the series given below:

`"s"  = "x"/1 - "x"/2 + "x"/3 - "x"/4 + "x"/5`...... ...... ...... to n terms

(ii)

void SumSeries() – To find and display the sum of the following series:
s = 1 + (1 x 2) + (1 x 2 x 3) + ….. + (1 x 2 x 3 x 4 x 20)

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

Write a menu-driven program to display the pattern as per the user’s choice. 

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

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

Write a method prototype name check() which takes an integer argument and returns a char:

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

The number of values that a method can return is ______.

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

A method which does not modify the value of variables is termed as ______.

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

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
< prev  161 to 180 of 259  next > 
Advertisements
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×