2025 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. What are the different relational operators? Explain with an example.

3. What is sequential searching? Write a program to implement sequential searching.

4. Write a program to input a string and check whether it is palindrome or not.

5. Explain the use of typedef with examples.

6. Write a program to input 10 numbers and sort them.

7. What is pass by reference? Write a program to illustrate pass by reference?

8. What is DMA? Explain different function for DMA in C programming.

Group C

9. What is a function? Explain its types. Write a program that consists of two function in which the first function finds the greatest number from the array passed from the main function and the second function computes the sum of the array.

10. Define a pointer? What is the use of Pointer in C programming? Write a program in C that dynamically creates an array and finds the sum of array elements using pointer.

11. What is structure? Create a structure with name Book that consists of member variables book ID, book name, Author name, price of the book and published year. Also take details of 50 books and display the details of the books whose price is more than 1000 and publish year is before 2024.