Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
13 views

JAVA Model 24

Java
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views

JAVA Model 24

Java
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 3

Reg.

No----------------------------

Model Examination-October 2024


B.Sc Information Technology
Third semester
Java Programming
Time :3 hrs Max.Marks :75

SECTION- A (10X1=10 marks)


Answer all the questions
1. _________makes Java platform-independent.
(a) JVM (b) Java syntax
(c) Java API (d) byte code

2. _________is a data type in java.


(a) Integer (b) Float
(c) Boolean (d) Double

3. Which of the following is not a return type?


(a) Boolean (b) void
(c) public (d) button

4. Which of the following is not a method of the thread class


(a) run() (b) start()
(c) exit() (d) wait()

5. _______is the default packages.


(a) Lang (b) sql
(c) Applet (d) Net

6. __________is a collections of method signatures.


(a) Interface (b) Package
(c) Exception (d ) None
14. (a) Illustrate Multiple Catch Statements with example.
7. _______block will be executed irrespective of exceptions. (OR)
(a) finally (b) exception (b) Define various attribute of <applet> tag.
(c) throw (d) catch
15. (a) What is Stream Classes? Explain File Input
8. Which type of inheritance is not supported by java? (OR)
(a) Single (b) Multiple (b) Describe about Random access in java programming.
(c) Multilevel (d) Hierarchy
SECTION – C (5x8=40 marks)
9. The java object system.err belongs to the class _______. Answer ALL questions
16. (a) What is a OOP? Explain basic concept of object oriented programming.
(a) Print stream (b) Output stream
(OR)
(c) a and b (d) None
(b) Describe about Java Virtual Machine with neat diagram.

10.What is the immediate super class of Data Input Stream 17. (a) Detail about various operations of java with example
(a) Input Stream (b) Filter Input Stream (OR)
(c) Object (d) None (b) Explain the various Decision making and looping statements in java.

SECTION – B(5 X5 = 25 marks) 18. (a) How multiple inheritance is implemented with example.
Answer ALL questions (OR)
11. (a) List the benefits of object oriented programming. (b) Elucidate life cycle of a multi thread with example.
(OR)
(b)What is token? Describe the various types of tokens supported by java. 19. (a) Elaborate the exception handling features of java with example.
(OR)
12. (a) Explain the ‘switch’ statement with example. (b) Discuss the life cycle of an applet Programming with example.
(OR)
(b) Define the visibility modifiers available in java. 20. (a) Write a Java Program to draw circle, square, ellipse and rectangle at
the mouse click positions.
13. (a) Detail about Wrapper Classes with suitable example. (OR)
(OR) (b) Briefly explain Byte stream classes and Character stream classes
(b) Give a short notes on Thread Priority with example. in java programming.

You might also like