Islington College
CS 4001
Multiple Choice Questions
Module Code: CS4001NI Islington College, Kathmandu Time: 30 min
Name: ................................................ Group : ......................
1. Java is an .............. ?
a) Object Oriented Language b) Procedure Oriented Language
c) a and b d) None
2. which is
...[Show More]
Multiple Choice Questions
Module Code: CS4001NI Islington College, Kathmandu Time: 30 min
Name: ................................................ Group : ......................
1. Java is an .............. ?
a) Object Oriented Language b) Procedure Oriented Language
c) a and b d) None
2. which is the language processor?
a) Java virtual machine b) JRE
c) Compilers d) None of the above
3. Features of java?
a) Multithreaded b) Procedural
c) Both a and b d) None
4. What is the output of relational operators?
a) Integer b) Boolean
c) Characters d) Double
5. How many primitive datatypes are there in java?
a) 10 b) 7
c) 8 d) 9
6. Size of float and double in Java is (bits)
a) 32 and 64 b) 64 and 64
c) 32 and 32 d) 16 and 32
7. Which of these is returned by “greater than”, “less than” and “equal to” operators?
a) Integers b) Floating – point numbers
c) Boolean d) None of the mentioned
8. Which of the following operators can operate on a boolean variable?
1. &&
2. ==
3. ?:
4. +=
a) 3 & 2 b) 1 & 4
c) 1, 2 & 4 d) 1, 2 & 3
9. Which of the statement is correct?
[Show Less]