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. Write a recursive function to find the GCD of two numbers.
3. How do you define pointer? Write a program that illustrates how a pointer variable changes the value of a normal variable.
4. Write a program to determine the type of a given angle (acute, right, or obtuse). The program can check if the angle is less than 90 degrees (acute), equal to 90 degrees (right), or greater than 90 degrees (obtuse).
5. Explain five string manipulation functions in C programming.
6. Develop a search program in C to find a specific string within an array of strings.
7. Why do you use DMA instead of an array? Explain DMA with a suitable example.
8. Write a C program to generate the following output using graphics functions.
Group C
9. Write a C program to store player name, runs scored, and wickets taken of 20 cricketers using a structure, then arrange the players in order of maximum wickets to minimum wickets they had taken.
10. Write a C program to input two numbers and calculate arithmetic operations (+, -, *, /) using a switch case statement.
11. Explain the software process model which is suitable for a technical-risk-high project.