MCQ TEST FOR 1ST TERM EXAMINATION PART II

6
Created on By Baibhav Computer

MCQ TEST FOR 1ST TERM EXAMINATION PART II

1 / 21

Which among the following encoding system can represent 65536 characters?

2 / 21

Which among the following is not a Token?

3 / 21

Which among the following is a keyword but not a literal?

4 / 21

Which among the following is a valid float literal?

5 / 21

Which among the following is a valid method of initialising?

6 / 21

Which among the following is not a punctuator?

7 / 21

Which among the following is not a primitive data type?

8 / 21

If a is of type int and b is of type float what would be the resultant data type of a+b?

9 / 21

Which among the following is a relational operator?

10 / 21

The && operator requires which among the following conditions to be satisfied to represent a

success for two relations?

11 / 21

Which among the following is not a logical operator?

12 / 21

Which among the following operators is used to dynamically allocate memory space for an

object?

13 / 21

Which among the following is the correct construct for creating an object named ‘book’ of the

‘Library’ class?

14 / 21

Which operator is used to access individual members of an object?

15 / 21

The member ‘out’ object of the ‘System’ class belongs to which class?

16 / 21

The statement a%2 will result to what if the value of a is an even number?

17 / 21

Which among the following operators is used to check the two operands are equal or not?

18 / 21

Which among the following operators is used to check the two operands are equal or not?

19 / 21

Which among the following forms of operators works with three operands?

20 / 21

The statement System.out.println("six " + 3 + 3); gives the output ...........

21 / 21

The statement (1==1)? 1: 0 evaluates to ...........

Your score is

The average score is 8%

0%

Previous Post
Newer Post