मराठी

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

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

Which of the following is not true with regards to a switch statement?

[7] Conditional Statements in Java
Chapter: [7] Conditional Statements in Java
Concept: undefined >> undefined

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

[5] User - Defined Methods
Chapter: [5] User - Defined Methods
Concept: undefined >> undefined

Advertisements

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.

[5] User - Defined Methods
Chapter: [5] User - Defined Methods
Concept: undefined >> undefined

Rewrite the following code using single if statement.

if(code=='g')
System.out.println("GREEN");
else if(code=='G')
System.out.println("GREEN");
[7] Conditional Statements in Java
Chapter: [7] Conditional Statements in Java
Concept: undefined >> undefined

A student executes the following program segment and gets an error. Identify the statement which has an error, correct the same to get the output as WIN.

boolean x=true;
switch(x)
{     case 1:System.out.println("WIN");break;
      case 2;System.out.println("LOOSE");
}
[7] Conditional Statements in Java
Chapter: [7] Conditional Statements in Java
Concept: undefined >> undefined

Write the java expression for `root3x + sqrty`

[6] Mathematical Library Methods
Chapter: [6] Mathematical Library Methods
Concept: undefined >> undefined

Define a class to accept a number and check whether it is a SUPERSPY number or not. A number is called SUPERSPY if the sum of the digits equals the number of the digits.

Example1:

Input: 1021

Output: SUPERSPY number [SUM OF THE DIGITS = 1+0+2+1 = 4, NUMBER OF DIGITS = 4]

Example2:

Input: 125

Output: Not an SUPERSPY number [1+2+5 is not equal to 3]

[8] Iterative Constructs in Java
Chapter: [8] Iterative Constructs in Java
Concept: undefined >> undefined

Write a program to input integer elements into an array of size 20 and perform the following operations:

(i) Display largest number from the array.
(ii) Display smallest number’ from the array.
(iii) Display sum of all the elements of the array.

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

Write the return data type of the following function:

endsWith( )

[4] String Handling
Chapter: [4] String Handling
Concept: undefined >> undefined

Write two characteristics of a constructor.

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

Write a program to initialize the seven Wonders of the World along with their locations in two different arrays. Search for the name of the country input by the user. If found, display the name of the country along with its Wonder, otherwise display “Sorry Not Found!”. 
Seven wonders — CHICHEN ITZA, CHRIST THE REDEEMER, TAJMAHAL, GREAT WALL OF CHINA, MACHU PICCHU, PETRA, COLOSSEUM
Locations — MEXICO, BRAZIL, INDIA, CHINA, PERU, JORDAN, ITALY
Example

Country Name: INDIA     Output: INDIA-TAJMAHAL
Country Name: USA        Output: Sorry Not Found!

[4] String Handling
Chapter: [4] String Handling
Concept: undefined >> undefined

Give the output of the following string methods.

"MISSISSIPPI".indexOf('S') + "MISSISSIPPI".lastIndexOf('I')

[4] String Handling
Chapter: [4] String Handling
Concept: undefined >> undefined

Define a class to accept two strings, convert them into uppercase, check and display whether two strings are equal or not, if the two strings are not equal, print the string with the highest length or print the message both the strings are of equal length.

[4] String Handling
Chapter: [4] String Handling
Concept: undefined >> undefined

Define a class to accept a string, convert it into lowercase and check whether the string is a palindrome or not.

A palindrome is a word that reads the same backward as forward.

Example:

madam, racecar etc.

[4] String Handling
Chapter: [4] String Handling
Concept: undefined >> undefined

The keyword used to call package in the program:

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

State the type of loop in the given program segment

for (int i = 5; i l = 0; i =2)

System.out.println(i);

[8] Iterative Constructs in Java
Chapter: [8] Iterative Constructs in Java
Concept: undefined >> undefined

The String class method to join two strings is ______.

[4] String Handling
Chapter: [4] String Handling
Concept: undefined >> undefined

The output of the function "COMPOSITION". substring(3, 6):

[4] String Handling
Chapter: [4] String Handling
Concept: undefined >> undefined

Give the output of the following String class method:

"COMMENCEMENT".lastIndexOf('M')
[4] String Handling
Chapter: [4] String Handling
Concept: undefined >> undefined

Give the output of the following String class method:

"devote". compareTo("DEVOTE")
[4] String Handling
Chapter: [4] String Handling
Concept: undefined >> undefined
< prev  101 to 120 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×