SlideShare a Scribd company logo
J a v a a n d D a t a S t r u c t u r e
Q u e s t i o n P a p e r ( O c t o b e r – 2 0 1 6 ) [ R e v i s e d C o u r s e ]
1 | Page
M u m b a i B . S c . I T S t u d y
F a c e b o o k | T w i t t e r | I n s t a g r a m | G o o g l e + | Y o u T u b e
– Kamal T.
Time: 3 Hours Total Marks: 100
N.B.: (1) All Questions are Compulsory.
(2) Numbers to the right indicate marks.
Q.1 Attempt The Following Question: (10 Marks)
(A) Explain JVM brief. (5)
(B) Does Java support Multiple Inheritances? Justify your answer. (5)
Q.2 Attempt Any Three From The Following: (15 Marks)
(A) Explain the features of Java. (5)
(B) Give the meaning of public static void main(String a[]). (5)
(C) What are Constructors? Explain different types of constructor with example. (5)
(D) With the help of suitable JAVA programs describe following function Overloading. (5)
Q.3 Attempt Any Three From The Following: (15 Marks)
(A) What is Inheritance? Explain different types of Inheritance supported by Java with an
example.
(5)
(B) Define a package, and give the list of steps used to create a package in Java. Explain
with a sample code.
(5)
(C) Discuss on the Visibility of base class members in privately and publicly inherited
classes.
(5)
(D) What is a Java Exception & its Types? Define try, catch, and throw in an Exception
block.
(5)
Q.4 Attempt Any Three From The Following: (15 Marks)
(A) What is meant by stream? What are the types of streams and classes? Explain in detail. (5)
(B) Explain how to create files and directories with the help of Java Files Class. (5)
(C) What is the necessity of two types of streams – byte streams and character streams? (5)
(D) List the methods in InputStream and Reader Class. (5)
J a v a a n d D a t a S t r u c t u r e
Q u e s t i o n P a p e r ( O c t o b e r – 2 0 1 6 ) [ R e v i s e d C o u r s e ]
2 | Page
M u m b a i B . S c . I T S t u d y
F a c e b o o k | T w i t t e r | I n s t a g r a m | G o o g l e + | Y o u T u b e
– Kamal T.
Q.5 Attempt Any Three From The Following: (15 Marks)
(A) Define Stack. Explain the various operations are performed on the stack and give some
applications of stack.
(5)
(B) How do you find the complexity of an algorithm? What is the relation between the
time and space complexities of an algorithm? Justify your answer with an example.
(5)
(C) What is Queue in Data Structure? State the algorithm for ENQUEUE (insert element in
Queue) and DEQUEUE (delete element from Queue).
(5)
(D) Define Binary Search. Write an algorithm for Binary Search method and explain its
analysis.
(5)
Q.6 Attempt Any Three From The Following: (15 Marks)
(A) What is Linked List? Explain the different types of Linked List. (5)
(B) What are Expression Trees? Represent the following expression using a tree.
Comment on the result that you get when this tree is traversed in Preorder, Inorder
and postorder. (a-b) / ((c*d)+e)
(5)
(C) Define Hashing. How do collision happen during hashing? Explain the different
techniques resolving of collision.
(5)
(D) What are the advantages and disadvantages of Linked List? (5)
Q.7 Attempt Any Three From The Following: (15 Marks)
(A) Define Node, Degree, Siblings, Depth/Height, and Level. (5)
(B) What is a Heap? Give three properties of Heaps? (5)
(C) Explain an algorithm for the Bubbles Sort. (5)
(D) Which are the two standard ways of traversing a graph? Explain them with an example
of each.
(5)

More Related Content

PDF
Java and Data Structure (June - 2014) [Revised Course | Question Paper]
PDF
Java and Data Structure (June - 2016) [Revised Course | Question Paper]
PDF
[Question Paper] Advanced SQL (Revised Course) [June / 2016]
PDF
Java and Data Structure (April - 2015) [Revised Course | Question Paper]
PDF
[Question Paper] Advanced SQL (Revised Course) [April / 2015]
PDF
[Question Paper] Advanced SQL (Revised Course) [January / 2017]
PDF
[Question Paper] Network Security (60:40 Pattern) [April / 2014]
PDF
[Question Paper] Network Security (60-40 Pattern) [April / 2014]
Java and Data Structure (June - 2014) [Revised Course | Question Paper]
Java and Data Structure (June - 2016) [Revised Course | Question Paper]
[Question Paper] Advanced SQL (Revised Course) [June / 2016]
Java and Data Structure (April - 2015) [Revised Course | Question Paper]
[Question Paper] Advanced SQL (Revised Course) [April / 2015]
[Question Paper] Advanced SQL (Revised Course) [January / 2017]
[Question Paper] Network Security (60:40 Pattern) [April / 2014]
[Question Paper] Network Security (60-40 Pattern) [April / 2014]

What's hot (20)

PDF
[Question Paper] ASP.NET With C# (75:25 Pattern) [November / 2015]
PDF
[Question Paper] ASP.NET With C# (75:25 Pattern) [April / 2016]
PDF
[Question Paper] Data Communication and Network Standards (Revised Course) [A...
PDF
[Question Paper] ASP.NET With C# (75:25 Pattern) [November / 2014]
PDF
[Question Paper] Network Security (Revised Syllabus) [May / 2016]
PDF
[Question Paper] Data Communication and Network Standards (Revised Course) [J...
PDF
Java and Data Structure (September - 2013) [Revised Course | Question Paper]
PDF
[Question Paper] Network Security (Revised Syllabus) [October / 2016]
PDF
[Question Paper] Object Oriented Programming With C++ (Revised Course) [April...
PDF
[Question Paper] Modern Operating System (Old Course) [April / 2015]
PDF
Advanced Java (Revised Syllabus) [QP / October - 2016]
PDF
ASP.NET With C# (December – 2017) [Revised Syllabus | Question Paper]
PDF
[Question Paper] Network Security (Revised Syllabus) [April / 2015]
PDF
[Question Paper] Object Oriented Programming With C++ (Revised Course) [April...
PDF
[Question Paper] Database Management Systems (Revised Course) [September / 2013]
PDF
[Question Paper] Linux Administration (75:25 Pattern) [November / 2014]
PDF
Network Security (Revised Syllabus) [QP / October - 2016]
PDF
Network Security (Revised Syllabus) [QP / May - 2016]
PDF
Advanced Java (Revised Syllabus) [QP / May - 2016]
PDF
[Question Paper] Web Technology (Revised Course) [June / 2016]
[Question Paper] ASP.NET With C# (75:25 Pattern) [November / 2015]
[Question Paper] ASP.NET With C# (75:25 Pattern) [April / 2016]
[Question Paper] Data Communication and Network Standards (Revised Course) [A...
[Question Paper] ASP.NET With C# (75:25 Pattern) [November / 2014]
[Question Paper] Network Security (Revised Syllabus) [May / 2016]
[Question Paper] Data Communication and Network Standards (Revised Course) [J...
Java and Data Structure (September - 2013) [Revised Course | Question Paper]
[Question Paper] Network Security (Revised Syllabus) [October / 2016]
[Question Paper] Object Oriented Programming With C++ (Revised Course) [April...
[Question Paper] Modern Operating System (Old Course) [April / 2015]
Advanced Java (Revised Syllabus) [QP / October - 2016]
ASP.NET With C# (December – 2017) [Revised Syllabus | Question Paper]
[Question Paper] Network Security (Revised Syllabus) [April / 2015]
[Question Paper] Object Oriented Programming With C++ (Revised Course) [April...
[Question Paper] Database Management Systems (Revised Course) [September / 2013]
[Question Paper] Linux Administration (75:25 Pattern) [November / 2014]
Network Security (Revised Syllabus) [QP / October - 2016]
Network Security (Revised Syllabus) [QP / May - 2016]
Advanced Java (Revised Syllabus) [QP / May - 2016]
[Question Paper] Web Technology (Revised Course) [June / 2016]
Ad

Similar to Java and Data Structure (October - 2016) [Revised Course | Question Paper] (20)

PDF
[Question Paper] C++ and Java (Old Course) [September / 2013]
PDF
The number of key comparisons in a sequential search depends on the .pdf
PDF
[Question Paper] Object Oriented Programming With C++ (Revised Course) [Janua...
PDF
[Question Paper] Introduction To C++ Programming (Revised Course) [January / ...
PDF
Advanced Java (75:25 Pattern) [QP / April - 2017]
PPTX
Technical aptitude test 2 CSE
PDF
DSA Question Bank
PDF
[Question Paper] Advanced Java (75:25 Pattern) [November / 2016]
PDF
[Question Paper] Introduction To C++ Programming (Revised Course) [May / 2016]
DOCX
Question 1 The syntax for accessing a class (struct) member .docx
DOC
Viva questions ds th c++
DOC
Viva questions ds th c++
PDF
Java_Question-Bank.docx-1.pdf
PDF
[Question Paper] Object Oriented Programming With C++ (Revised Course) [Janua...
PDF
[Question Paper] Advanced Java (75:25 Pattern) [April / 2015]
PDF
Data structure-question-bank
PDF
[Question Paper] Advanced Java (75:25 Pattern) [April / 2016]
PDF
[Question Paper] C++ and Java (Old Course) [June / 2014]
PDF
[Question Paper] Object Oriented Programming With C++ (Revised Course) [June ...
PDF
[Question Paper] Introduction To C++ Programming (Revised Course) [April / 2015]
[Question Paper] C++ and Java (Old Course) [September / 2013]
The number of key comparisons in a sequential search depends on the .pdf
[Question Paper] Object Oriented Programming With C++ (Revised Course) [Janua...
[Question Paper] Introduction To C++ Programming (Revised Course) [January / ...
Advanced Java (75:25 Pattern) [QP / April - 2017]
Technical aptitude test 2 CSE
DSA Question Bank
[Question Paper] Advanced Java (75:25 Pattern) [November / 2016]
[Question Paper] Introduction To C++ Programming (Revised Course) [May / 2016]
Question 1 The syntax for accessing a class (struct) member .docx
Viva questions ds th c++
Viva questions ds th c++
Java_Question-Bank.docx-1.pdf
[Question Paper] Object Oriented Programming With C++ (Revised Course) [Janua...
[Question Paper] Advanced Java (75:25 Pattern) [April / 2015]
Data structure-question-bank
[Question Paper] Advanced Java (75:25 Pattern) [April / 2016]
[Question Paper] C++ and Java (Old Course) [June / 2014]
[Question Paper] Object Oriented Programming With C++ (Revised Course) [June ...
[Question Paper] Introduction To C++ Programming (Revised Course) [April / 2015]
Ad

More from Mumbai B.Sc.IT Study (20)

PDF
Linux System Administration (November – 2018) [Choice Based | Question Paper]
PDF
Advanced Web Programming (November – 2018) [Choice Based | Question Paper]
PDF
Artificial Intelligence (November – 2018) [Choice Based | Question Paper]
PDF
Software Project Management (November – 2018) [Choice Based | Question Paper]
PDF
Next Generation Technologies (November – 2018) [Choice Based | Question Paper]
PDF
Internet Of Things (November – 2018) [Choice Based | Question Paper]
PDF
Enterprise Java (November – 2018) [Choice Based | Question Paper]
PDF
Enterprise Networking (May – 2019) [Choice Based | Question Paper]
PDF
Business Intelligence (May – 2019) [Choice Based | Question Paper]
PDF
Software Quality Assurance (May – 2019) [Choice Based | Question Paper]
PDF
Project Management (April - 2016) [CBSGS - Paper Solution] {Mumbai University}
PDF
Project Management (April - 2015) [CBSGS - Paper Solution] {Mumbai University}
PDF
Project Management (October - 2017) [CBSGS - Paper Solution] {Mumbai University}
PDF
Project Management (October - 2016) [CBSGS - Paper Solution] {Mumbai University}
PDF
Project Management (October - 2015) [CBSGS - Paper Solution] {Mumbai University}
PDF
Project Management (October - 2014) [CBSGS - Paper Solution] {Mumbai University}
PDF
Project Management (May - 2018) [CBSGS - Paper Solution] {Mumbai University}
PDF
Project Management (April - 2017) [CBSGS - Paper Solution] {Mumbai University}
PDF
Project Management (April - 2014) [CBSGS - Paper Solution] {Mumbai University}
PDF
Internet Technology (Practical Questions Paper) [CBSGS - 75:25 Pattern] {2017...
Linux System Administration (November – 2018) [Choice Based | Question Paper]
Advanced Web Programming (November – 2018) [Choice Based | Question Paper]
Artificial Intelligence (November – 2018) [Choice Based | Question Paper]
Software Project Management (November – 2018) [Choice Based | Question Paper]
Next Generation Technologies (November – 2018) [Choice Based | Question Paper]
Internet Of Things (November – 2018) [Choice Based | Question Paper]
Enterprise Java (November – 2018) [Choice Based | Question Paper]
Enterprise Networking (May – 2019) [Choice Based | Question Paper]
Business Intelligence (May – 2019) [Choice Based | Question Paper]
Software Quality Assurance (May – 2019) [Choice Based | Question Paper]
Project Management (April - 2016) [CBSGS - Paper Solution] {Mumbai University}
Project Management (April - 2015) [CBSGS - Paper Solution] {Mumbai University}
Project Management (October - 2017) [CBSGS - Paper Solution] {Mumbai University}
Project Management (October - 2016) [CBSGS - Paper Solution] {Mumbai University}
Project Management (October - 2015) [CBSGS - Paper Solution] {Mumbai University}
Project Management (October - 2014) [CBSGS - Paper Solution] {Mumbai University}
Project Management (May - 2018) [CBSGS - Paper Solution] {Mumbai University}
Project Management (April - 2017) [CBSGS - Paper Solution] {Mumbai University}
Project Management (April - 2014) [CBSGS - Paper Solution] {Mumbai University}
Internet Technology (Practical Questions Paper) [CBSGS - 75:25 Pattern] {2017...

Recently uploaded (20)

PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PPTX
Pharma ospi slides which help in ospi learning
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PPTX
PPH.pptx obstetrics and gynecology in nursing
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PDF
Classroom Observation Tools for Teachers
PDF
Complications of Minimal Access Surgery at WLH
PPTX
master seminar digital applications in india
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PPTX
Cell Structure & Organelles in detailed.
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PDF
Basic Mud Logging Guide for educational purpose
PDF
O7-L3 Supply Chain Operations - ICLT Program
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
Pharma ospi slides which help in ospi learning
Microbial diseases, their pathogenesis and prophylaxis
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
Final Presentation General Medicine 03-08-2024.pptx
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PPH.pptx obstetrics and gynecology in nursing
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
Classroom Observation Tools for Teachers
Complications of Minimal Access Surgery at WLH
master seminar digital applications in india
Supply Chain Operations Speaking Notes -ICLT Program
Cell Structure & Organelles in detailed.
STATICS OF THE RIGID BODIES Hibbelers.pdf
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
Basic Mud Logging Guide for educational purpose
O7-L3 Supply Chain Operations - ICLT Program
Abdominal Access Techniques with Prof. Dr. R K Mishra
human mycosis Human fungal infections are called human mycosis..pptx
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx

Java and Data Structure (October - 2016) [Revised Course | Question Paper]

  • 1. J a v a a n d D a t a S t r u c t u r e Q u e s t i o n P a p e r ( O c t o b e r – 2 0 1 6 ) [ R e v i s e d C o u r s e ] 1 | Page M u m b a i B . S c . I T S t u d y F a c e b o o k | T w i t t e r | I n s t a g r a m | G o o g l e + | Y o u T u b e – Kamal T. Time: 3 Hours Total Marks: 100 N.B.: (1) All Questions are Compulsory. (2) Numbers to the right indicate marks. Q.1 Attempt The Following Question: (10 Marks) (A) Explain JVM brief. (5) (B) Does Java support Multiple Inheritances? Justify your answer. (5) Q.2 Attempt Any Three From The Following: (15 Marks) (A) Explain the features of Java. (5) (B) Give the meaning of public static void main(String a[]). (5) (C) What are Constructors? Explain different types of constructor with example. (5) (D) With the help of suitable JAVA programs describe following function Overloading. (5) Q.3 Attempt Any Three From The Following: (15 Marks) (A) What is Inheritance? Explain different types of Inheritance supported by Java with an example. (5) (B) Define a package, and give the list of steps used to create a package in Java. Explain with a sample code. (5) (C) Discuss on the Visibility of base class members in privately and publicly inherited classes. (5) (D) What is a Java Exception & its Types? Define try, catch, and throw in an Exception block. (5) Q.4 Attempt Any Three From The Following: (15 Marks) (A) What is meant by stream? What are the types of streams and classes? Explain in detail. (5) (B) Explain how to create files and directories with the help of Java Files Class. (5) (C) What is the necessity of two types of streams – byte streams and character streams? (5) (D) List the methods in InputStream and Reader Class. (5)
  • 2. J a v a a n d D a t a S t r u c t u r e Q u e s t i o n P a p e r ( O c t o b e r – 2 0 1 6 ) [ R e v i s e d C o u r s e ] 2 | Page M u m b a i B . S c . I T S t u d y F a c e b o o k | T w i t t e r | I n s t a g r a m | G o o g l e + | Y o u T u b e – Kamal T. Q.5 Attempt Any Three From The Following: (15 Marks) (A) Define Stack. Explain the various operations are performed on the stack and give some applications of stack. (5) (B) How do you find the complexity of an algorithm? What is the relation between the time and space complexities of an algorithm? Justify your answer with an example. (5) (C) What is Queue in Data Structure? State the algorithm for ENQUEUE (insert element in Queue) and DEQUEUE (delete element from Queue). (5) (D) Define Binary Search. Write an algorithm for Binary Search method and explain its analysis. (5) Q.6 Attempt Any Three From The Following: (15 Marks) (A) What is Linked List? Explain the different types of Linked List. (5) (B) What are Expression Trees? Represent the following expression using a tree. Comment on the result that you get when this tree is traversed in Preorder, Inorder and postorder. (a-b) / ((c*d)+e) (5) (C) Define Hashing. How do collision happen during hashing? Explain the different techniques resolving of collision. (5) (D) What are the advantages and disadvantages of Linked List? (5) Q.7 Attempt Any Three From The Following: (15 Marks) (A) Define Node, Degree, Siblings, Depth/Height, and Level. (5) (B) What is a Heap? Give three properties of Heaps? (5) (C) Explain an algorithm for the Bubbles Sort. (5) (D) Which are the two standard ways of traversing a graph? Explain them with an example of each. (5)