हिंदी

(English Medium) ICSE Class 10 - CISCE Question Bank Solutions for Computer Applications

Advertisements
[object Object]
[object Object]
विषयों
मुख्य विषय
अध्याय
Advertisements
Advertisements
Computer Applications
< prev  201 to 220 of 259  next > 

Define a class to accept values into an array of double data type of size 20. Accept a double value from user and search in the array using linear search method. If value is found display message "Found" with its potiition where it is present in the array. Otherwise display message "not found".

[3] Arrays (Single Dimensional and Double Dimensional)
Chapter: [3] Arrays (Single Dimensional and Double Dimensional)
Concept: undefined >> undefined

Which of the following is an escape sequence character in Java?

[3] Values and Data Types
Chapter: [3] Values and Data Types
Concept: undefined >> undefined

Advertisements

What is the method to check whether a character is a letter or digit?

[2] Library Classes
Chapter: [2] Library Classes
Concept: undefined >> undefined

What is the output of the Java code given below?

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

[5.1] Introduction to Java
Chapter: [5.1] Introduction to Java
Concept: undefined >> undefined

Rewrite the following do while program segment using for:

x = 10; y = 20;
do
{
   x++;
   y++;
}while (x<=20);
System.out.println(x*y);
[5.1] Introduction to Java
Chapter: [5.1] Introduction to Java
Concept: undefined >> undefined

Consider the given program and answer the questions given below:

class temp
      {
      int a;
      temp()
      {
      a=10
      }
      temp(int z)
      a=z;
      }
      void print()
      {
      System.out.println(a);
      }
      void main()
      {
      temp t = new temp();
      temp x = new temp(30);
      t.print();
      x.print();
      }
      }
  
  1. What concept of OOPs is depicted in the above program with two constructors?
  2. What is the output of the method main()?
[1] Introduction to Object Oriented Programming Concepts
Chapter: [1] Introduction to Object Oriented Programming Concepts
Concept: undefined >> undefined

The size of '\n' is ______.

[3] Values and Data Types
Chapter: [3] Values and Data Types
Concept: undefined >> undefined

The method to convert a lowercase character to uppercase is ______.

[2] Library Classes
Chapter: [2] Library Classes
Concept: undefined >> undefined

Predict the output of the following code snippet:

char ch='B';
char chr=Character.toLowerCase(ch);
int n=(int)chr-10;
System.out.println((char)n+"\t"+chr);
[2] Library Classes
Chapter: [2] Library Classes
Concept: undefined >> undefined

A student is trying to convert the string present in x to a numerical value, so that he can find the square root of the converted value, However the code has an error. Name the error (syntax/logical/runtime). Correct the code so that it compiles and runs correctly.

String x="25";
int y=Double.parseDouble(x);
double r=Math.sqrt(y);
System.out.println(r);
[2] Library Classes
Chapter: [2] Library Classes
Concept: undefined >> undefined

Consider the following program segment and answer the questions below:

class calculate
{
     int a;double b;
     calculate()
     {
     a=0;
     b=0.0;
     }
     calculate(int x, double y)
     {
     a=x;
     b=y;
     }
   void sum()
   {
     System.out.println(a*b);
}}

Name the type of constructors used in the above program segment.

[7] Constructors
Chapter: [7] Constructors
Concept: undefined >> undefined

Define a class to search for a value input by the user from the list of values given below. If it is found display the message "Search successful", otherwise display the message "Search element not found” using Binary search technique.

5.6, 11.5, 20.8, 43.1, 52.4, 66.6, 78.9, 80.0, 95.5.

[3] Arrays (Single Dimensional and Double Dimensional)
Chapter: [3] Arrays (Single Dimensional and Double Dimensional)
Concept: undefined >> undefined

Define a class to accept a string and convert the same to uppercase, create and display the new string by replacing each vowel by immediate next character and every consonant by the previous character. The other characters remain the same.

Example: Input: #IMAGINATION@2024

                Output: #JLBFJMBSJPM@2024 

[2] Library Classes
Chapter: [2] Library Classes
Concept: undefined >> undefined

Name the wrapper class of char type. 

[2] Library Classes
Chapter: [2] Library Classes
Concept: undefined >> undefined

Classify the following as primitive or non-primitive data type:

char 

[2] Library Classes
Chapter: [2] Library Classes
Concept: undefined >> undefined

What is the value stored in variable res given below?

double res = Math.pow (“345”.indexOf(‘5’), 3);

[3] Arrays (Single Dimensional and Double Dimensional)
Chapter: [3] Arrays (Single Dimensional and Double Dimensional)
Concept: undefined >> undefined

Corresponding wrapper class of int data type is ______

[2] Library Classes
Chapter: [2] Library Classes
Concept: undefined >> undefined

Identify the correct array declaration statement.

[3] Arrays (Single Dimensional and Double Dimensional)
Chapter: [3] Arrays (Single Dimensional and Double Dimensional)
Concept: undefined >> undefined

Define a class to declare an integer array of size n and accept the elements into the array. Search for an element input by the user using the linear search technique, display the element if it is found, otherwise display the message “NO SUCH ELEMENT".

[3] Arrays (Single Dimensional and Double Dimensional)
Chapter: [3] Arrays (Single Dimensional and Double Dimensional)
Concept: undefined >> undefined

Define a class to declare a character array of size ten, accept the character into the array and perform the following:

  • Count the number of uppercase letters in the array and print.
  • Count the number of vowels in the array and print.
[3] Arrays (Single Dimensional and Double Dimensional)
Chapter: [3] Arrays (Single Dimensional and Double Dimensional)
Concept: undefined >> undefined
< prev  201 to 220 of 259  next > 
Advertisements
Advertisements
CISCE (English Medium) ICSE Class 10 Question Bank Solutions
Question Bank Solutions for CISCE (English Medium) ICSE Class 10 Biology
Question Bank Solutions for CISCE (English Medium) ICSE Class 10 Chemistry
Question Bank Solutions for CISCE (English Medium) ICSE Class 10 Commercial Applications
Question Bank Solutions for CISCE (English Medium) ICSE Class 10 Commercial Studies
Question Bank Solutions for CISCE (English Medium) ICSE Class 10 Computer Applications
Question Bank Solutions for CISCE (English Medium) ICSE Class 10 Economic Applications
Question Bank Solutions for CISCE (English Medium) ICSE Class 10 Economics
Question Bank Solutions for CISCE (English Medium) ICSE Class 10 English 1 (English Language)
Question Bank Solutions for CISCE (English Medium) ICSE Class 10 English 2 (Literature in English)
Question Bank Solutions for CISCE (English Medium) ICSE Class 10 Environmental Applications
Question Bank Solutions for CISCE (English Medium) ICSE Class 10 Environmental Science
Question Bank Solutions for CISCE (English Medium) ICSE Class 10 Geography
Question Bank Solutions for CISCE (English Medium) ICSE Class 10 Hindi
Question Bank Solutions for CISCE (English Medium) ICSE Class 10 History and Civics
Question Bank Solutions for CISCE (English Medium) ICSE Class 10 Home Science
Question Bank Solutions for CISCE (English Medium) ICSE Class 10 Mathematics
Question Bank Solutions for CISCE (English Medium) ICSE Class 10 Physical Education
Question Bank Solutions for CISCE (English Medium) ICSE Class 10 Physics
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×