This is a complete C Programming (Problem Solving Using C) question paper prepared according to a 70-mark university examination pattern. The paper covers the full syllabus of C language fundamentals, algorithms, data types, functions, recursion, loops, arrays, pointers, structures, file handling, macros, and operating systems.
The paper is divided into three structured sections – A, B, and C, containing short concept-based questions, medium descriptive questions, and long programming/problem-solving questions.
It is extremely useful for B.Tech, BCA, Diploma, and IT foundation students, especially those preparing for semester exams, viva, practicals, and internal assessments.
SECTION A – Short Questions (7 × 2 = 14 Marks)
This section tests fundamental concepts of C programming:
Actual vs formal arguments (with example)
Function declaration vs function definition
Flowchart to find greatest among three numbers
Function to swap two values without third variable
Difference between compiler and interpreter
Why do-while loop is used (properties)
Macro evaluation problem using #define
These questions check the student's conceptual clarity and understanding of C basics.
SECTION B – Descriptive Questions (Attempt Any 3 × 7 = 21 Marks)
Operating System Basics
Types and functions of OS: memory management, process scheduling, file handling, I/O control
Data Types in C
Integer, float, char, double
Derived types: array, pointer, structure, union
Size, range, and examples
Series Program Using For Loop
Add first 7 terms of:
- 11!+22!+33!+…\frac{1}{1!} + \frac{2}{2!} + \frac{3}{3!} + \dots1!1+2!2+3!3+…
Pointers & Dynamic Memory Allocation
Definition of pointer
malloc(), calloc(), realloc(), free() with examples
Bubble Sort Program
Sorting integers in ascending order
This section focuses on writing C programs and applying theoretical concepts.
SECTION C – Long Questions (7 Marks Each)
Q3 – Basic Programming (Palindrome / Prime)
Choose one:
Program to check whether a number is a palindrome
OR
Program to check whether a number is prime
Q4 – Recursion / Parameter Passing
Choose one:
Recursion + Fibonacci series program
OR
Difference between call by value and call by reference (which is more efficient & why)
Q5 – Matrices / Structures
Choose one:
Program to multiply two matrices (dynamic input)
OR
Structure definition + program to compare two dates using a structure
Q6 – Files / Macros
Choose one:
File opening modes + Program to copy content of one file to another
OR
What is a macro? How substitution works?
Macro as variable vs macro as function (examples)
Q7 – Digital Computer / (Missing second option)
Choose one:
Definition of digital computer
Block diagram + explanation of CPU, memory, I/O devices, storage units
(Second option in the question is incomplete)
Why This Question Paper Is Very Useful for Students
Follows latest university exam format (70 marks)
Covers full C programming syllabus
Mix of theory + algorithms + coding questions
Includes repeated and high-weightage topics
Ideal for revision, self-study, internal exams, and viva preparation
Strengthens problem-solving and logic-building abilities
This paper is extremely helpful for students of CSE, IT, AI-ML, BCA, MCA, Diploma (CS), and Polytechnic.