MCA MAGADH UNIVERSITY QUESTION (2011-2014) Programming and Data Structure with "C"

MCA MAGADH UNIVERSITY QUESTION (2011-2014) Programming and Data Structure with "C"
MCA MAGADH UNIVERSITY QUESTION (2011-2014) Programming and Data Structure with "C"


                                                                           2011-2014
                                                                        Full marks: 80
                                                                         Time: 4 hours
                                                         The questions are of equal value.
                                                              Answer any five questions.



1.  Define algorithm. How is it useful in Programming? Write an algorithm for the following problem: sort any 10 natural numbers in increasing order.

2. What do you mean by flowchart? Explain the meaning of various symbols used in developing a flowchart. How is it useful in making programs? Draw a flowchart to find the largest number among three numbers.

3. What are data types in 'C' ? Explain simple data-types, structured data-type and enumerated data-type with examples.

4. What is pointer? How is it defined and used? What are the uses of pointer? How is a pointer used in referencing array elements? Explain with examples.

5. Define function. Describe prototype function and recursive functions by giving suitable example.

6. What is dynamic memory allocation? Discuss the main advantages of dynamic memory allocation.

7. Write a 'C' Program to multiply two matrices of order (mxn) and (nxm).

8. Write a program in 'C' that will read  a positive integer and print its binary equivalent.

9. Write a program that will generate a data file containing the list of customers and their corresponding telephone numbers. Use a structure variable to store the name and telephone of each customer.

10. Define double ended queue (deque). Write an algorithm of insertion and deletion.

11. Explain binary search tree and write an algorithm of binary search tree.

12. Write notes on the following:
      (a) Operators in 'C'
      (b) Break and Continue
      (c) Structure
      (d) Macro


Comments

Popular posts from this blog

MCA MAGADH UNIVERSITY QUESTION (2015-2018) (Semester-iii) Database Management Systems

MCA MAGADH UNIVERSITY QUESTION (2010-2013) (Fifth Semester) Artificial Intelligence and Application

BCA MAGADH UNIVERSITY QUESTION (2011)