You are on page 1of 1

MANAV RACHNA INTERNATIONAL INSTITUTE OF RESEARCH AND STUDIES

(DEEMED TO BE UNIVERSITY)
Faculty of Engineering & Technology
Department of Computer Science & Engineering
Assignment

Subject Name: Programming for Problem Solving Assignment number: 5


Subject Code: BCS-101A Class / Semester: 1st
Max. Marks : 10 Time Allowed: 1 week
Q. No: Mapped
COs/BTL
Cox/BTL

1. Differentiate between structure and union. CO3/L-1

2. Write a program to print name, price and number of pages for three books CO3/L-2
using structures.

3. Define enumerated data types. CO3/L-1

4. Write a program using enumerated data types that read the attendance of CO3/L-2
students for each day of week and print the weekly list of attendance.

5. Explain all string handling functions with examples. CO3/L-2

6. Difference between getchar( ) and putchar( ). CO3/L-1

7. Write a program that reads a string and check if the string is palindrome or not. CO3/L-2

8. Differentiate between arrays and strings. Explain arrays of strings in detail. CO4/L-1

9. Differentiate between character and strings. CO3/L-1

10. Write a program that illustrates the usage of a pointer to a string. CO4/L-2

Prepared By: Approved By:

Course Coordinator HOD(CSE)


(Dr. Ramesh Chandra Sahoo) ( Dr. Tapas Kumar)

You might also like