[go: up one dir, main page]

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

22POP24 Assignment 2 - Up

Uploaded by

rakshithatan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
47 views1 page

22POP24 Assignment 2 - Up

Uploaded by

rakshithatan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

®

RV INSTITUTE OF TECHNOLOGY AND MANAGEMENT


DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING

Assignment –II
March-2024
Sem II (ISE) Subject Title Problem solving through
Programming
Sub Code BPOPS103/203 Name of the Faculty Prof. Pushpa G & Ramya I M
Members
CO1: To understand the basics of Computers, Algorithms and C programming.
CO2: Ability to apply the programming constructs for any given problem statement.
CO3: Ability to debug the programs and analyze the correctness of the programs.
CO4: Ability to develop programs for a set of given specifications.

Course
Q.No Questions
Outcomes
1 Define Arrays .How is arrays declared .Explain the different ways to initialize an
array CO1

2. Distinguish between the following


CO1
i. while and do-while ii break and continue

3. Explain the syntax and working of for loops with an example


CO1
4 Write a program to implement selection sort for the given
CO2
elements {10,34,3,2,56}
5 Write a program to find trace of a matrix
CO2
6 Define Strings. Explain declaration and different types of initialization of strings
CO1
7 Write a program to Reverse the string “RVITM” without using inbuilt function
CO2
8 i.strcpy() ii. strrev() iii. strcmp() iv.strcat() v.strlen. Explain this string functions
with proper syntax and example CO1

9 List the difference between linear search and binary search


CO1
10 Write a c program to check whether a given number is Armstrong or not
CO2

You might also like