
COMPUTER APPLICATION QUIZ 3
Quiz by swati suryawanshi
Tag the questions with any skills you have. Your dashboard will track each student's mastery of each skill.
1.Choose the correct statement
2.___________ is something occurring in a system or an organisation.
3.What is the full form of JVM?
4.While declaring the main method, which keyword comes first,
5. A code to read a double data type data from the keyboard using scanner class.
Scannerin=new Scanner(System.in);
doublei=_________________;
6. Predict the return data type of the following function
Math.pow()
7.if a =5,b =2,c= 6 find a+ = ++a%b++ + c++ * - - a;
8. if the value of basic = 1500, what will be the value of tax after the following statement is executed? tax = basic > 1200 ? 200 : 100;
9. Analyze the following program segment and determine how many times the body of the loop will be executed x=5; y=50; while(x<=y) { y=y/x; System.out.println(y); }
10.Choose the Odd one a. + b.++ c. * d. %
11. A value of a ___________ type – like int- will always require the same amount of memory to store one value.
12.Which of the following types of functions does not return a value?
13.An object is said to be a _________________ data
14.What will be the output of the following code snippet.System.out.println(Math.floor(-4.7));
15. Which returns the cube root of its argument as a double value
16. valueOf() function converts:
17. ____________statement will repeat a loop for the next iteration after ignoring some statements of the loop.
18. A class is called an ______________ because its creates objects and uses them.
19. Conversion from primitive type to wrapper object is called as___________
20.The ______ keyword refers to the current object.
21.The maximum number of objects of a class can be created as:
22.____________ members are accessible in its own class as well as in a sub class
23.In procedural programming, the stress is laid on:
24.Which of the following package is needed to find the square root of a number?
25.Constructor can take values, values are called:
26.Numbers with a decimal point can only be
27.You cannot call this()from methods, only from:
28.If a function does not return any value its return type is ________.
29.ASCII codes of upper case letters range from ____ to _____
30.The process of combining data and functions that enables them to be together as a single entity is called
31.Which of the following is a definition of an event?
32.What is meant by access specifier ‘default’ in a method definition?
33.A constructor that takes no arguments and has a body that does nothing is called
34.What will be the output of the following code? int c = (3<4)? 3*4:3+4;
35.Java is a case sensitive language. Which is the most appropriate statement with respect to this context?
36.Division by a variable that contains a value zero is called __________ error.
37. ___________ is basically a list of features/operations that can be performed through that objects references
38.What is the range of byte data type in Java?
39.Find the access specifier which prohibits a class member from being used outside a class:
40.___________ classes are the classes that are actually included within the body of another classes