Latest Banking jobs   »   Professional Knowledge Quiz for IBPS SO...

Professional Knowledge Quiz for IBPS SO IT Officer 2017

Professional Knowledge Quiz for IBPS SO IT Officer 2017 |_2.1

Q1.  What is the range of data type short in Java?
(a) -128 to 127
(b) -32768 to 32767
(c) -2147483648 to 2147483647
(d) -32768 to 2147483647
(e) None of the mentioned

Q2.  What is the range of data type byte in Java?
(a) -128 to 127
(b) -32768 to 32767
(c) -2147483648 to 2147483647
(e) -32768 to 2147483647
(d) None of the mentioned

Q3.  Which one of these literals can be contained in a data type float variable?
(a) 1.7e-308
(b) 3.4e-038
(c) 1.7e+308
(d) 3.4e-050
(e) All of the above

Q4.  An expression involving byte, int, and literal numbers is promoted to Which one of these?
(a) int
(b) long
(c) byte
(d) float
(e)double

Q5.  Which one of these operators is used to allocate memory to array variable in Java?
(a) malloc
(b) alloc
(c) new
(d) new malloc
(e) create

Q6.  Which one of these is an incorrect Statement?
(a) It is necessary to use new operator to initialize an array.
(b) Array can be initialized using comma separated expressions surrounded by curly braces.
(c) Array can be initialized when they are declared.
(d)  Array stores a fixed-size sequential collection of elements of the same type
(e) All of the above

Q7. What is the numerical range of a char in Java?
(a) -128 to 127
(b) 0 to 256
(c) 0 to 32767
(d) 0 to 65535
(e) None of the above

Q8.  Which one of these coding types is used for data type characters in Java?
(a) ASCII
(b) ISO-LATIN-1
(c) UNICODE
(d)EBCDIC
(e) None of the above

Q9. Which one of these values can a Boolean variable contain?
(a) True & False
(b) 0 & 1
(c) Any integer value
(d) true
(e)All of the above

Q10. Which one of these occupy first 0 to 127 in Unicode character set used for characters in Java?
(a) ASCII
(b) ISO-LATIN-1
(c) None of the mentioned
(d) ASCII and ISO-LATIN1
(e)EBCDIC

Q11. Which of the following can be operands of arithmetic operators?
(a) Numeric
(b) Boolean
(c) Characters
(d) Both Numeric & Characters
(e) All of the above

Q12. Which one of these statements are incorrect?
(a) Assignment operators are more efficiently implemented by Java run-time system than their equivalent long forms.
(b) Assignment operators run faster than their equivalent long forms.
(c) Assignment operators can be used only with numeric and character data type.
(d) +=  adds right operand to the left operand and assign the result to left operand.
(e) None of the above

Q13. Which one of these is not a bitwise operator?
(a) &
(b) &=
(c) |=
(d) <=
(e) All are bitwise operators.

Q14.  Which one of these have highest precedence?
(a) ()
(b) ++
(c) —
(d) *
(e)>>

Q15.  Which one of these selection statements test only for equality?
(a) if
(b) switch
(c) if & switch
(d)for
(e) None of the mentioned









Leave a comment

Your email address will not be published. Required fields are marked *