Bpops103 Assignment2
Bpops103 Assignment2
ASSIGNMENT – 2
Academic Year 2023-24 Dept. CSE
Program BE Date of issue 8/11/2023
Year / Semester /Sec FY/A/B/C DIV Date of submission 17/11/2023
Course Code BPOPS103 Max. Marks 10
Course Name Principles of programming using C
Note 1.Answer all the questions
Q. No. RBT**
Questions Marks COs*
level
1. List and explain unconditional branching statements with example. 10 CO 2 L1,L2
2. List the conditional branching statements in C with example. 10 CO 2 L1,L2
3.
Explain different types of loops(iterative statements) in C. Justify L2
10 CO 2
with its syntax and examples.
4.
Develop a C program to compute the roots of a quadratic equation L6
10 CO 2
by accepting the co-efficients. Print appropriate meassages.
5.
Explain function declaration and function definition with syntax L2
10 CO 3
and example
6.
Define an array. Explain with example. How to declare and L2
10 CO 3
initialize 2-D array.
7. Develop a C program to search an element using binary search L6
10 CO 3
technique.
8 Develop a C program to sort the elements using bubble sort L6
10 CO 3
technique by passing array as function arguments.
9 Define storage class. Explain the different storage classes L2
10 CO 3
supported by C with examples.
10 Develop a C program to swap two numbers using call by reference L6
10 CO 3
method.
11 List applications of arrays. 10 CO 3 L2
Develop a C program to print the following pattern
1
12 12 10 CO 2 L2
123
1234
*Course Outcomes (COs):
CO COs
NO.
CO 1 Elucidate the basic architecture and functionalities of a computer and also recognize the hardware parts
CO 2 Apply programming constructs of C language to solve the realworld problem
Explore user-defined data structures like arrays and functions in implementing solutions to problems
CO 3
like searching and sorting
CO 4 Explore user-defined data structures like structures, unions and pointers in implementing solutions
CO 5 Design and Develop Solutions to problems using modular programming constructs using functions
**Revised Bloom’s Taxonomy (RBT) Levels:
RBT Remember Understand Apply Analyze Evaluate Create
RBT Levels L1 L2 L3 L4 L5 L6
Prepared by
(Asst.Professor. Amruta. Naveen /Asst.Professor.Trupti Thite, Dept of CSE )