0% found this document useful (0 votes)
428 views2 pages

PPS Important Questions (2024-25)

The document outlines important questions for the Programming for Problem Solving course at J.B. Institute of Engineering and Technology, covering five units. Each unit includes various topics such as operators, arrays, pointers, functions, and sorting algorithms in C programming. The questions are designed to assess students' understanding and application of C programming concepts through examples and programming tasks.

Uploaded by

Sunny
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)
428 views2 pages

PPS Important Questions (2024-25)

The document outlines important questions for the Programming for Problem Solving course at J.B. Institute of Engineering and Technology, covering five units. Each unit includes various topics such as operators, arrays, pointers, functions, and sorting algorithms in C programming. The questions are designed to assess students' understanding and application of C programming concepts through examples and programming tasks.

Uploaded by

Sunny
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/ 2

J.B.

INSTITUTE OF ENGINEERING AND TECHNOLOGY


(UGC AUTONOMOUS)
(Accredited by NBA&NAAC, approved by AICTE & Permanently Affiliated to JNTU H Hyderabad)
Yenkapally (Vi), Moinabad (M). P.O. Himayat Nagar, RR District, Hyderabad 500075

Programming for Problem Solving


(Common to ALL)
UNITWISE IMPORTANT
QUESTIONS
Unit 1:
1. Explain in detail about Operators in C with example program?
2. Explain in detail about various storage classes in c with an example program?
3. Explain the basic structure of C program. List the data types in C and give their size
and range.
4. Discuss about the variants and usage of “If” and If-Else in C with suitable example?
5. Explain Switch Case statement in C with example program?
6. Explain different types of looping statements in C with suitable example?
7. Describe about the ways of doing type casting in C with suitable example
8. Define flowchart. Summarize on the symbols used in flowchart.

Unit 2:
1. Define an Array. Write a general syntax to create a 2D array?
2. Develop a C Program to compute Matrix Multiplication and matrix addition?
3. Explain String handling functions in C with suitable example?
4. Write and explain the general syntax for declaring and accessing members of a structure
with a suitable programming example.
5. Explain Array of Structures in C with suitable real time scenario?
6. What is multi-dimensional array? Give the syntax for declaration, initialization and
accessing elements from a multi-dimensional array?
7. Discuss about array of strings in C with suitable example program?
8. Write a note on some of the pre-processor commands used in C language?

Unit 3:
1. Define pointer. How to declare a pointer and use pointer in a program? List the
advantages and disadvantages of using pointers.
2. Explain pointer to an array with suitable example.
3. List and explain various file read/write functions available in C with examples
illustrating their usage and implementation.
4. Give a brief note on fseek (), ftell () and rewind () functions used in C with
suitable example?
5. Write the syntax for opening a file with various modes and closing a file.
6. Develop a C program to demonstrate the difference between structure and union
7. Explain Pointer to structure with suitable example?
8. How to append data in existing file using file handling functions in C? Explain with
suitable program.
9. Describe about how pointers are useful in implementing self-referential structures?

Unit 4:
1. Explain about different message passing methods in C? (Call By Value, Call by
Reference)
2. What is meant by dynamic memory allocation in C? Give a brief note on malloc
(), calloc (), realloc () and free () functions.
3. What is meant by recursive function? Write a c program to generate Fibonacci sequence
using recursive function.
4. Discuss about the different types of functions based on return type and parameters
5. Write a program in C to find factorial of a number using recursive function. Give
Limitations of recursive functions in C.
6. What is meant by function in C? Elaborate on the three aspects of functions (function
declaration, function definition, function call) with suitable example.
7. Explain about the categorization of functions in C? List few advantages of using
function in C?
8. How to pass pointer as an argument to a function? Explain with a suitable example.

Unit 5:
1. Explain the working procedure of Binary search algorithm and implement the same in
C
2. Explain the working procedure of Linear search algorithm and implement the same in
C
3. Explain the working procedure of Bubble sort algorithm and implement the same in C
4. Explain the working procedure of Insertion sort algorithm and implement the same in
C
5. Explain the working procedure of Quick sort algorithm and implement the same in C
6. Explain the working procedure of Merge sort algorithm and implement the same in C
7. Explain the working procedure of selection sort algorithm and implement the same in
C
8. Develop C Program to perform Quick sort on the following data {50,23,9,18,61,32}
9. Develop an Algorithm for Selection sort and perform the selection sort on the following
data {28,42,4,8,52,10}
10. Develop an Algorithm for Binary search and search the element 20 from the following
list of elements using Binary Search {10,50,30,70,80,60,20,90,40}

You might also like