C Programming/Past Papers

Exam Prep · CACS 151

C Programming — TU Past Papers

Real TU BCA CACS 151 exam papers from 2019–2024. Every question solved with working C code and exam tips.

Papers

7 years

Total Questions

70 solved

Group B (5 marks)

49

Group C (10 marks)

21

Years Covered

2019–2024

CACS 151 Exam Format

Group B

Attempt 6 of 7 × 5 marks = 30

Group C

Attempt 2 of 3 × 10 marks = 20

Total: 60 marksPass: 24 marksTime: 3 hours
Group:·10 questions
CourseCACS 151
SemesterSemester I
Full Marks60
Time3 hrs
Batch2022 Batch
GROUP BAttempt any 6 of 7 questions  ·  5 marks each
Q2Group B · 5 marks5 marks

What type of programming approach is followed by C? Write the necessary steps for PDLC.

Q3Group B · 5 marks5 marks

Is break mandatory in switch? List operators in C by utility. Explain logical operator with example.

Q4Group B · 5 marks5 marks

What is nested loop? Write the difference between formatted and unformatted I/O in C.

Q5Group B · 5 marks5 marks

What is DMA? List memory management functions. Using DMA, write a program to find sum of N numbers.

Q6Group B · 5 marks5 marks

Write a C program to read a string and reverse it without using string handling functions.

Q7Group B · 5 marks5 marks

What is the difference between binary and text file? Write a C program to copy student.txt into info.txt.

Q8Group B · 5 marks5 marks

What is initgraph()? Write a C program to draw circle, rectangle and ellipse with green background and red foreground.

GROUP CAttempt any 2 of 3 questions  ·  10 marks each
Q9Group C · 10 marks10 marks

Explain different methods of passing arguments to a function. Write a C program to print Fibonacci sequence up to n terms using recursion.

Q10Group C · 10 marks10 marks

What is pointer? Write a C program using pointers to store cricket player's data (name, age, position, height) and display them.

Q11Group C · 10 marks10 marks

What is nested structure? Create a structure Book with ISBN, Title, author, price. Read 10 books and display the book with highest and lowest price.

BCAStudyHub

Your complete interactive study guide for TU BCA Semester I — covering all subjects with interactive tools, past papers, and exam prep.

TU BCASemester I

Program Info

University
Tribhuvan University
Program
BCA — Bachelor in Computer Application
Semester
I (First)
Subjects
5 (4 live, 1 coming soon)

Made by SawnN