Define software process model. Explain software development life cycle.
Explain call by value and call by reference with suitable example.
What is dynamic memory allocation? What are the limitations of static memory allocation? Explain malloc( ) and calloc( ) function with example.
What is recursion? Write a program to display Fibonacci series up to 15th term using recursion.
Explain null pointer and void pointer with suitable example.
Write a program to draw a circle and rectangle with output text "BCA Exam 2081" using graphics function.
What do you mean by conditional statement? Write a program to calculate sum and average of weight of five persons using an array.
Attempt any TWO questions
[2x10=20]Define cohesion and coupling. What do you mean by keywords, operators and header files? Describe the types of operator used in C programming.
Why do we need a break and continue statement? Differentiate between binary file and text file? Suppose a file named "Number.txt" contains a list of integers. Write a program to extract the prime numbers from that file and write them on "Prime.txt" file.
Differentiate between structure and union. Create a structure "Employee" having Name, Department, Address, Salary, and Age as member functions. Display the name of the employee having aged between 30 and 50 are living in Kathmandu.