MCASemester 12021-22Problem Solving Using CKCA-102

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.

Course:MCA
Semester:Semester 1
Session:2021-22
University:AKTU / UPTU

Rate this paper

Questions Asked in 2021-22

Problem Solving Using C (KCA-102) — complete question paper

Section AAttempt all q u e s t i o n s i n b r i e f . 2 x 10 = 20
  • a
    Differentiate between compiler & interpreter. 2 1
  • b
    How keywords are different from identifiers? 2 1
  • c
    Differentiate between actual argument and formal argument. 2 2
  • d
    Determine the value of the following logical expressions if a=5, b=10
  • e
    What will be the output of the code?
    void main()
    {
    int a,b *p
  • a
    = 10; p=&a; b = *p+20;
    printf(“%d”, b);
    }
  • f
    An 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
  • g
    How a structure is different from union? 2 4
  • h
    Differentiate 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
Section BAttempt any three of the following: 3x10 =30
  • a
    Define algorithm and explain the characteristics of Algorithm. Write an algorithm to find the roots of a quadratic equation. 10 1
  • b
    How entry-controlled loop is different from exit-controlled loo p ? W r i t e a program to print the pattern
  • c
    What 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
  • d
    How 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
  • e
    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
Section CAttempt any one part of the following: 1x10 = 10
  • a
    What is the use of flow charts? Explain the symbols used in a f lowchart. Draw
  • a
    flowchart to find the maximum among three input numbers. 10 1
  • b
    What do you mean by operator precedence and associativity? Expl ain all bit- wise operators with suitable example. 10 1
  • a
    Give 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
  • b
    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
  • a
    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
  • b
    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
  • a
    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
  • b
    How 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
  • a
    What are the drawbacks of static memory allocation? Explain the functions available in C language to allocate memory dynamically. 10 5
  • b
    Explain 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)

2x

Differentiate between compiler & interpreter. 2 1

Appeared in: 2021-22 · 2023-24

2x

Differentiate between actual argument and formal argument. 2 2

Appeared in: 2021-22 · 2023-24

2x

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

2x

What is the use of flow charts? Explain the symbols used in a f lowchart. Draw

Appeared in: 2021-22 · 2023-24

2x

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

2x

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

2x

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

2x

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

2x

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

2x

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