What type of programming approach is followed by C? Write the necessary steps for PDLC.
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
Is break mandatory in switch? List operators in C by utility. Explain logical operator with example.
What is nested loop? Write the difference between formatted and unformatted I/O in C.
What is DMA? List memory management functions. Using DMA, write a program to find sum of N numbers.
Write a C program to read a string and reverse it without using string handling functions.
What is the difference between binary and text file? Write a C program to copy student.txt into info.txt.
What is initgraph()? Write a C program to draw circle, rectangle and ellipse with green background and red foreground.
Explain different methods of passing arguments to a function. Write a C program to print Fibonacci sequence up to n terms using recursion.
What is pointer? Write a C program using pointers to store cricket player's data (name, age, position, height) and display them.
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.