This is the complete B.Tech 1st Semester Programming for Problem Solving (KCS101) question paper designed as per the official 100-mark university exam pattern. The paper includes C programming fundamentals, algorithms, flowcharts, operators, control statements, functions, arrays, pointers, structures, file handling, and complete programming logic-building skills.
This question paper is extremely useful for students who want to practice C programs, understand theory concepts, revise important definitions, and prepare for university exams and lab vivas.
SECTION A – Short Answer Questions (10 × 2 = 20 marks)
This section checks basic understanding of C programming fundamentals:
Storage classes with examples
Functionalities of operating system
Implicit vs explicit type conversion
Mixed operands with examples
Function prototype
Difference between while and do-while loop
Algorithm for second-largest number in array
Structure vs union
Role of C preprocessor
Pointer arithmetic
These questions help revise core concepts essential for coding logic.
SECTION B – Medium-Length Questions (Attempt Any 3 × 10 = 30 marks)
This part includes conceptual explanations and practical programs:
Major components of a digital computer with block diagram
Operators in C, precedence, and associativity with examples
Program to check palindrome number
Program + flowchart for real roots of quadratic equation
Macro definitions with arguments (simple interest & amount) using header file "interest.h"
This section strengthens programming logic and theoretical clarity.
SECTION C – Long Answer Questions (5 × 10 = 50 marks)
Each question has two alternatives. Students must attempt one from each.
Q3 – Compilation & C Program Structure
Difference between compiler & interpreter, linker & loader, break & continue
OR
Data types in C with memory size, format specifier, range + structure of a C program
Q4 – Conditional Statements & Decision Making
Different conditional statements in C (if, nested if, switch, conditional operator)
OR
Flowchart + program to identify triangle type (isosceles, equilateral, scalene, right-angled)
Q5 – Loops, Functions & Patterns
Program to generate Fibonacci series <100, sum & count + pattern printing
OR
Call by value vs call by reference + circle area & circumference using call by reference
Q6 – Arrays & Structures
Sorting meaning + bubble sort program + flowchart
OR
Structure for employee record + program to input 100 employees & display those earning >₹20,000
Q7 – File Handling & Dynamic Memory
File modes + program to separate odd & even numbers from INPUT file to ODD & EVEN files
OR
Features of pointers + dynamic memory allocation example (malloc, calloc, free)
These questions test long programming skills, conceptual depth, and C language proficiency.
Why This KCS101 Question Paper Is Important for Students
Follows authentic AKTU exam format
Covers full C programming syllabus
Mix of theory + programs + algorithms
Includes repeated and high-weightage topics
Helps students prepare for practical viva and lab exams
Builds strong foundation in C and problem-solving
Perfect for students of CSE, IT, AI-ML, Data Science, ECE, EE, and all branches studying C programming in first semester.