Exam Details
Subject | core java | |
Paper | ||
Exam / Course | b.c.a | |
Department | ||
Organization | solapur university | |
Position | ||
Exam Date | March, 2018 | |
City, State | maharashtra, solapur |
Question Paper
B.C.A. (Semester III) (CGPA) Examination Mar/Apr-2018
CORE JAVA
Time: 2½ Hours
Max. Marks: 70
Instructions: Q.1 and Q.7 are compulsory. Attempt any two questions from Q. 3 and 4. Attempt any one question from Q. 5 and 6. Figures to the right place indicate full marks.
Q.1
Choose the single correct alternative.
14
Package is imported by default in every java program by java compiler.
io
util
net
none of these
The minimum and maximum value for a byte data type in java is
-128 to +127
-127 to +127
-127 to 128
-128 to +128
String is class in java which is included in package of java library.
Awt
swing
lang
util
Which of the following statements can be used in java?
break
continue
return
All of these
What is the name of the method used to start thread execution?
init()
start()
resume()
Which of the following is not a method in java.util.Scanner class?
next()
nextLine()
nextInt()
nextBoolean()
class is synchronized.
String
StringBuffer
StringBuilder
All of these
The default value of a chardatatype is
null
a space
false
None of these
keyword is used to refer
super class variable
super class methods
super class constructor
All of these
10) All the methods of interface are
public
abstract
both and
None of these
11) The default value of Thread priorities constant Thread.NORM_PRIORITY is
5
1
3
7
Page 2 of 2
SLR-CV-4
12) The default buffer size used by any Buffered class is
1024 bytes
256 bytes
512 bytes
128 bytes
13) The default layout manager for any Frame in awt is
Card Layout
Grid Layout
Flow Layout
Border Layout
14) All the Listener interfaces are included in package.
java.awt
java.awt.event
javax.swing
java.awt.geom
Q.2
Answer any two of the following question.
14
Explain features of Java.
Write a note on JDK tools in java.
Explain looping structure in java.
Q.3
Answer any two of the following question.
14
Explain final keyword with suitable example.
Explain finally block with suitable example.
What is event delegation model in java?
Q.4
Answer any two of the following question.
14
Explain FileWriter and FileReader class with an example.
What is package? What are the advantages of packages? Explain different types of packages?
Write a program to implement single inheritance.
Q.5
Explain user defined exception with an example.
14
Explain static method with an example.
Q.6
Write a program to implement 2 interfaces.
14
Explain constructor overloading with example.
Q.7
Write a short note (Any two)
14
AWT
Abstract class
Instance variable
Thread life cycle.
CORE JAVA
Time: 2½ Hours
Max. Marks: 70
Instructions: Q.1 and Q.7 are compulsory. Attempt any two questions from Q. 3 and 4. Attempt any one question from Q. 5 and 6. Figures to the right place indicate full marks.
Q.1
Choose the single correct alternative.
14
Package is imported by default in every java program by java compiler.
io
util
net
none of these
The minimum and maximum value for a byte data type in java is
-128 to +127
-127 to +127
-127 to 128
-128 to +128
String is class in java which is included in package of java library.
Awt
swing
lang
util
Which of the following statements can be used in java?
break
continue
return
All of these
What is the name of the method used to start thread execution?
init()
start()
resume()
Which of the following is not a method in java.util.Scanner class?
next()
nextLine()
nextInt()
nextBoolean()
class is synchronized.
String
StringBuffer
StringBuilder
All of these
The default value of a chardatatype is
null
a space
false
None of these
keyword is used to refer
super class variable
super class methods
super class constructor
All of these
10) All the methods of interface are
public
abstract
both and
None of these
11) The default value of Thread priorities constant Thread.NORM_PRIORITY is
5
1
3
7
Page 2 of 2
SLR-CV-4
12) The default buffer size used by any Buffered class is
1024 bytes
256 bytes
512 bytes
128 bytes
13) The default layout manager for any Frame in awt is
Card Layout
Grid Layout
Flow Layout
Border Layout
14) All the Listener interfaces are included in package.
java.awt
java.awt.event
javax.swing
java.awt.geom
Q.2
Answer any two of the following question.
14
Explain features of Java.
Write a note on JDK tools in java.
Explain looping structure in java.
Q.3
Answer any two of the following question.
14
Explain final keyword with suitable example.
Explain finally block with suitable example.
What is event delegation model in java?
Q.4
Answer any two of the following question.
14
Explain FileWriter and FileReader class with an example.
What is package? What are the advantages of packages? Explain different types of packages?
Write a program to implement single inheritance.
Q.5
Explain user defined exception with an example.
14
Explain static method with an example.
Q.6
Write a program to implement 2 interfaces.
14
Explain constructor overloading with example.
Q.7
Write a short note (Any two)
14
AWT
Abstract class
Instance variable
Thread life cycle.
Other Question Papers
Subjects
- advance programming in c
- advanced java – i
- advanced java – ii
- advanced programming in ‘c’
- advanced web technology
- basics of ‘c’ programming
- business communication
- business statistics
- communication skills
- computer graphics
- computer oriented statistics
- core java
- cyber laws and security control
- data structure using ‘c’
- data structures using ‘c’
- data warehouse and data mining
- database management system
- dbms with oracle
- development of human skills
- digital electronics
- discrete mathematics
- e-commerce
- e-governance
- financial accounting with tally
- financial management
- fundamentals of computer
- fundamentals of financial accounting
- introduction to data mining & warehousing
- introduction to information technology
- linux and shell programming
- management information system
- networking & data communication
- networking and data communication
- object oriented programming with c++
- oop with c++
- operating system
- operations research
- operting system
- procedural programming through ‘c’
- python
- rdbms with oracle
- software engineering
- software project management
- software testing
- theory of computation
- visual programming
- web technology
- web technology – ii
- web technology – iii