Problem Solving Using C (KCA-102) - AKTU Question Paper 2021-22
MCA · Semester 1 · Free PDF Download
This is the official AKTU Problem Solving Using C Previous Year Question Paper for MCA Semester 1, academic session 2021-22. Published by Dr. A.P.J. Abdul Kalam Technical University (AKTU/UPTU), Lucknow. Free PDF download — no login required.
Rate this paper
Questions Asked in 2021-22
Problem Solving Using C (KCA-102) — complete question paper
- aDifferentiate between compiler & interpreter. 2 1
- bHow keywords are different from identifiers? 2 1
- cDifferentiate between actual argument and formal argument. 2 2
- dDetermine the value of the following logical expressions if a=5, b=10
- eWhat will be the output of the code?
void main() { int a,b *p - a= 10; p=&a; b = *p+20;
printf(“%d”, b); }
- fAn array is declared as int a [100]; If the base address of t he array is 5000, what will be the address of a[59]. (Consider 16 bit machine architecture). 2 3
- gHow a structure is different from union? 2 4
- hDifferentiate between dot operator and -> operator to access structure objects. 2 4 i. Explain the statement fseek (fp, m, 1). 2 5 j. Illustrate the function feof(). 2 5
- aDefine algorithm and explain the characteristics of Algorithm. Write an algorithm to find the roots of a quadratic equation. 10 1
- bHow entry-controlled loop is different from exit-controlled loo p ? W r i t e a program to print the pattern
- cWhat do you mean by function prototype? How call by value is di fferent from call by reference? Illustrate call by reference with a suitable example. 10 3
- dHow a structure is different from an array? Write a C program t o store employee details such as Empid, Name, Salary and Age for 50 emp loyees and display the same for the users
- eDevelop a C program to copy the contents of one file to another file. The file name must be pass through command line arguments. 10 5
- aWhat is the use of flow charts? Explain the symbols used in a f lowchart. Draw
- aflowchart to find the maximum among three input numbers. 10 1
- bWhat do you mean by operator precedence and associativity? Expl ain all bit- wise operators with suitable example. 10 1
- aGive the syntax and explain the working of switch-case statemen t. Write a program to implement the menus based basic calculator using switch case 10 2
- bIdentify the use of modular programming?Write a program by usin g user define function to check given number is prime or not. 10 2
- aIllustrate the different ways to input a string in C language. Write a program to count the number of words and number of characters in an input string. 10 3
- bDefine a pointer. How do you declare and initialize a pointer? Write a program to add the contents of an integer array using pointer. 10 3
- aDefine scope and lifetime of a v ariable. Explain in detail abou t all storage classes supported in C language with reference to scope and lifetime
- bHow a structure is different from union? Write a program to sto re 50 players’ details such as Player Name, Country Name and batting average. Using the database Display the details of the players who are playing for a given country
- aWhat are the drawbacks of static memory allocation? Explain the functions available in C language to allocate memory dynamically. 10 5
- bExplain the following graphics functions supported by C language i. initgraph() ii. rectangle() iii. outtextxy() iv. line() v. setbgcolor() 10 5
Question text is extracted from the official AKTU question paper PDF above. Hindi translations are omitted — every question is printed in English in the original paper. Last verified: 2026-08-23.
Repeated Questions — KCA-102
Questions that appeared in more than one session, found by comparing 4 years of Problem Solving Using C papers (2021-22, 2022-23, 2023-24, 2024-25)
Differentiate between compiler & interpreter. 2 1
Appeared in: 2021-22 · 2023-24
Differentiate between actual argument and formal argument. 2 2
Appeared in: 2021-22 · 2023-24
Develop a C program to copy the contents of one file to another file. The file name must be pass through command line arguments. 10 5
Appeared in: 2021-22 · 2023-24
What is the use of flow charts? Explain the symbols used in a f lowchart. Draw
Appeared in: 2021-22 · 2023-24
What do you mean by operator precedence and associativity? Expl ain all bit- wise operators with suitable example. 10 1
Appeared in: 2021-22 · 2023-24
Identify the use of modular programming?Write a program by usin g user define function to check given number is prime or not. 10 2
Appeared in: 2021-22 · 2023-24
Illustrate the different ways to input a string in C language. Write a program to count the number of words and number of characters in an input string. 10 3
Appeared in: 2021-22 · 2023-24
Define a pointer. How do you declare and initialize a pointer? Write a program to add the contents of an integer array using pointer. 10 3
Appeared in: 2021-22 · 2023-24
Define scope and lifetime of a v ariable. Explain in detail abou t all storage classes supported in C language with reference to scope and lifetime
Appeared in: 2021-22 · 2023-24
Explain the following graphics functions supported by C language i. initgraph() ii. rectangle() iii. outtextxy() iv. line() v. setbgcolor() 10 5
Appeared in: 2021-22 · 2022-23
Problem Solving Using C — Other Year Papers
AKTU Problem Solving Using C PYQs from other sessions
More MCA Semester 1 (2021-22) Papers
Other subjects from same semester and session