Start Discovering Solved Questions and Your Course Assignments
TextBooks Included
Solved Assignments
Asked Questions
Answered Questions
an algorithm is a sequence of steps to solve a problem there may be more thanone algorithm to solve a problem. the choice of a particular algorithm
q. let us consider a queue is housed in an array in circular fashion or trend. it is required to add new items to the queue. write down a method enq
q. define a method for keeping two stacks within a single linear array s in such a way that neither stack overflows until entire array is used and a
q. give the algorithm for the selection sort. describe the behaviours of selection sort when the input given is already sorted.
q. write down the algorithm for binary search. which are the conditions under which sequential search of a list is preferred over the binary search?
q. convert the given infix expression into the postfix expression also show the stepsa lowast b d e - fg h k ans.steps showing infix
q. give the algorithm to build a binary tree where the yields of preorder and post order traversal are given to us.
q. convert the following given infix expression to postfix form using the stack function x y z p q r s follow general precedence rule and
ans.an algorithm for the quick sort is as followsvoid quicksort int a int lower int upper int i if upper gt lower i split a lower upper
q. the system allocates the memory for any of the multidimensional array from a big single dimensional array. describe two mapping schemes that help
q. write down any four applications or implementation of the stack.
q. write down an algorithm to insert a node in between any two nodes in a linked list ans.insertion of a the node after
write an algorithm to count number of nodes in the circular linked list.
evaluate the frequency counts for all statements in the following given program segment.for i1 i le n i for j 1 j le i jfor k 1 k le j ky ans.s1
q. enumerate different types of errors in measurement. how can these errors be minimized. sol. types of
q. with suitable example differentiate between accuracy and precision. sol. accuracy accuracy is the closeness with which instrument reading
q. with suitable examples differentiate between limiting and known errors.sol. limiting errors guarantee errors the accuracy and precision of an
reproducibility and repeatability are measures of closeness with which a given input may be measured over again. the two terms cause confusion.
if the instruments has no drift it is perfectly reproducible. no drift means that with a given input the measured values do not vary with time.drift
for large number of measurements the mean is calculated by taking a sample. each sample that is taken has a mean. the mean of various sample
q. explain the different types of probes used in cathode ray oscilloscope cro.sol. probes the probe performs the very important function of
q. write short note on storage oscilloscopes.sol. storage oscilloscope the bistable storage tube is between two to ten times slower than a
consider the characteristics of patterns that appear on the screen of a crt when sinusoidal voltages are simultaneously applied to horizontal and
there are four basic types of there are four basic types of
q. describe in detail the construction and working of analog type storage oscilloscope. explain the principle of secondary emission.analog storage