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 program to sort list of integers in array with descending order taking input from user.
3. What is flowchart? Explain different symbols used to create flowchart with example.
4. Explain different types of decision-making statements available in C.
5. Write a program to display a menu (Add Book, List Book, Update Book, Delete Book, Search Book, Exit) repeatedly until the user chooses to Exit.
6. What is array? Explain different types of arrays available in C.
7. Explain different types of loops in C, write a C program to ask user for a number and calculate factorial based on that.
8. Write a program to print following pyramid structure: A A B A B C A B C D A B C D E
Group C
9. Write a program to read marks for five different subjects from user and find total, percentage and grade of a student using else-if ladder based on the following criteria: percentage ge90\\ge 90ge90: Grade A, percentage ge75\\ge 75ge75: Grade B, percentage ge60\\ge 60ge60: Grade C, percentage ge40\\ge 40ge40: Grade D, percentage <40< 40<40: Fail
10. Explain different types of user defined functions in C, write a C program to perform matrix addition taking input from user.
11. What is programming language? Explain different types of programming language their related language translator required for the execution of program.