Old Question Paper: BCA-I , Semester - I
Note: Attemp any two questions each from Section-A and Section-B, carrying 10 marks each. Entire Section C is compulsory, carrying 3 marks each.
Section- A
- Discuss the various phases of problem solving process. Also explain the various header files.
- Explain the various input/output statements available in C.
- Discuss different iteration control statements used in C language with examples.
- Define recursion.Write recursive function for calculating factorial of positive number.
Section-B
- Define Array. How an array can be initialized? Write a program to find out the largest from n numbers?
- Define and differentiate between structure and union with examples.
- What Operations can be performed on Pointers? Also discuss the pros and cons of Pointers.
- Write the procedure of creating, opening, reading and writing with files in C Language.
Section-C
Write short notes on the following questions:
- Discuss the rules for defining variables.
- What do you mean by lifetime and scope of a variable?
- Differentiate between keyword and identifier.
- Differentiate between While and do-while loop.
- Define goto statement.
- Define Recursion.
- List the various string handling functions.
- Differentiate assignment operator and equality operator.
- Define address operator.
- What is the difference between text and binary files?