Tribhuvan University
Bachelor of Computer Application
Semester 2 · TU Board 2023
Course Title: C Programming (CACS151)
Full Marks: 60Pass Marks: 24Time: 3 hours
Candidates are required to answer the question in their own words as far as possible.
Group A
Group B
Attempt any SIX question.(6 × 5 = 30)
- 2.5
Define programming technique. Differentiate between top-down and bottom-up approach with suitable example.
Answer comingAlso asked in 2020
- 3.5
Define Data Types. Explain different data types available in C Programming.
- 4.5
Explain bitwise and conditional operator with example.
- 5.5
Write a program to print the following pattern using loop. U UN UNI UNIV UNIVE UNIVER UNIVERS UNIVERSI UNIVERSIT UNIVERSITY
- 6.5
Define Array. Write a program to search an element from an array of 10 numbers.
- 7.5
Define function. Write a program that find xy using function.
- 8.5
Define pointer. Write a program to find sum of 10 numbers using pointer.
Group C
Attempt any TWO questions(2 × 10 = 20)
- 9.10
What are the characteristics of a good program? Explain types of languages processor. Explain any two system design tools.
- 10.10
Define file opening modes. Write a program to delete specific record from a file.
- 11.10
Differentiate between structure and Union. Locate a structure named student with members roll no, name, address. Write a program that displays name of only those students whose addressing is Kathmandu
— The End —