ICSE Class 10th Computer Applications 2019 Solved Question Paper

If you have any doubts, ask them in the comments section at the bottom of this page.

ICSE Class 10 Computer Applications Question Paper – 2019 (Solved)
Computer Applications
Class X

SECTION A (40 Marks)
Answer all questions from this Section

SECTION A (40 MARKS)
Attempt all questions

Question 1:
(a) Name any two basics Principle of Object-Oriented Programming [2]

Ans. Encapsulation and Polymorphism
(b) Write a difference between Unary and Binary Operator [2]

Ans. Operators that acts on one operand are referred to as Unary Operators while Binary Operators acts upon two operand
Unary + or Unary – , increment/decrement are the example of Unary operator While binary operator +,-,*,/ and % are the example of binary operators , (+) adds values of its operands

(c) Name the keywords which: [2]
(i) indicates that a method has no return type
(ii) makes the variable as a class variable

Ans. (i)void
(ii) static (static variables are also known as Class variables.)
(d) Write the memory capacity (storage size) of short and float data type in bytes [2]

Ans. short data type is of 2 bytes and float is of 4 bytes

(e) Identify and name the following tokens: [2]
(i) public
(ii) ‘a’
(iii) ==
(iv) { }

Ans. (i) public- Access Specifier
(ii) ‘a’- character
(iii) == is a Relational operator
(iv) { } is a Curly braces, Java uses them for surrounding the bodies of loops, methods and classes.

Question 2
(a) Differentiate between if else if and switch case statements [2]

Ans. Expression inside if or else if statement decide whether….Read more

ICSE Computer Applications 10 Years Solved Board Papers

ICSE Class 10th Computer Applications 2018 Solved Question Paper

If you have any doubts, ask them in the comments section at the bottom of this page.

ICSE Question Paper – 2018 (Solved)
Computer Applications
Class X

SECTION A (40 Marks)
Answer all questions from this Section

SECTION A (40 MARKS)
Attempt all questions

Question 1:
(a) Define abstraction. [2]

Ans. Abstraction refers to specifying the behaviour of a class without going into the details of the implementation.

(b) Differentiate between searching and sorting. [2]

Ans. In searching, we are provided with an array which contains multiple elements and asked to find the index of a specific element.
In sorting, an array is provided and we are asked to order the elements in either ascending or descending order.

(c) Write a difference between the functions isUpperCase() and toUpperCase(). [2]

Ans. Both isUpperCase() and toUpperCase() are functions of the Character class.
isUpperCase() accepts a character and returns true if the provided character is uppercase. Else, it returns false.
Ex:

will print

(d) How are private members of a class different from public members? [2]

Ans. Private members of a class can be accessed only by the methods of the class in which they are declared. While public members can be accessed outside of the class also.

(e) Classify the following as primitive or non-primitive data types: [2]
(i) char
(ii) arrays
(iii) int
(iv) classes

Ans. (i) char – Primitive
(ii) arrays – Non primitive
(iii) int – Primitive
(iv) Classes – Non proimitive

Question 2
(a) (i) int res = ‘A’;
What is the value of res?
(ii) Name the package that contains wrapper classes. [2]

Ans. (i) res will hold the ASCII value of ‘A’ which is…. read more

ICSE Computer Applications 10 Years Solved Board Papers

ICSE Class 10th Computer Applications 2017 Solved Question Paper

If you have any doubts, ask them in the comments section at the bottom of this page.

ICSE Question Paper – 2017 (Solved)
Computer Applications
Class X

SECTION A (40 Marks)
Answer all questions from this Section

SECTION A (40 MARKS)
Attempt all questions


Question 1:
a) What is Inheritance ? [2]

Ans. Inheritance is the process by which one class extends another class to inherit the variables and functions and add any additional variables and methods.

b) Name the operators listed below [2]

i) < ii) ++ iii) && iv) ?:
Ans.

i) Less than comparison operator
ii) Increment operator
iii) And logical operator
iv) Ternary operator

c) State the number of bytes occupied by char and int data types.[2]
Ans. char occupies two bytes and int occupied 4 bytes.

d) Write one difference between / and % operator. [2]
Ans. / is division operator while % is modulus operator which gives the remainder on dividing two numbers.

e) String x[] = {“SAMSUNG”, “NOKIA”, “SONY” , “MICROMAX”, “BLACKBERRY”};
Give the output of the following statements:[2]
i) System.out.println(x[1]);
ii) System.out.println(x[3].length());
Ans. i) NOKIA
ii) “MICROMAX”.length() =……..read more..

ICSE Computer Applications 10 Years Solved Board Papers

ICSE Class 10 Computer Applications 2016 Solved Question Paper

If you have any doubts, ask them in the comments section at the bottom of this page.

ICSE Question Paper – 2016 (Solved) Computer Applications Class X

SECTION A (40 Marks)

Answer all questions from this Section

Question 1.

(a) Define Encapsulation. [2]
Ans. Encapsulation is the process of bundling state (instance variables) and behaviour (methods) is a single unit (class).

(b) What are keywords? Give an example. [2]
Ans. Keywords are reserved words which convey special meaning to the compiler. They cannot be used as identifiers. Ex: class, void

(c) Name any two library packages. [2]
Ans. java.util, java.io

(d) Name the type of error (syntax, runtime or logical error) in each case given below: [2]
(i) Math.sqrt (36-45)
(ii) int a;b;c;
Ans. (i) Runtime error
Math.sqrt(36-45) = Math.sqrt(-9) which cannot be computed as square root of a negative number is not defined. Therefor, a runtime error will be thrown.
(ii) Syntax error
Multiple variables can be defined in one of the following ways
int a, b, c;
int a; int b; int c;

(e) If int x[] = { 4, 3, 7, 8, 9, 10 }; what are the values of p and q? [2]
(i) p = x.length
(ii) q = x[2] + x[5] * x[1]
Ans.

(i) 6
(ii) q = x[2] + x[5] * x[1]
= 7 + 10 * 3
= 7 * 30
= 37

Question 2.

(a) State the difference between == operator and equals() method. [2]
Ans. == compares if the two objects being compared refer to………read more

ICSE Computer Applications 10 Years Solved Board Papers

ICSE Class 10 Computer Applications 2015 Solved Question Paper

If you have any doubts, ask them in the comments section at the bottom of this page.

ICSE Question Paper – 2015 (Solved) Computer Applications Class X

SECTION A (40 Marks)

Answer all questions from this Section

 

Question 1.

(a) What are the default values of the primitive datatypes int and float? [2]
Ans. The default value of int is 0 and the default value of float is 0.0f.

(b) Name any two OOP’s principles. [2]
Ans. The OOPs principles are

Encapsulation
Abstraction
Polymorphism
Inheritance

(c) What are identifiers? [2]
Ans. Identifiers are names of variables, classes, packages, methods and packages in a java program.

(d) Identify the literals listed below: [2]
(i) 0.5 (ii)’A’ (iii) false (iv) “a”
Ans. (i) Floating point literal
(ii) Character literal
(iii) Boolean literal
(iv) String literal

(e) Name the wrapper class of char type and boolean type. [2]
Ans. The wrapper class of char type is Character and the wrapper type of boolean type is Boolean.

Question 2
(a) Evaluate the value of n if the value of p=5, q=19 [2]

Ans………. read more

ICSE Computer Applications 10 Years Solved Board Papers

ICSE Class 10 Computer Applications 2014 Solved Question Paper

If you have any doubts, ask them in the comments section at the bottom of this page.

ICSE Question Paper – 2014 (Solved)
Computer Applications
Class X

SECTION A (40 Marks)
Answer all questions from this Section

 

Question 1.

(a) Which of the following are valid comments? [2]
(i) /* comment */
(ii) /*comment
(iii) //comment
(iv) */ comment */

Ans. (i) and (iii) are valid comments. (i) is a multi line comment and (iii) is a single line comment.

(b) What is meant by a package? Name any two Java Application Programming Interface packages. [2]
Ans. Related classes are grouped together as a package. A package provides namespace management and access protection.
Some of the Java API packages – java.lang, java,util and java,io

(c) Name the primitive data type in Java that is:
(i) a 64-bit integer and is used when you need a range of values wider than those provided by int.
(ii) a single 16-bit Unicode character whose default value is ‘\u0000′ [2]
Ans. (i) long
(ii) char

(d) State one difference between floating point literals float and double. [2]
Ans. (i) Float requires 4 bytes of storage while double requires 8 bytes.
(ii) Float is of single precision while double is of double precision.

(e) Find the errors in the given program segment and re-write the statements correctly to assign values to an integer array. [2]

Ans. The corrected program segment is

Error 1: The size of an array is specified using square brackets [] and not parentheses ().
Error 2: Since the array is of length 5, the indices range from 0 to 4. The loop variable i is used as an index to the array and in the given program segment, it takes values from 0 to 5. a[4] would result in an ArrayIndexOutOfBoundsException. Therefore, the loop condition should be changed to i<=4. The given program segment creates an array of size 5 and stores numbers from 0 to 4 in the array.

Question 2. (a) Operators with higher precedence are evaluated before operators with relatively lower precedence. Arrange the operators given below in order of higher precedence to lower precedence. [2]

(i) && (ii) % (iii) >= (iv) ++

Ans.……..read more

ICSE Computer Applications 10 Years Solved Board Papers

ICSE Class 10 Computer Applications 2013 Solved Question Paper

If you have any doubts, ask them in the comments section at the bottom of this page.

ICSE Paper – 2013
Class – X
Subject – Computer Applications
(Two Hours)

Attempt ALL questions from Section A and any FOUR questions from Section B.
The intended marks for questions or parts of questions are given in brackets [ ].

SECTION A (40 Marks)

 

Question 1

a) What is meant by precedence of operators? [2]
Ans. Precedence of operators refers to the order in which the operators are applied to the operands in an expression. For example, * has higher precedence than +. So, the expression 8 + 2 * 5 will evaluate to 8 + 10 = 18

b) What is a literal? [2]
Ans. A literal is a constant data item. There are different literals like integer literals, floating point literals and character literals.

c) State the Java concept that is implemented through:
i) a super class and a subclass.
ii) the act of representing essential features without including background details. [2]
Ans. i) Inheritance
ii) Abstraction

d) Give a difference between constructor and method. [2]
Ans. i)A constructor has no return type which a method has a return type.
ii) The name of the constructor should be the same as that of the class while the name of a method can be any valid identifier.
iii) A constructor is automatically called upon object creation while methods are invoked explicitly.

e) What are the types of casting shown by the following examples? [2]
i) double x =15.2;
int y =(int) x;
ii) int x =12;
long y = x;
Ans. i) Explicit casting
ii) Implicit casting

Question 2:

a) Name any two wrapper classes. [2]
Ans. Byte, Short, Integer, Long, Float, Double, Boolean, Character

b) What is the difference between break and continue statements when they occur in a loop. [2]
Ans. The break statement terminates the loop while the………read more

ICSE Computer Applications 10 Years Solved Board Papers

ICSE Class 10 Computer Applications 2012 Solved Question Paper

If you’ve any doubts,ask them in the comments section at the bottom of this page

COMPUTER APPLICATIONS
(Theory)
(Two Hours)
This Paper is divided into two Sections.
Attempt all questions from Section A and any four questions from Section B. The intended marks for questions or parts of questions are given in brackets [ ].

SECTION A (40 Marks)

Attempt all questions.

 

Question 1

(a) Give one example each of a primitive data type and a composite data type. [2]
Ans. Primitive Data Types – byte, short, int, long, float, double, char, boolean
Composite Data Type – Class, Array, Interface

(b) Give one point of difference between unary and binary operators. [2]
Ans. A unary operator requires a single operand whereas a binary operator requires two operands.
Examples of Unary Operators – Increment ( ++ ) and Decrement ( — ) Operators
Examples of Binary Operators – +, -, *, /, %

(c) Differentiate between call by value or pass by value and call by reference or pass by reference. [2]
Ans. In call by value, a copy of the data item is passed to the method which is called whereas in call by reference, a reference to the original data item is passed. No copy is made. Primitive types are passed by value whereas reference types are passed by reference.

(d) Write a Java expression for (under root of 2as+u²) [2]
Ans. Math.sqrt ( 2 * a * s + Math.pow ( u, 2 ) );
( or )
Math.sqrt ( 2 * a * s + u * u );

(e) Name the types of error (syntax, runtime or logical error) in each case given below:
(i) Division by a variable that contains a value of zero.
(ii) Multiplication operator used when the operation should be division.
(iii) Missing semicolon. [2]
Ans.
(i) Runtime Error
(ii) Logical Error
(iii) Syntax Error

Question 2

(a)Create a class with one integer instance variable. Initialize the variable using:
(i) default constructor
(ii) parameterized constructor. [2]
Ans.……..read more

ICSE Computer Applications 10 Years Solved Board Papers

ICSE Class 10th Computer Applications 2011 Solved Question Paper

If you have any doubts, ask them in the comments section at the bottom of this page.

ICSE Class 10 Computer Applications Question Paper – 2011 (Solved)
Computer Applications
Class X

SECTION – A (40 Marks)

Answer all questions from this Section

Question 1.

(a) What is the difference between an object and a class? [2]
Ans. 1. A class is a blueprint or a prototype of a real world object. It contains instance variables and methods whereas an object is an instance of a class.
2. A class exists in the memory of a computer while an object does not.
3. There will be only one copy of a class whereas multiple objects can be instantiated from the same class.

(b) What does the token ‘keyword’ refer to in the context of Java? Give an example for keyword. [2]
Ans. Keywords are reserved words which convey special meanings to the compiler and cannot be used as identifiers. Example of keywords : class, public, void, int

(c) State the difference between entry controlled loop and exit controlled loop. [2]
Ans. In an entry controlled loop, the loop condition is checked before executing the body of the loop. While loop and for loop are the entry controlled loops in Java.
In exit controlled loops, the loop condition is checked after executing the body of the loop. do-while loop is the exit controlled loop in Java.

(d) What are the two ways of invoking functions? [2]
Ans. If the function is static, it can be invoked by using the class name. If the function is non-static, an object of that class should be created and the function should be invoked using that object.

(e) What is difference between / and % operator? [2]
Ans. / is the division operator whereas % is the modulo (remainder) operator. a / b gives the result as quotient obtained on diving a by b whereas a % b gives the remainder obtained on diving a by b.

Question 2.

(a) State the total size in bytes, of the arrays a [4] of char data type and p [4] of float data type. [2]
Ans
………read more

ICSE Computer Applications 10 Years Solved Board Papers

ICSE 10th Computer Applications 2010 Solved Question Paper

If you have any doubts, ask them in the comments section at the bottom of this page.

ICSE Class 10 Computer Applications Question Paper – 2011 (Solved)
Computer Applications
Class X

SECTION – A (40 Marks)

Answer all questions from this Section

Question 1.

(a) Define the term Byte Code. [2]
Ans. The Java compiler compiles the source programs into an intermediate code called the Java Byte Code which is interpreted by the Java Virtual Machine (JVM)

(b) What do you understand by type conversion? [2]
Ans. Type conversion or casting is the conversion of the data type of a literal from one type to another. There are tow types of types of casting – implicit casting and explicit casting.

(c) Name two jump statements and their use. [2]
Ans. break and continue are the two jump statements in Java. break is used to force early termination of a loop. continue is used to move to the next iteration of the loop while skipping the remaining code in the current iteration.

(d) What is Exception ? Name two Exception Handling Blocks. [2]
Ans. An Exception is an error which occurs during the execution of a program. The exception handling blocks are try, catch and finally.

(e) Write two advantages of using functions in a program. [2]
Ans. i) Function make code reusable.
ii) Functions improve modularity and facilitate easy debugging.

Question 2.

(a) State the purpose and return data type of the following String functions: [2]
(i) indexOf ( )
(ii) compareTo ( )
Ans. i) indexOf() returns the index of the…….read more

ICSE Computer Applications 10 Years Solved Board Papers