Formatting page ...
COMPUTER APPLICATIONS (Theory) (Two Hours) Answer 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 this question paper. The time given at the head oft this Paper is the time allowed for writing the answers. This paper is divided into two sections. You are to answer all questions from Section A, and any four questions from Section B. The intended marks for questions or parts of questions are given in brackets[ ]. Section - A (40 Marks) Answer all the questions Question 1 (a) Differentiate between Primitive and Composite data type [2] (b) What are literals? Give any two types of literals. [2] (c)How Java is platform independent? Explain. [2] (d) What is unary operator? Give an example. [2] (e) Which search technique is most suitable for searching an element of the following array? Give the reason. Arr [ ] = {16, 32, 64, 128, 256, 512, 1024}; [2] Question 2: (a) Differentiate between break and continue statements in a loop. [2] (b) Write the output data type of the following functions (i) Math.rint(x); (ii) Character.isUpperCase(ch); [2]
|