23ES1106_Programming in C_QB_2024_2025
23ES1106_Programming in C_QB_2024_2025
2 Marks:Foreach unit five questions should be of lower order (LO) cognitive type and five Questions should be of
Intermediate order (IO) cognitive type.
13 /15 /16 Marks:For each Unit four questions should be of lower order (LO) cognitive type i.e. remembrance type
questions, five should be of intermediate order (IO) cognitive type i.e. understanding type questions and One Question
should be on Higher Order (HO) Application / Design / Analysis / Evaluation / Creativity / Case study questions.
* HO Order is not applicable if the Question Pattern does not have Part C. In Such cases consider HO as IO.
** If the Mark for Part B &C is less than the maximum mark of the Question, Sub Divisions shall be added.
Course Outcome: (List the Course Outcomes of the Course)
CO1:Learn the syntax for C programming
CO2:Develop simple applications in C using basic constructs
CO3:Design and implement applications using arrays and strings
CO4:Develop and implement applications in C using functions and pointers.
CO5:Develop applications in C using structures and union.
CO6:Design applications using sequential and random access file processing.
Bloom’s Level: BL1 - Remembering, BL2 - Understanding, BL3 - Applying, BL4 - Analyzing, BL5– Evaluating,BL6 - Creating.
2. What is meant by a data types? Give its classifications. [BL1] [CO1] [2]
5. What are the input and output statements in C? [BL1] [CO2] [2]
6. Analyze Increment and Decrement Operators with an example. [BL4] [CO2] [2]
3. Explain the different types of operators used in ‘C’ with an [BL1] [CO2] [16]
example.
4. Discuss the various Conditional Statements used in C with its [BL2] [CO2] [16]
syntax and program.
5. Classify various looping statements in c with an example [BL4] [CO2] [16]
program.
6. Develop a C program for the following: [BL3] [CO2] [8+8]
(i) To check whether a number is prime or not.
(ii)To convert the temperature given in Fahrenheit to Celsius and
its vice versa.
7. Analyze various conditional control Statements with an example [BL4] [CO2] [16]
program.
8. Examine the concept of storage classes in c with an example [BL4] [CO2] [16]
program.
9. Distinguish between branching and looping statements used in c [BL4] [CO1] [16]
programming.
10. Develop a C program for the following: [BL3] [CO2] [8+8]
(i) To check whether the given number is palindrome or not.
(ii)To check whether the given number is an armstrong or not.
6. Distinguish between one dimensional and two dimensional [BL4] [CO3] [2]
array.
7. Construct the list of operations in an array. [BL3] [CO3] [2]
2. Write a C program to find the number of vowels, consonants, [BL2] [CO3] [16]
digits and white spaces in a string.
3. Write a C program for matrix multiplication. [BL2] [CO3] [16]
4. Illustrate the concept of mean, median with an example [BL2] [CO3] [16]
program.
5. Classify various string handling functions with an example [BL4] [CO3] [16]
program.
6. Implement the concept of selection sort with an example [BL3] [CO3] [16]
program.
7. Apply the insertion sort technique to sort the given numbers [BL3] [CO3] [16]
56,1,7,9,7,14 with an example program.
8. Construct a c program to find an element using binary search. [BL3] [CO3] [16]
9. Construct the concept of Linear Search with an example [BL3] [CO3] [16]
program.
10. Analyze the concept of matrix determinant and transpose with [BL4] [CO3] [16]
an example program.
5. Write about function call and function definition with an example. [BL1] [CO4] [2]
6. Differentiate between pass by value and pass by reference. [BL4] [CO4] [2]
8. Examine the concept of null pointer and dangling pointer. [BL4] [CO4] [2]
9. Distinguish between user defined function and built in function. [BL4] [CO4] [2]
10. Classify various pointer operators used in c programming. [BL4] [CO4] [2]
3. Define Union. Describe how to declare, initialize and access [BL1] [CO5] [16]
members of Union with a programming example.
4. Explain about Dynamic Memory allocation with an example [BL1] [CO5] [16]
program.
5. Interpret the concept of typedef with a suitable example [BL3] [CO5] [16]
program.
6. Examine the differences between nested structures and [BL3] [CO5] [16]
Array of structures.
7. Implement with an example for self-referential structure. [BL4] [CO5] [16]
8. (i)Compare with example code for Structure and Union. [BL4] [CO5] [8+8]
(ii)Illustrate a C program to store the employee information using
Structure and search a particular employee details.
9. Create a C program to read the details of book name, author [BL4] [CO5] [16]
name and price of 200 books in a library and display the total
cost of the books and the book details whose price is above
Rs.500.
10. Explain passing structures to a function with respect to the [BL4] [CO5] [8+8]
following:
(i). Passing individual members.
(ii). Passing entire structure.
4. What is the purpose of the fread() and fwrite() function in C? [BL1] [CO6] [2]
6. Compare the sequential access and random access methods in [BL4] [CO6] [2]
files.
7. Conclude the benefits of command line arguments. [BL4] [CO6] [2]
8. How do you move the file pointer to the beginning of a file? [BL4] [CO6] [2]
9. Distinguish between binary file and text file. [BL4] [CO6] [2]
10. Develop a c program to copy the contents of one file to another [BL3] [CO6] [2]
file.
Descriptive Questions ( 16 Marks)
1. Explain the details about files and its types of file processing? [BL2] [CO6] [16]
2. Demonstrate a c program for command line arguments to add [BL2] [CO6] [16]
two numbers.
3. Write a c program to find the average of numbers stored in [BL2] [CO6] [16]
sequential access file
4. Explain about random access file with an example program. [BL2] [CO6] [16]
5. Construct a c program for transaction processing using random [BL3] [CO6] [16]
access file.
6. Elaborate the function of fseek() and ftell() with an example [BL4] [CO6] [16]
program.
7. Implement the various file functions used in a file processing [BL4] [CO6] [16]
with an example program.
8. Construct a C program to read name and marks of “N” number [BL3] [CO6] [16]
of students from user and store them in a file?
9. (i)Compute short notes on fscanf (). [BL3] [CO6] [8+8]
(i)Compute short notes on fprintf ().
10. Incorporate the methodology of sequential access file with an [BL4] [CO6] [16]
example program.