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

CSE113 Programming Assignment 2

Uploaded by

Dev Tiwari
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)
38 views1 page

CSE113 Programming Assignment 2

Uploaded by

Dev Tiwari
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

Sharda School of Engineering and Technology

Department of Computer Science and Engineering


B. Tech.: 1st semester
Subject Code: CSE113 Subject Name: Programming for Problem Solving
Assignment-2 Max. Marks: 30
Name. of Faculty: Dr. Shree Harsh Attri
CO1: Demonstrate the algorithm, Pseudo-code and flow chart for the given problem.
CO2: Develop better understanding of basic concepts of C programming.
CO3: Create and implement logic using array and function.
CO4: Construct and implement the logic based on the concept of strings and pointers.
CO5: Apply user-defined data types and I/O operations in file.
CO6: Design and develop solutions to real world problems using C.
All Questions are Compulsory
Mapped Bloom’s Level
[Link]. Question Marks
to CO’s of Learning
1. Why data types are required in C programming? Explain CO2 2 K1
2. Differentiate between compiler and interpreter. CO2 2 K2

3.
Write a program to accept height of a person in cm and CO2 4 K2
display it after converting it into ft and inches.
4.
Write a program to test whether a number entered is CO6 4 K2
positive, negative or equal to zero.
5.
Show the importance of break and continue statements CO2 4 K3
with examples.
6. Differentiate between while, do-while and for loops. CO2 6 K3
7.
Write a program to find and display the even, odd and CO6 6 K4
prime numbers from the range 50 to 200.

You might also like