Professional Documents
Culture Documents
APPLICATIONS
2020
SOLVED PAPER
by
P.T.O.
COMPUTER APPLICATIONS 2020
SECTION A (40 Marks)
Attempt all questions.
Question 1.
(A) Define Java byte code. [2]
(B) Write a difference between class and an object. [2]
(C) Name the following:
(i) The keyword which converts variable into constant.
(ii) The method which terminates the entire program from any stage. [2]
(D) Which of the following are primitive data types?
(i) double
(ii) String
(iii) char
(iv) Integer [2]
(E) What is an operator? Name any two types of operators used in Java. [2]
Answer 1.
(A) Java byte code is a low level machine instruction for java processor chip called
JVM.
(B)
Class Object
It is a set of objects that It is an instance of a class.
has common characteristic
and behaviour.
(C) (i) final
(ii) System.exit(0)
(D) (i) double and (iii) char are primitive datatypes.
(E) Operators are the symbol which specifies the type of operations to be performed
on the operands.
E..g. Arithmetic Operator (+,-,*,/,%) or Relational operator( >,<,>=,<=, ==, !=) or
Logical Operator etc.
Question 2.
(A) What is autoboxing in Java? Give an example. [2]
(B) State the difference between length and length() in Java. [2]
(C) What is constructor overloading?[2]