0% found this document useful (0 votes)
7 views

DS & Java

Uploaded by

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

DS & Java

Uploaded by

Raja Ans
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

VUG(3)-BCA(300 i)

DataStructure using, 'C"

2016-19
Full Marks : 70
Time :3 hours

Answer from both the sections as directed

The figures in the right-hand margin indicate marks


Candidates are required to give their answers in
their owm words as far as practicable.
SECTION-A
10 x 4
Answer any four questions out ofeight questions
1. What is array ? Write and explain the types of
array with program.
2. Whatis D-queues ? Write down the algorithm of
D-qucues.
3. Wite down the application of stack with program.
4. Writ an algorithm to insert five nodes in asingle
linked list.

5. Wite an algorithm to create abinary search tree.


6. Write an algorithm to insert after the element in a
doubly linked list.
(Tern Over)
)Ra- s-ad--t

7. What is heap sort ? Write an algorithrn to create


a heap.
8. Writea program for binary search. el- Al )
SECTION--B

Allare compulsory 10 x3

9. Write about the Sparse Array?


r0.Explain infix and postfix.
1k What is priority queues ?
12, What is the difference between binary tree and
".binary searchtree?
-f2omhik eticsteo
13, Whatis Hashing?
14. What is linear search ? . 4 ou! At aitii
18What is B-tree ?
16.What is the concept of header in linked list?
1.Write about the merge sort.
18. Write the types ofData Structure.

VäG(3- BCA-(3001)Data. Suructure. using, C Hz- 800


VUG(3-BCA (3002)
Java Prog.

2016-19

Full Marks : 70

Time:3 hours
Answer from both the section s directed

The figres in the right-hand margin indicate marks


Candidates are required to give their answers in
their own words as far as practicable.
SECTION-A
Answer any four questionsout of eight questions
4x 10
K What are the features of theJava.
n. How Java differsfron C and C++2
3What is operator ? What are the types of
operators ? Writea program with the help of all
types of operators ?
4. What do you mean by decision making staterments?
Write a program for fnding the greatest value by
using nested ifelse statement.
5. What do youmean by entry and cxit controlled
loop explain ? Write a programn for finding the
faciorial value. (Turn Over)
(2 ) (3 )
6. What is interface ? How an interface is created ? 16. What do you mean by Byte stream class and
Write a program for working with user-defined character strean class ?
interface.
17. What iswrapper class?
7. What is thread ? What are the life cycle of the
thread ?Write aprogram for working with thread. \18.Define the following terms :
8. What do you mean by exception ?How an excep (a) Private
tion will be handled? Write down about some
exception handling classes. Write a simple (B)Protected.
program with the help ofexception handling class.
SECTION-B

All are compulsory 10x 3 clasnme

9What do youmean by conmand line arguments?


9.Explain about type casting.
1. Write aboue?:perator. 4
M.What is constructor ?

13What do you mean by static keyword ?


14. What is string ? Write down some methods for
working with string
15. What is package? How apackage is created ?

VUG(3} BCA- (3003) Java Prog (Contined ) VUG Ø> BCA- (3003) Jave Prog Hz- 800

You might also like