मराठी

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

Advertisements
विषय
अध्याय
विषय
मुख्य विषय
अध्याय
Advertisements
Advertisements
Computer Applications
< prev  1 to 20 of 259  next > 

Name any two basic principles of Object-oriented Programming.

[1] Introduction to Object Oriented Programming Concepts
Chapter: [1] Introduction to Object Oriented Programming Concepts
Concept: undefined >> undefined

Write a difference between unary and binary operator.

[4] Operators in Java
Chapter: [4] Operators in Java
Concept: undefined >> undefined

Advertisements

Name the keyword which: indicates that a method has no return type.

[6] Class as the Basis of All Computation (Objects and Classes)
Chapter: [6] Class as the Basis of All Computation (Objects and Classes)
Concept: undefined >> undefined

Name the keyword which: makes the variable as a class variable.

[6] Class as the Basis of All Computation (Objects and Classes)
Chapter: [6] Class as the Basis of All Computation (Objects and Classes)
Concept: undefined >> undefined

Identify and name the following tokens:

(i) public
(ii) ‘a’
(iii) ==
(iv) {}

[8] Encapsulation and Inheritance
Chapter: [8] Encapsulation and Inheritance
Concept: undefined >> undefined

What are the various types of errors in Java?

[4] Operators in Java
Chapter: [4] Operators in Java
Concept: undefined >> undefined

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

[5.2] Input in Java
Chapter: [5.2] Input in Java
Concept: undefined >> undefined

Write the return data type of the following function: startsWith( )

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

Write the return data type of the following function: random( )

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

If the value of basic=1500, what will be the value of tax after the following statement is executed?

tax = basic > 1200 ? 200 : 100

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

Give the output of following code and mention how many times the loop will execute?

int i;
for(i=5; i> =l;i~)
{
if(i%2 ==1)
continue;
System.out.print(i+ ”
}

[9] Nested Loop
Chapter: [9] Nested Loop
Concept: undefined >> undefined

Evaluate the following expression if the value of x = 2,y = 3 and z = 1.
v = x + – z + y + + + y.

[6] Class as the Basis of All Computation (Objects and Classes)
Chapter: [6] Class as the Basis of All Computation (Objects and Classes)
Concept: undefined >> undefined

What is meant by a package? 

[4] Operators in Java
Chapter: [4] Operators in Java
Concept: undefined >> undefined

Design a class name ShowRoom with the following description :
Instance variables/ Data members :

String name – To store the name of the customer
long mobno – To store the mobile number of the customer
double cost – To store the cost of the items purchased
double dis – To store the discount amount
double amount – To store the amount to be paid after discount
Member methods: –
ShowRoom() – default constructor to initialize data members
void input() – To input customer name, mobile number, cost
void calculate() – To calculate discount on the cost of purchased items, based on following criteria

Cost Discount (in percentage)
Less than or equal to ₹ 10000 5%
More than ₹ 10000 and less than or equal to ₹ 20000 10%
More than ₹ 20000 and less than or equal to ₹ 35000 15%
More than ₹ 35000 20%

void display() – To display customer name, mobile number, amount to be paid after discount
Write a main method to create an object of the class and call the above member methods.

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

Using the switch-case statement, write a menu driven program to do the following :

(a) To generate and print Letters from A to Z and their Unicode Letters Unicode

(b) Display the following pattern using iteration (looping) statement: 1

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

Name the operators listed below are
(i) <
(ii) + +
(iii) &&
(iv) ? :

[4] Operators in Java
Chapter: [4] Operators in Java
Concept: undefined >> undefined

Write one difference between / and % operator.

[4] Operators in Java
Chapter: [4] Operators in Java
Concept: undefined >> undefined

Give the output of the following program segment and also mention the number of times the loop is executed:

int a,b;
for (a=6, b=4; a< =24; a=a + 6)
{
if (a%b= =0)
break;
}
System, out .println(a);

[9] Nested Loop
Chapter: [9] Nested Loop
Concept: undefined >> undefined

Write the output:
charch= ‘F’;
int m= ch;
m=m+5;
System.out.println(m+ ” ” +ch);

[9] Nested Loop
Chapter: [9] Nested Loop
Concept: undefined >> undefined

Write a Java expression for the following :
ax5 + bx3 + c 

[4] Operators in Java
Chapter: [4] Operators in Java
Concept: undefined >> undefined
< prev  1 to 20 of 259  next > 
Advertisements
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×