View Count: 0
Duration: 64 mins
Accessed date:
Not Yet Viewed
View Count: 0
Duration: 41 mins
Accessed date:
Not Yet Viewed
View Count: 0
Duration: 58 mins
Accessed date:
Not Yet Viewed
View Count: 0
Duration: 39 mins
Accessed date:
Not Yet Viewed
View Count: 0
Duration: 32 mins
Accessed date:
Not Yet Viewed
View Count: 0
Duration: 17 mins
Accessed date:
Not Yet Viewed
View Count: 0
Duration: 33 mins
Accessed date:
Not Yet Viewed
View Count: 0
Duration: 65 mins
Accessed date:
Not Yet Viewed
View Count: 0
Duration: 50 mins
Accessed date:
Not Yet Viewed
View Count: 0
Duration: 37 mins
Accessed date:
Not Yet Viewed
Post your comment / feedback here
 
 

good

Posted By Ravi Kushwah on 12-Mar-2017
Sorry!For this module there is no Sample Code.
Sorry!For this module there is no Assignments.
Question No: 1 of 20
What is the range of “short” data type? 
Options:
  1. -128 to 127
  2. -32768 to 32767
  3. -2147483648 to 2147483647
  4. None of the mentioned
View Answer/Explanation:
b
Explanation:
Explanation: The range of short is 16 bits only.

Question No: 2 of 20
What is the range of “byte” data type ? 
Options:
  1. -128 to 127
  2. -32768 to 32767
  3. -2147483648 to 2147483647
  4. None of the mentioned
View Answer/Explanation:
a
Explanation:
Explanation: The byte range is 8 bits only.

Question No: 3 of 20
Which of the following instructions are legal of Java code?
1. int w = (int)888.8;

2. byte x = (byte)100L;

3. long y = (byte)100;

4. byte z = (byte)100L; 
Options:
  1. 1 and 2
  2. 2 and 3
  3. 3 and 4
  4. All statements are correct.
View Answer/Explanation:
d
Explanation:

Question No: 4 of 20
An expression involving byte, int , and literal numbers is promoted to which of these? 
Options:
  1. int
  2. long
  3. byte
  4. float
View Answer/Explanation:
a
Explanation:

Question No: 5 of 20
Which of these literals can be contained in a data type float variable? 
Options:
  1. 1.7e-308
  2. 3.4e-038
  3. 1.7e+308
  4. 3.4e-050
View Answer/Explanation:
b
Explanation:

Question No: 6 of 20
Which data type value is returned by all transcendental math functions? 
Options:
  1. int
  2. float
  3. double
  4. long
View Answer/Explanation:
c
Explanation:

Question No: 7 of 20
Which of the following operators can operate on a boolean variable?
1. &&
2. ==
3. ?:
4. += 
Options:
  1. 3 & 2
  2. 1 & 4
  3. 1, 2 & 4
  4. 1, 2 & 3
View Answer/Explanation:
c
Explanation:
Operator Short circuit AND, &&, equal to, == , ternary if-then-else, ?:, are boolean logical operators. += is an arithmetic operator it can operate only on numeric values.

Question No: 8 of 20
Which of these is returned by operators &, ? 
Options:
  1. Integer
  2. Boolean
  3. Character
  4. Float
View Answer/Explanation:
c
Explanation:

Question No: 9 of 20
Which of these have highest precedence? 
Options:
  1. ()
  2. ++
  3. *
  4. >>
View Answer/Explanation:
a
Explanation:

Question No: 10 of 20
Which of these selection statements test only for equality? 
Options:
  1. if
  2. switch
  3. if & switch
  4. None of the mentioned
View Answer/Explanation:
b
Explanation:
switch statements checks for equality between the controlling variables.

  1