BCA 2nd Semester
C Programming Board Question Paper 2019

Views: ...
tribhuvan university logo

Tribhuvan university

Bachelor In Computer Application

Course Title: C Programming

Code No: CACS 151

Semester:II

2019

Full Marks:60 Pass Marks:24 Time:3 hours

Candidates are required to answer the question in their own words as far as possible.

Group A
Group B
Attempt any SIX question.
[6x5=30]
2.

What is software process model? Differentiate between cohesion and coupling in programming?

3.

Define keywords and identifiers. Define rules for defining valid identifiers.

4.

List the operators used in C on the basis of utility. Explain the concept of bitwise operation.

5.

Differentiate between while loop and do while loop. Write a C program to find input number is prime or composite.

6.

What is DMA? Write a program to find the largest and smallest number in a list of n numbers using DMA.

7.

What is the difference between binary file and text file? Write a C program to write some text "Welcome to BCA program" in a file test.txt.

8.

Explain any four graphics function in C. Write a program to draw two concentric circles with center (50, 50) and radius 75 and 125.

Group C

Attempt any TWO questions

[2x10=20]
9.

What is one dimensional array? How it is initialized? Write a C program to find the sum of two matrix of order m x n.

10.

Define structure and union. Write a C program using structure that reads the record of 35 students with member's roll, name, address and makes and display the records of students who have obtained greater than 250 marks.

11.

What is a function? List its advantages. Explain the concept of function call by value and call by reference with example.