Chapter Study

BCA Semester 2 C programmingUnit 6: Control Structure (6Hrs)

Comprehensive questions and detailed answers for Unit 6: Control Structure (6Hrs). Perfect for exam preparation and concept clarity.

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

Sample Questions

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

Marks: 5Chapter: Unit 6: Control Structure (6Hrs)

Write a program to print the following pattern using loop. U UN\ UNI\ UNIV\ UNIVE\ UNIVER\ UNIVERS\ UNIVERSI UNIVERS

Marks: 5Chapter: Unit 6: Control Structure (6Hrs)

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

Marks: 5Chapter: Unit 6: Control Structure (6Hrs)

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

Marks: 5Chapter: Unit 6: Control Structure (6Hrs)

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

Marks: 10Chapter: Unit 6: Control Structure (6Hrs)

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.