COMPUTER APPLICATIONS
Class 9 – Chapter 1, 2 and 3
80 marks
Answer all the questions given below:
Q1) What is meant by data type? Name its types. 3 marks
Q2) What do you mean by final keyword? Give its syntax and write an example for
the same. 3 marks
Q3) Define Java Character Set. Categorize it. 5 marks
Q4) What do you mean by objects? Give two examples 3 marks
Q5) Write down 5 features of Java 5 marks
Q6) Explain the characteristics of an object 3 marks
Q7) Define Procedure Oriented Programming and give its two examples 3 marks
Q8) Define the following 6 marks
a) Programmer
b) Literals
c) Escape sequence
d) Operators
e) Byte Code
f) Non graphic characters
Q9) Differentiate between the following: 5 marks
a) Source Code and Object Code (Definition)
b) Interpreter and Compiler (Function)
c) Applets and Applications (Definition)
d) /****/ and // (Function)
e) Print and println (Function)
Q10) Why a class is called user defined data type? 2 marks
Q11) How is class an object factory? 2 marks
Q12) Explain the compilation process in brief 3 marks
Q13) Define Identifier. Write down all the rules while naming an identifier 7 marks
Q14) Define the types of Integer literals along with one example of each type 4 marks
Q15) What does the following escape sequence do: 5 marks
a) \t
b) \n
c) \0
d) \?
e) \b
Q16) Define implicit and explicit type casting 1 marks
Q17) Programs (Attempt any 4) 20 marks
a) Write a program to assign Principal, Rate of Interest and Time. Calculate and print
the Simple Interest.
b) Write a program to calculate the area and perimeter of a rectangle and print both.
c) Write a program to assign two fractional numbers and print the difference between
the two.
d) Write a program to assign three numbers. Print the product of first two numbers and
divide the product by third number. Print the results of both.
e) Write a program to assign integers a, b and c as 3, 6 ,9. Perform the following
operation and print the result:
S=(a+b+c)/2