Exam Details
Subject | java programming | |
Paper | ||
Exam / Course | m.sc. computer science | |
Department | ||
Organization | solapur university | |
Position | ||
Exam Date | April, 2017 | |
City, State | maharashtra, solapur |
Question Paper
M. Sc. (Semester- II) (CBCS) Examination, 2017
COMPUTER SCIENCE
JAVA PROGRAMMING
Day Date: Wednesday, 19-04-2017 Marks: 70
Time: 10.30 AM to 01.00 PM
N.B. Question No. 1 and 2 are compulsory.
Attempt any 3 questions from Q. no. 3 to Q. no. 7
Figures to the right indicate full marks.
Q.1 Choose correct alternatives. 10
An group of like typed variables that are referred to
by common name.
Array Static Final None of the above
Which class cannot be a subclass in java?
Abstract Final Parent None of the above
Which of the operator is used reference of current object in
Java?
New this static None of the above
Which of default imported Package in Java?
java.awt java.lang java.util java.window
Which of these is correct way of inheriting class A by class
class B class A class B inherits class A
class B extends A class B extends class A
Which statements is always the first non-comment statement
in Java Program?
Import Include Hidden None of above
represents a has a kind of Relationship?
Serialization Threads
Containment None of the above
What is return type of method that Does not Returns Any
value?
Integer float void None of above
Page 1 of 2
SLR- RG-333
How to import a entire package pkg?
Import pkg import pkg all
import *pkg import pkg.*
10) Which is the program is used to compile java code?
.jar .java java.doc .javac
State True or False. 04
Interfaces can be extended by class.
Import statement is always the first non-comment statement
in Java Program.
Input stream This depicts the flow data source to the
programs memory.
JVM is platform independent.
Q.2 Write short notes on the following. 08
Features of Java
looping statement
Answer the following. 06
Why java so popular for web development?
Describe three types of errors with suitable example.
Q.3 Answer the following. 14
Write a program to create package named Student contains
ClassInfo and TeacherInfo Classes.
What is applet? Discuss the life cycle of applet.
Q.4 Answer the following. 14
Write a program to read a text file and copy content into another
file.
Define Multithreading. Explain the steps so write multithreading
program.
Q.5 Answer the following. 14
Write AWT program to calculate the salary of employee.
(Consider suitable field)
Differentiate the Method Overloading and Method overriding.
Q.6 Answer the following. 14
State features of the layout manager BorderLayout and explain
how to implement it.
What are the steps to connect to the database in java?
Q.7 Answer the following. 14
Write a program for Array index out of bounds type of exception.
Explain the use of prepared statement and callable statement.
COMPUTER SCIENCE
JAVA PROGRAMMING
Day Date: Wednesday, 19-04-2017 Marks: 70
Time: 10.30 AM to 01.00 PM
N.B. Question No. 1 and 2 are compulsory.
Attempt any 3 questions from Q. no. 3 to Q. no. 7
Figures to the right indicate full marks.
Q.1 Choose correct alternatives. 10
An group of like typed variables that are referred to
by common name.
Array Static Final None of the above
Which class cannot be a subclass in java?
Abstract Final Parent None of the above
Which of the operator is used reference of current object in
Java?
New this static None of the above
Which of default imported Package in Java?
java.awt java.lang java.util java.window
Which of these is correct way of inheriting class A by class
class B class A class B inherits class A
class B extends A class B extends class A
Which statements is always the first non-comment statement
in Java Program?
Import Include Hidden None of above
represents a has a kind of Relationship?
Serialization Threads
Containment None of the above
What is return type of method that Does not Returns Any
value?
Integer float void None of above
Page 1 of 2
SLR- RG-333
How to import a entire package pkg?
Import pkg import pkg all
import *pkg import pkg.*
10) Which is the program is used to compile java code?
.jar .java java.doc .javac
State True or False. 04
Interfaces can be extended by class.
Import statement is always the first non-comment statement
in Java Program.
Input stream This depicts the flow data source to the
programs memory.
JVM is platform independent.
Q.2 Write short notes on the following. 08
Features of Java
looping statement
Answer the following. 06
Why java so popular for web development?
Describe three types of errors with suitable example.
Q.3 Answer the following. 14
Write a program to create package named Student contains
ClassInfo and TeacherInfo Classes.
What is applet? Discuss the life cycle of applet.
Q.4 Answer the following. 14
Write a program to read a text file and copy content into another
file.
Define Multithreading. Explain the steps so write multithreading
program.
Q.5 Answer the following. 14
Write AWT program to calculate the salary of employee.
(Consider suitable field)
Differentiate the Method Overloading and Method overriding.
Q.6 Answer the following. 14
State features of the layout manager BorderLayout and explain
how to implement it.
What are the steps to connect to the database in java?
Q.7 Answer the following. 14
Write a program for Array index out of bounds type of exception.
Explain the use of prepared statement and callable statement.
Other Question Papers
Subjects
- .net technology
- artifical intelligence
- computer communication network
- data mining and warehouse
- data structures
- dbms
- digital image processing
- distributed operating system
- finite automata
- internet of things
- java programming
- linux operating system (oet)
- mobile computing
- network security
- numerical analysis
- object oriented programming using c++
- office automation (oet)
- operating system
- operations research
- soft computing
- software engineering
- software testing
- uml