MCQ for ICSE computer application java
MCQ for ICSE computer application Java: easy ICSE Class 10 Computer Applications notes with Java examples for students.
MCQ for ICSE
MCQ for ICSE computer application java
Which of the following option leads to the portability and security of Java?
A.Bytecode is executed by JVM
B. The applet makes the Java code secure and portable
C. Use of exception handling
D. Dynamic binding between objects
2.Which of the following is not a Java features?
Dynamic
Architecture Neutral
Use of pointers
Object-oriented
3. The \u0021 article referred to as a
Unicode escape sequence
Octal escape
Hexadecimal
Line feed
4.What does the expression float a = 35 / 0 return?
0
Not a Number
Infinity
Run time exception
5. Evaluate the following Java expression, if x=3, y=5, and z=10:
++z + y - y + z + x++
24
23
20
25
6. Which of the following for loop declaration is not valid?
for ( int i = 99; i >= 0; i / 9 )
for ( int i = 7; i <= 77; i += 7 )
for ( int i = 20; i >= 2; - -i )
for ( int i = 2; i <= 20; i = 2* i )
7. Which keyword is used for accessing the features of a package?
package
import
extends
export
8. What is the range of short data type in Java?
a) -128 to 127
b) -32768 to 32767
c) -2147483648 to 2147483647
d) None of the mentioned
9. What is the range of byte data type in Java?
a) -128 to 127
b) -32768 to 32767
c) -2147483648 to 2147483647
d) None of the mentioned
10. Which of these can not be used for a variable name in Java?
a) identifier
b) keyword
c) identifier & keyword
d) none of the mentionedMCQ for ICSE computer application java
ICSE MCQ Computer sample paper Free download
http://www.youtube.com/trushnatej
Related Posts
Continue learning with these related articles
Sum of First n Natural Numbers in Java (Loop and Formula)
Find the sum of the first n natural numbers in Java with a for loop, a while loop and the formula n(n + 1)/2, with a dry run and the sums of even numbers, odd numbers, squares and cubes.
Prime Number Program in Java: Check a Number and Print Primes in a Range
Check whether a number is prime in Java by counting its factors, a faster square-root method with isPrime(), and a program that prints all prime numbers in a range.

Encapsulation, Access Specifiers and Scope of Variables in Java for ICSE Class 10
ICSE Class 10 Computer Applications notes on encapsulation: private, default, protected and public access, data hiding with getter and setter methods, instance vs static (class) variables, local variables and scope, with a solved BankAccount program.