2026 Pre-Board examination question paper set for C Programming.

Tribhuvan University
Faculty of Humanities & Social Sciences
OFFICE OF THE DEAN
2026
Bachelor in Computer Applications

Paper detail Value
Course C Programming
Code No. CACS151
Semester IInd
Full marks 60
Pass marks 24
Time 3 hours

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

Group B

2. Demonstrate the use of enum datatype?

3. Demonstrate the use of pointer in C?

4. What are null pointers? Write a program to print elements of array in reverse order using pointer.

5. What do you mean by call by reference in C? Write a program to find Fibonacci series up to nth term using recursion.

6. What is the use of DMA? Write a program to display elements of an array in ascending order using malloc?

7. Write a program to print following pattern: 1 10 101 1010 10101

8. Write a program to store record of employee on the following title (empId, emp_name, emp_salary) into emp.dat file and display only those employees record whose salary is below 50,000.

Group C

9. Write a program to move a circle right to left and also display "ANIMATION IN C" in blinking style.

10. Analyze different changes adopted in different C standards.