Exam Details
Subject | java programming | |
Paper | ||
Exam / Course | mca(integrated) | |
Department | ||
Organization | Gujarat Technological University | |
Position | ||
Exam Date | November, 2018 | |
City, State | gujarat, ahmedabad |
Question Paper
1
Seat No.: Enrolment
GUJARAT TECHNOLOGICAL UNIVERSITY
MCA Integrated SEMESTER- III- EXAMINATION WINTER 2018
Subject Code: 4430601 Date: 29-11-2018
Subject Name: Java Programming
Time: 10.30 am to 1.00 pm Total Marks: 70
Instructions:
1. Attempt all questions.
2. Make suitable assumptions wherever necessary.
3. Figures to the right indicate full marks.
Q.1
Do as Directed.
is used to convert String to Integer.
is the super class for every class.
is called by the garbage collector just before deallocation of an instance.
sets the background color of an applet.
Justify, we can create our own subclass of java.lang.Math class.
Justify, can be used to prevent method from being overloaded.
Justify, main method is required to be written in applet.
07
Define Following terms
Shadowing Variable
Interface.
Instance of
Transient
enum data type
Initializer block
getInstance() method
07
Q.2
What is package? Explain "java.util" package with example.
07
Differentiate between following
method overloading and method overriding
this and super keyword
comparable and comparator Interface
02
02
03
OR
Differentiate between following
throw and throws
widening conversion and narrowing conversion
heavyweight component and lightweight component
02
02
03
Q.3
What is Wrapper class? Explain any one Wrapper class in java.
07
Explain abstract, final and static keyword with example.
07
OR
Q.3
What is String Buffer? Explain different between String Buffer and String Builder with example
07
Explain role of Pattern and Matcher class for handling regular Expression.
07
Q.4
What is Thread? How thread is created in java? Explain with example.
07
Explain FileOutputStream and FileInputStream.How to read and write data with file. Explain with example.
07
OR
2
Q.4
What is Exception? Explain exception handling by creating custom exception class.
07
What is enumeration interface? Explain set interface of collection framework.
07
Q.5
Explain lifecycle of an applet. Explain various method of the lifecycle of applet.
07
Explain event delegation model with example.
07
OR
Q.5
Explain the importance of Graphics, Color and Font class of java.awt package with its method.
07
What is Layout? List different Layouts and explain Border Layout with example.
07
Seat No.: Enrolment
GUJARAT TECHNOLOGICAL UNIVERSITY
MCA Integrated SEMESTER- III- EXAMINATION WINTER 2018
Subject Code: 4430601 Date: 29-11-2018
Subject Name: Java Programming
Time: 10.30 am to 1.00 pm Total Marks: 70
Instructions:
1. Attempt all questions.
2. Make suitable assumptions wherever necessary.
3. Figures to the right indicate full marks.
Q.1
Do as Directed.
is used to convert String to Integer.
is the super class for every class.
is called by the garbage collector just before deallocation of an instance.
sets the background color of an applet.
Justify, we can create our own subclass of java.lang.Math class.
Justify, can be used to prevent method from being overloaded.
Justify, main method is required to be written in applet.
07
Define Following terms
Shadowing Variable
Interface.
Instance of
Transient
enum data type
Initializer block
getInstance() method
07
Q.2
What is package? Explain "java.util" package with example.
07
Differentiate between following
method overloading and method overriding
this and super keyword
comparable and comparator Interface
02
02
03
OR
Differentiate between following
throw and throws
widening conversion and narrowing conversion
heavyweight component and lightweight component
02
02
03
Q.3
What is Wrapper class? Explain any one Wrapper class in java.
07
Explain abstract, final and static keyword with example.
07
OR
Q.3
What is String Buffer? Explain different between String Buffer and String Builder with example
07
Explain role of Pattern and Matcher class for handling regular Expression.
07
Q.4
What is Thread? How thread is created in java? Explain with example.
07
Explain FileOutputStream and FileInputStream.How to read and write data with file. Explain with example.
07
OR
2
Q.4
What is Exception? Explain exception handling by creating custom exception class.
07
What is enumeration interface? Explain set interface of collection framework.
07
Q.5
Explain lifecycle of an applet. Explain various method of the lifecycle of applet.
07
Explain event delegation model with example.
07
OR
Q.5
Explain the importance of Graphics, Color and Font class of java.awt package with its method.
07
What is Layout? List different Layouts and explain Border Layout with example.
07
Other Question Papers
Subjects
- advanced c programming (adv – c)
- advanced python
- basic mathematics for it
- big data
- c++ with class libraries (cpp)
- communication skills - ii
- communication skills-1
- cyber security and forensics (csf)
- data analytics with r
- data structure
- database management systems
- discrete mathematics for computer science (dmcs)
- environmental studies
- fundamentals of computer
- fundamentals of database management systems
- fundamentals of networking
- fundamentals of programming – i
- fundamentals of web
- information security
- java programming
- machine learning
- management information systems (mis)
- mobile programming
- network security
- operating system
- operations research
- python (py)
- software engineering
- software testing
- statistical methods
- uml & object oriented modeling
- web development tools