ADVERTISEMENT
ADVERTISEMENT

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

  1. Discuss the various phases of problem solving process. Also explain the various header files.
  2. Explain the various input/output statements available in C.
  3. Discuss different iteration control statements used in C language with examples.
  4. Define recursion.Write recursive function for calculating factorial of positive number.

Section-B

  1.  Define Array. How an array can be initialized? Write a program to find out the largest from n numbers?
  2.  Define and differentiate between structure and union with examples.
  3. What Operations can be performed on Pointers? Also discuss the pros and cons of Pointers.
  4. Write the procedure of creating, opening, reading and writing with files in C Language.

Section-C

      Write short notes on the following questions:

  1. Discuss the rules for defining variables.
  2. What do you mean by lifetime and  scope of a variable?
  3. Differentiate between keyword and identifier.
  4. Differentiate between While and do-while loop.
  5. Define goto statement.
  6. Define Recursion.
  7. List the various string handling functions.
  8. Differentiate assignment operator and equality operator.
  9. Define address operator.
  10. What is the difference between text and binary files?

ADVERTISEMENT

ADVERTISEMENT