0% found this document useful (0 votes)
289 views1 page

Bpops103 Assignment2

This document provides details of an assignment for a Principles of Programming using C course. The assignment contains 12 questions assessing various concepts of the C programming language. Students are asked to answer all questions which involve writing programs to perform tasks like computing quadratic equation roots, searching and sorting arrays, and swapping values. The questions cover topics such as branching statements, loops, functions, arrays, storage classes, and patterns. Students must submit their responses by the given deadline for a maximum score of 10 marks per question.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
289 views1 page

Bpops103 Assignment2

This document provides details of an assignment for a Principles of Programming using C course. The assignment contains 12 questions assessing various concepts of the C programming language. Students are asked to answer all questions which involve writing programs to perform tasks like computing quadratic equation roots, searching and sorting arrays, and swapping values. The questions cover topics such as branching statements, loops, functions, arrays, storage classes, and patterns. Students must submit their responses by the given deadline for a maximum score of 10 marks per question.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

___________________________________________________________________

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 )

You might also like