Icse 9 Secondterm 23
Icse 9 Secondterm 23
II TERM EXAMINATION
STD : IX D,E COMPUTER APPLICATIONS MARKS: 100
SECTION ‘A’ (40 MARKS)
(Attempt all questions)
Question 1
(a) An object is an _____ of a class [1]
(b) Exposing only essential features while hiding unnecessary details is _____. [1]
(c) What is polymorphism? [2]
(d) What do you understand by object factory? [2]
(e) What are methods? How are these related to object? [2]
(f) Objects interact with one another through _______. [1]
(g) A _______ is a set of objects that have a common structure and behaviour [1]
Question 2
(a) What is byte code? [2]
(b) What are the two types of java programs? [2]
(c) What is JVM? [2]
(d) What do you know about bluej? [2]
(e) Distinguish between unary ,binary and ternary operators. [2]
Question 3
(a) A= 8+5/2 results in _______ [1]
(b) All special characters are allowed in Java identifiers. True or False [1]
(c) What is meant by token? Name the tokens available in Java [2]
(d) Which of the following are valid identifiers and why/why not? [2]
i) _CHK ii) 20_to_50 iii) Break iv) Test.file
(e) What will be the output of the following? [2]
System.out.prinltn(2+3+”hello”);
System.out.println(“hello”+2+3);
(f) Write advantages of using methods in programs. [2]
Question 4
(a) What is the use of keyword void? [2]
(b) What is the role of a return statement in a method? [2]
(c) What will be result of following expression if i) mark=70 ii) mark=40? [2]
mark > 50 ? ”PASS” : “FAIL”
(d) Convert into Java expression [2]
ax 3 + bx 3
ut + ½ at 2
(e) Find the output of the following if m= 5 initially [2]
m+= m++ - m-- - ++m - --m;