Official TU BCA 2022 board examination paper for C Programming.
Tribhuvan University
Faculty of Humanities & Social Sciences
OFFICE OF THE DEAN
2024
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 C program to generate the following output using loop. 10101 0101 101 01 1
3. How will you define pointer? Write a program that illustrate how pointer variable change the value of normal variable.
4. Write a C program to calculate sum of the natural number up to N number using recursive function.
5. Write a C program to calculate following expression: 5xsqrty2+5.5x \\sqrt{y2} + 5.5xsqrty2+5.
6. Write a C program to copy contents of student.txt file into another file called info.txt.
7. Why do you use DMA instead of array? Explain DMA with suitable example.
8. Write a C program to generate following output using graphics functions.
Group C
9. Write a C program to store the player name, runs scored, wickets taken of 20 cricketers using structure along with pointer then arrange the players in order of maximum wickets to minimum wickets they had taken.
10. Write a C program to generate following series using function: Sum = 1 + x / 2! + x2 / 3! + x3 / 4! + ... + xn / n!
11. Define SDLC. Explain software process models.