2082 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 is Array. Write a program to find the addition of two 2times22 \\times 22times2 matrix.
3. Explain Bitwise and conditional operator? Explain in details with examples.
4. What is SDLC model explain any two models in detail.
5. What are the advantages of an loop? Write a C program for the following expression using function: 7xsqrty2+107x \\sqrt{y^2 + 10}7xsqrty2+10.
6. How break statement is different from continue statement? Write a program to find whether a number is prime number.
7. Write a program to display the following pattern using loop: 1 1 2 1 2 3 1 2 3 4 1 2 3 4 5
8. What is DMA. Write a C program to enter age of 20 students and count age between 18 to 25 from array using DMA function.
Group C
9. Write a program to create a file "library.txt". And write "hello bca" in the file. Write a program to find whether a given string is Palindrome or not?
10. Write a program to swap two numbers using pointer. Write a program in C to draw rectangle and circle according to the users input.
11. How structure is different from union? Write a program to store in file "student.txt" and display basic information (roll, name, address, id and phone) of students of using a structure. Also use the menu to add data, search using id and delete the data from file using id.