2022 2023 EduVark > Education Discussion > General Discussion


  #1  
June 20th, 2014, 04:58 PM
Super Moderator
 
Join Date: Mar 2012
ICSE Board Class 10 Computer Science Question Papers

I am searching for question paper for class 10th computer science examination of ICSE board in PDF file format ?

Here I am giving you question paper for class 10th computer science examination of ICSE board

Section A (40 marks)
Attempt all questions
Q1. (a) Name the four integer data types of Java. [2]
(b) What is a “ternary operator” of Java? [2]
(c) What is meant by “nesting of loops”? Give suitable example. [2]
(d) Differentiate between int and float data type. Give one example for each. [2]
(e) What is Polymorphism? Give one example. [2]
Q2. (a) What is meant by “exit controlled loop”? Give one example. [2]
(b) Differentiate between constructor and finalizer with suitable examples for each. [2]
(c) What do you understand by the term “Escape Sequence”? Give two example with proper
explanation. [2]
(d) Differentiate between data abstraction and data encapsulation [4]
Q 3. (a) Give the output of the following code snippets: [2 + 2 = 4]
(i) int f = 1, i = 2;
do {
f * = i;
i++;
}while ( i < 5 );
System.out.println ( f );
(ii) int a = 0, p;
for( int i = 0; i < 5; ++i ) {
a = a + p * i;
System.out.println( a );
}(
b) Find error(s), if any in the following code snippets: [2 + 2 = 4]
(i) int i [][] = {{1, 2}, {3, 4}};
i [1, 1] = 5;
(ii) int b[] = new int [10];
for ( int i = 0; I <= b.length; ++i )
b[i] = 1;
(c) Create a multidimensional array in which each there are three rows & each row has different
numbers of columns: 1st row has three columns, 2nd row has 2 columns and the last row has 4
columns. [2]
Q4. (a) Write the equivalent do-while loop for the following for loop: [2]
for ( ; ; )
{s; } //s represents any statement
(b) Assume that i = 1, j = 2, k = 3, and m = 2. What does ach of the following statements print?
[2]
(i) System.out.println ( k + m < j | 3 – j >= k );
(ii) System.out.println ( ! ( k > m ));
(c) What would happen when the following is compiled and executed? [3 + 3 = 6]
(i) class Example {
int x, y;
String name;
public static void main ( string[] args) {
Example ex = new Example ();
System.out.println ( “ex is ’’ + ex.name + “ ” + ex.x + “ ’’ + ex.y);
}}(
ii) public class XYZ{
public static void main(String[ ]args) {
for ( int i = 0; i < 2; ++i ) {
for ( int j = 2; j >= 0; j– ) {
if ( i = = j )
break;
System.out.println ( “i = ” + i + “j = ” + j );
}}}}
Section B (15 x 4 = 60 marks)
Attempt any 4 questions from this section
The answer in this Section should consist of the programs in either BlueJ environment any other
program environment or with Java as the base. Each program should be written using Variable
Descriptions/Mnemonic Codes such that the logic of the program is clearly depicted. Flow charts
and algorithms are not required.
Q 5. Write an application that inputs a line of text and output the text twice – once in all upper
case and once in all lower case letters.
Q 6. Create a class Rectangle that has attributes length & width each of which defaults to 1. It has
methods that calculate the perimeter and the area of the rectangle. It has set and get methods for
both length and width. The set and get methods should verify that length and width are each
floating-point numbers larger than 0.0 and smaller than 20.0.
Q 7. Create and populate one-dimensional integer array where duplicacy of elements is allowed.
Using any searching algorithm you like, locate the search key (i.e. the element to be searched) a
well as its number of occurrence in the array taking the search key as an input from the user.
Q 8. Write an application that has a method integerPower (base, exponent) that returns the value
of
base exponent
For example, integerPower (3, 4) calculates 34 (or 3 * 3 * 3 * 3). Assume that exponent is a
positive, nonzero integer and that base is an integer. The method should use a for or while loop to
control the calculation. Do not use any math-library methods.
Q 9. Write an application that estimates the value of the mathematical constant e by using the
formula:
e = 1 + 1/1! + 1/2! + 1/3! + …..
Q 10. Write a program that calculates the average marks of an arbitary number of students each
time the program is run. Your program should ask the marks from user for arbitary number times.
When the user finishes entering all the marks he/she will enter -1 to indicate the end of date entry.
The program should then process all the data entered and display the average.

Last edited by Neelurk; March 28th, 2020 at 12:39 PM.
Similar Threads
Thread
Maharashtra State Board 12th class science Solve question papers
10th Class of ICSE Board question papers
Tamil Nadu Board class 12 last year question papers of Computer Science
Last year question papers of class X of Madhya Pradesh Board of Secondary Education of Science
ICSE board exam class X last year paper of Computer Applications
Central Board of Secondary Education class 12th board exams last year question papers of Science
Central Board of Secondary Education class 12 Science past year question papers
Madhya Pradesh Board Class 10 Science Exam Question Papers
Question paper for Class 10 Mathematics of ICSE Board
ICSE Board Class 10 Chemistry Question Papers
ICSE Board Class 10 physics Question Papers
ICSE Board Class 10 Biology Question Papers
ICSE Board Class 10 History Question Papers
ICSE Board Class 10 English Question Papers
CBSE Class 12 Computer Science Exam Question Papers



Quick Reply
Your Username: Click here to log in

Message:
Options



All times are GMT +5.5. The time now is 02:15 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2022, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO 3.6.0

1 2 3 4 5 6 7 8