B.Tech I Semester (R20) Regular Examinations
Course Name: PROGRAMMING FOR PROBLEM SOLVING
(Common to all Branches)
Time: 3 hours
Max. Marks: 70
Note: Answer all FIVE questions. All questions carry equal marks.
-
- Explain the program development steps in detail. [7M]
- What are the different types of operators available in C? Explain with examples. [7M]
--- Content provided by FirstRanker.com ---
-
- Write a C program to check whether a given number is prime or not. [7M]
- Explain about various conditional branching statements in C with examples. [7M]
--- Content provided by FirstRanker.com ---
-
- Write a C program to find the factorial of a given number using recursion. [7M]
- Explain the difference between call by value and call by reference with suitable examples. [7M]
-
- Write a C program to sort an array of integers in ascending order using the bubble sort algorithm. [7M]
- What are pointers? Explain the advantages of using pointers. [7M]
-
- Explain the difference between structures and unions with suitable examples. [7M]
- Write a C program to read data from a file and display the contents on the console. [7M]
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---