Formatting page ...
VIBGYOR High Second Term Examination 2017-2018 COMPUTER APPLICATIONS Grade: IX Date: 28.03.2018 Max. Marks : 100 Time Allowed : 2 hours INSTRUCTIONS: Answers to this paper must be written on the paper provided separately. You will not be allowed to write during the first 15 minutes. This time is to be spent in reading the question paper. The time given at the head of this paper is the time allowed for writing the answers. The intended marks for the questions or parts of questions are given alongside the questions. Attempt all questions from Section A and any four questions from Section B Section A (Attempt all questions from this section) Question 1 [10] 1. Explain the state and behavior of an object. 2. What is Bytecode? 3. Explain the following statement of Java: Cricket obj = new Cricket(); 4. What is the value of: a. Math.ceil(38.76); b. Math.rint(15.6); 5. What is a constructor? Mention the types of constructors used in a class? Question 2 1. Define Modularity in Java. 2. What is meant by Inheritance and what are its benefits? 3. Define access specifier in java. Name the types of access specifiers. 4. Rewrite the following statement using ternary operator: int ans; if(res>365) ans=500/55; else ans=300/55; 5. Explain function prototype with an example. 1 [10]
|