Cpds III Mid

Embed Size (px)

Citation preview

  • 7/30/2019 Cpds III Mid

    1/1

    VIDYA VIKAS INSTITUTE OF TECHNOLOGY

    III-MID EXAMINATION

    Sub:CPDS Branch:ECE,ME,CE,CSE &EEE Date:3/5/2013 Year: I-B.Tech

    1. write a c program to copy the content of one file to another file2. Elaborate file handling functions in C with the help of sample code?3. Explain the Quick sort algorithm with the help of an example?4. Write algorithm/Program for binary search to find the given element within array. For

    What data binary search is not applicable?

    5. Show the bubble sort results for each pass for the following initial array of elements.3 5 18 7 1 2 5 23 16 3 1

    6. Explain about i) Stack ii) queue.