Wednesday 27 January 2016

bca2020 smu bca Fall 2015 IInd sem assignment

Get fully solved assignment. Buy online from website
online store
or
plz drop a mail with your sub code
we will revert you within 2-3 hour or immediate
Charges rs 125/subject and rs 625/semester only.
if urgent then call us on 08791490301, 08273413412

Fall 2015
Bca2020
1 How is stack represented by an array? Also explain PUSH and POP operation in brief.

Answer: Array implementation of stack
Implementation of stack can be done either using array or one way list. The main disadvantage of array implementation of stack is that the size of the array has to be declared a head. So, the stack size


2 Briefly explain basic concepts of Graphs.

Answer: In a graph data structure there are certain terms and terminologies that you should know about. A graph data structure consists mainly of
a) A set of entities called nodes (or vertices or points).
b) A set of

3 What is queue? Briefly explain an array implementation of queue.

Answer: A queue is a linear list of elements in which deletions can take place only at one end, called the front and insertions can take place only at the other end, called the rear as referred in the figure below. The terms “front” and “rear” are used in describing a linear list only when it is implemented as a

4 Write a short note on: NP-Completeness and Optimization versus decision problems.

Answer: The ‘NP’ stands for ‘nondeterministic polynomial time’, which says about the fact that a solution for certain type of a problem can be checked (but may not be found) in polynomial time. This class of algorithms informally indicates that there is a polynomial time for checking a solution for a problem whose solution may be difficult to be found out. In studying the theory of NP-Completeness, we do not provide a method of obtaining polynomial time algorithms, nor do we say that


5 Write an Algorithm to find the maximum and minimum items in a set of ‘n’ element.

Answer: Algorithm
1.       procedure SMAXMIN(max, min)
2.       integer i, max, min;


6 Write a short note on:
·         Optimal Merge Pattern
·         Single Source Shortlist Paths

Answer: Optimal Merge Pattern
When more than two sorted files are to be merged together, the merge can be accomplished by repeatedly merging sorted files in pairs. Thus, if files x1, x2, x3, and x4 are to be merged, we could first merge x1 and x2 to get a file yi. then we could merge yi and x3 to get y2. Finally, we could merge y2 and x4 to get the desired sorted file. Alternatively, we could first merge x1 and x2 getting yi,

Get fully solved assignment. Buy online from website
online store
or
plz drop a mail with your sub code
we will revert you within 2-3 hour or immediate
Charges rs 125/subject and rs 625/semester only.
if urgent then call us on 08791490301, 08273413412



No comments:

Post a Comment