Trending ▼   ResFinder  

ICSE Class X Question Bank 2021 : Computer Applications

17 pages, 112 questions, 0 questions with responses, 0 total responses,    0    0
Zahin Makani
Smt. Sulochanadevi Singhania School, Thane
+Fave Message
 Home > zahinmakani >

Formatting page ...

SECTION I POSSIBLE THEORY QUESTION AND ANSWER 1. Java uses both compiler as well as Interpreter. Ans. Java converts source code to intermediate code called as byte code which is platform independent which in turn converts it to machine code with a special interpreter called JVM (Java virtual machine ) 2. Write a Java statement to use package util in your class. Ans. import java.util.*; 3. What does a token keyword refers in JAVA ? Give 2 example? Ans. Java reserved word is called as keyword which carry special meaning to the system compiler. Java.lang,java.util 4. Name 2 types of JAVA programs. Ans. Java Applet & Java Application 5. Name the code that gets created on compilation of source code. Ans. byte code 6. Name the platform independent code which is converted to machine code by the Java interpreter. Ans. byte code 7. Difference between System.out.print( ) & System.out.println( ) Ans. System.out.print( ) - Output on same line System.out.println( ) - Output on next line 8. Name the code which requires two bytes for its storage and includes characters of different languages around the world. Ans. Unicode 9. Write the command to terminate the running JAVA VIRTUAL MACHINE Ans. System.exit(0) 10. What is compound statement in Java? Ans: A compound statement is a statement which encloses a number of statements within a block of opening and closing curly braces. e.g. if(condition) { } I -TECH Page 1

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

 

  Print intermediate debugging step

Show debugging info


 

 

© 2010 - 2024 ResPaper. Terms of ServiceContact Us Advertise with us

 

zahinmakani chat