Chapter Study

BCA Semester 2 C programming () Questions & Answers | Past TU Exam Papers

Practice from C programming with detailed solutions and model answers from past Tribhuvan University exams.

5
Questions
30
Marks
Back to All Chapters

Differentiate between while loop and do while loop. Write a C program to find input number is prime or composite.

MediumTHEORY5 marks2019(TU FOHSS Final)

Write a program to print the following pattern using loop.

U
UN
UNI
UNIV
UNIVE
UNIVER
UNIVERS
UNIVERSI
UNIVERSIT
UNIVERSITY

MediumTHEORY5 marks2023(TU FOHSS Final)

Write a C program to generate the following output using loop.
1 0 1 0 1
0 1 0 1
1 0 1
0 1
1

MediumTHEORY5 marks2022(TU FOHSS Final)

Write a program in C to find all possible roots of quadratic equation ax² + bx + c = 0.

MediumTHEORY5 marks2020(TU FOHSS Final)

Is break keyword mandatory in switch statement? Write a program to calculate arithmetic operations (+, -, *, /) using switch case statement.

HardTHEORY10 marks2020(TU FOHSS Final)
Showing 5 questions

Unit 6: Control Structure (6Hrs) chapter questions with answers for C programming (BCA Semester 2). Prepare for TU exams with our comprehensive question bank and model answers.