0% found this document useful (0 votes)
65 views

CS3251

The document contains questions about C programming concepts like structures, unions, pointers, arrays, functions, linked lists, and dynamic memory allocation. It includes multiple choice and descriptive questions to test knowledge of these fundamental C programming topics.

Uploaded by

rishashri004
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)
65 views

CS3251

The document contains questions about C programming concepts like structures, unions, pointers, arrays, functions, linked lists, and dynamic memory allocation. It includes multiple choice and descriptive questions to test knowledge of these fundamental C programming topics.

Uploaded by

rishashri004
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/ 3

CS3251-Programming In C

IAT-II Question Bank


PART-A
1. Invent the meaning of default arguments and command line arguments.
2. Assess the meaning of function pointer.
3. What is pointer to a pointer?
4. Differentiate between address operator and indirection operator.
5. Specify the use of typedef.
6. State the meaning of the root word struct.
7. What is meant by structure definition?
8. Define Self-referential data structure.
9. In C language can we allocate memory dynamically? How ?
10. Differentiate Structure and Union.
11. Identify the need for functions?
12. Tabulate address operator & Indirection operator?
13. Examine whether is it better to use a macro or a function?
14. Define linked list?
15. Write the syntax for pointers to structure.int main()
16. Compare arrays and structures.
17. How to Declare a members in Structure?
18. Give the use of ‘typedef’’?
19. Compare Structure and Union.
20. Define Auto storage class in C.
21. Identify the need for functions?
22. Tabulate address operator & Indirection operator?
23. Examine whether is it better to use a macro or a function?
24. Define linked list?
25. Write the syntax for pointers to structure.int main()
26. Compare arrays and structures.
27. How to Declare a members in Structure?
28. Give the use of ‘typedef’’?
29. Compare Structure and Union.
30. Define Auto storage class in C.

PART-B
1. Describe about pointers and their operations that can be performed on it.
2. Write a C Program to sort the given N names (get it from user).
3. Explain in detail about function pointers.
4. What is recursion? Write a C program to find the sum of the digits, to find the factorial of
a number and binary search using recursion.
5. Write a C program to design the scientific calculator using built-in functions.
6. Develop a C program using pointers to compute the Sum, Mean and Standard deviation
of all elements stored in an array of 'n' real numbers.
7. Write short notes on ‘Array of Structures’.
8. Write a comparative analysis on various storage classes of C language.
9. What is the purpose of ‘structure’ in language C ? Explain in detail with an example
program.
10. Why is singly linked list called as self-referential structure? Explain.
11. Write a C program to create mark sheet for students using self-referential structure.
12. Create a structure called ID_card to hold the details of a student.
13. What is dynamic memory allocation? Explain various C functions that are used for the
same with examples.
14. Explain singly linked list and write C program to implement singly linked list using
dynamic memory allocation.
15. Develop a C program to display the employee information using structure, get the
individual employee details(ename, enumber, esalary) with a unique employee number.
16. Classify the function prototypes with example C program for each.
17. Explain Recursive function. Compare the binary search recursive and iterative in C
program
18. Distinguish between Call by value and Call by reference with examples.
19. Explain about C pointers in array, function, Null pointers and pointer operators with an
example.
20. Define C library functions. List out and explain all the header files in C.
21. Define structure? Construct a structure with data members of various types and declare
two structure variables. Write a program to read data into these and print the same.
Justify the need for structured data type
22. Write a C program to store the employee information using structure and search a
particular employee using Employee number.
23. Explain how to access the member for array of structures. Write a program to generate
student mark sheet with subject details and the grades using structures.
24. Explain dynamic memory allocation with examples.
25. Illustrate the program for linear data structures to store the data using linked list.
26. Explain the types of functions in C programming with code.
27. Write a C code for student mark statement preparation using function without arguments
and with return types.
28. Consider the grade range :
Range of Mark Grade
>=91 S
81 – 90 A
71 – 80 B
61 – 70 C
50 – 60 D
<=49 U

29. Find the output for given operations with the value a and b=2.0.
sqrt()
ceil()
floor()
pow()
30. Assuming that x is RIT, y is REC and z is RECRIT, Find the output of the following
string operations.
string length (x, y, z)
string concatenation (x, y)
string comparison (x, z)
string reverse (z)
31. Discuss the binary searching techniques using recursion functions in C with suitable
code.
32. Explain the swapping of two numbers using pass by value and pass by reference.
33. Create a pay bill application for RIT employees using the pointer to structure in C
programming.
34. Prepare the student database for RIT-CSE using structure variables as arguments.
35. Explain the different types of dynamic memory allocations and deallocation with C code.
36. Discuss the following operations using singly linked list in C programming.
Insert Begin
Insert Last
Delete Begin
Delete Last
Display List
37. Describe the typedef functionalities in C programming with code.
38. Print your personal details using Union. How it differs from structure?

You might also like