MMMUT Information Technology previous year question paper for Programming in C (BIT-103), semester 1, Minor 2026. All 13 questions are listed below, each with a written answer on Nexsus.
Paper details
Subject: Programming in C (BIT-103)
Branch: Information Technology
Semester: 1
Exam: Minor 2026
Questions: 13
Questions asked in Programming in C Minor 2026
Q1. Attempt any Three parts of the following. Q. 1(a) is compulsory.
Q1(a). Why do we include header file using #include in c program? Discuss the significance of “c”, “obj” and “exe” files in context to C program compilation and execution. [4 marks]
Q1(b). What is Bus in context to microprocessor? State the purpose of Address, Data and Control buses. [2 marks]
Q1(c). Draw a flow chart to find the greatest among n input numbers. [2 marks]
Q1(d). State the use of following: (i) Bitwise operator (ii) sizeof () (iii) type casting (iv) ternary operator [2 marks]
Q2. Attempt any Two parts of the following. Q. 2(a) is compulsory.
Q2(a). State the purpose of following: (i) continue (ii) exit (0) and exit (1) (iii)typedef (iv) switch ( ) [4 marks]
Q2(b). What is nested loop? Write a C program to compute and print the sum of following series using nested for loop. 1 + (1 + 2) + (1 + 2 + 3) + (1 + 2 + 3 + 4) + ____ up to n terms [2 marks]
Q2(c). Write a C program to print all Perfect numbers between 1 to n. A perfect number is a number, whose sum is equal to its positive divisor but excludes the number itself. For instance, the number 6 is divisible by 1, 2, and 3 completely. [2 marks]
Q3. Attempt any Two parts of the following. Q. 3(a) is compulsory.
Q3(a). Write a program in C to check whether input number n is Neon number or not. A neon number is a number where the sum of digits of square of the number is equal to the number. e.g. 9 is Neon number as 9^2=81 and 8+1=9. [4 marks]
Q3(b). Explain the differences between for, while, and do while loops with suitable examples. [2 marks]
Q3(c). Write a short note on the advantages of using a switch statement over nested if-else. [2 marks]