Sample Question No. 2 for IP - Informatics Practices ( AISSCE 2014 ) _ A
Answer the following
questions: [1+1+1+1+2+2+2]
(a) Mr. X has developed a Java application
for a school, in which, a combo box is made on the form for selecting class.
Name the property by which Mr. X can use to add the classes in combo box.
(b) Name the statements which use for
decision making in Java.
(c) Differentiate between <UL> and
<OL> tags with example.
(d) What is XML-document system?
(e) What will be the output of the
following code?
StringBuffer city = new StringBuffer(“Delhi”);
StringBuffer string = new StringBuffer();
String.append(new String(city));
System.out.println(string);
System.out.println(string);
(f) Write a method in Java that takes a
number as parameter and returns square of number.
(g) What are the use of the following tags-
<HEAD>, <HR>, <BR>,
<I>