Page 1 :
1. In object oriented programming, the stress is given on:, , procedure, methods, class, , data, , aogoe, , 2. Which of the following principle does not allow to access directly from, outside the class premises:, a. data hiding, b. encapsulation, c. abstraction, d. all of the above, , 3. The process of combining data and functions that enables them to be, together as a single entity is called, a. inheritance, b. encapsulation, c. classification, d. attributes, , 4. The process by which a class acquires the properties from another class is, called:, a. polymorphism, b. inheritance, c. abstraction, d. object
Page 2 :
5. In procedural programming, the stress is laid on:, a. class, , function, , data, , object, , aos, , Be Aimer: is a set of objects that has common attributes and cammon, behavior., a. abstraction, encapsulation, class, function, , aos, , 7. Which of the following is not an object oriented programming language?, a. C++, b. Simula, c. BASIC, d. Java, , 8. The process of restricting the free flow of data from the outside world is, known as:, a. encapsulation, b. inheritance, c. function, d. class
Page 3 :
9. A Java program developed and executed by the users without using web, browser is known as:, , a, , 10., a., b, e, d, 11., a., b, c., d, 12., , . application, b. applet, c, , d. none, , object, , The precedence of operators in Java follows, BODMAS, , . BEDMMAS, , Both, , . None, , Who developed Java?, James Gosling, , . Robert James, , Bjarne Stroustrup, , . None, , Java is a case sensitive language. Which is the most appropriate, , statement with respect to this context?, , a., , b, c., d, , Upper and lower case letters are distinguished., Upper and lower case letters are ignored., , Only lower case letters are distinguished., None.
Page 4 :
13. Which of the following is not a Java reserved word?, private, , public, , break, , total, , aqga, , 14. The most suitable statement for Blue) is:, a. It is a window based platform., b. It is a DOS based platform., c. It is a window based and DOS based platform., d. None., , 15.When the statements are repeated sequentially a number of times in a, program, the construct is known as, a. Loop Statement, b. Conditional Statement, c. Compound Statement, d. Simple Statement, , 16.What does the expression float a = 35 / 0 return?, a. 0, b. Not a Number, c. Infinity, d. Run time exception
Page 5 :
17.Which of the following for loop declaration is not valid?, , a., b., d., , for ( inti=99;i>=0;1/9), for ( inti=7;i<=77;i+=7), for ( int i = 20; i >= 2; --i), for ( int i= 2;i<=20;i=2*i), , 18.To find the sum of any ten numbers, the loop will run ten times., , a., . 15, , 19., , b, c., d. 10, , aoocp, , 20, , 12, , class is used for different mathematical functions., java.lang, , . java.io, , java.math, , . java.awt, , 20.An object is said to be a, , a., b., c., d., , non-primitive types, primitive types, Both, , None