You are on page 1of 1

St.

Vincent Pallotti College


(Affiliated to Bengaluru North University)
MID SEMESTER EXAMINATION DECEMBER 2022
CLASS: V Sem BCA
SUB: Java Programming

Time: 1hr:30mts Max Marks: 40

SECTION – A

 Answer any 5 questions. Each question carries 2 marks       5 x 2 = 10

1) What is bytecode? Justify how Java is platform independent.


2) Differentiate between break and continue.
3) What do you mean by command line arguments?
4) What are important elements of internet architecture?
5) Give general form of switch statement.
6) What does ‘static’ keyword do in a class?

SECTION – B

   Answer any 3 questions. Each question carries 10 marks       3 x 10 = 30

7) a) Explain JVM and its components. (6)


b) Explain bitwise and logical operators with examples. (4)
8) a) Explain the history and evolution of Java. (6)
b) Explain the line “public static void main(String args[])”. (4)
9) a) Explain features of Java. (7)
b) Difference between JDK and JRE. (3)
10) a) What are separators? Describe various types of separators used in Java? (5)
b) What is type casting? Why is it required? How is it achieved in Java? (5)

You might also like