Академический Документы
Профессиональный Документы
Культура Документы
( 5 marks)
7. Write a program demonstrating the usage of pointers with one dimensional and two dimensional arrays. ( 10 marks)
July 2011 Master of Computer Application (MCA) Semester 1 MC0061 Computer Programming C Language 4 Credits (Book ID: B0678 & B0679)
Assignment Set 2 (40 Marks) Answer all questions Book ID: B0678 1. Describe the following:
a. Function Prototypes b. Recursion
( 10 marks)
2. Explain the following looping structures with suitable code examples: While Loop DoWhile loop Simple For loop ( 5 marks)
3. With the help of a recursive function, write a program to fin the factorial of a number between 1 and 1000. ( 5 marks)
Book ID: B0679 6. Describe the following with the help of suitable programming examples:
a. Abstract Data Types b. Stack as an Abstract Data Type c. Queue as an Abstract Data Type
( 10 marks)
7. Describe with the help of suitable coding example, the implementation of circular queues. (5 marks )
8. Explain with suitable code examples, various possible file operations in C language (5 marks )