MCASemester 12023-24Problem Solving Using CKCA-102

Problem Solving Using C (KCA-102) - AKTU Question Paper 2023-24

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 2023-24. 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:2023-24
University:AKTU / UPTU

Rate this paper

Questions Asked in 2023-24

Problem Solving Using C (KCA-102) — complete question paper · 100 marks · 3 Hours

Section AAttempt all q u e s t i o n s i n b r i e f .
  • a
    Differentiate between compiler & interpreter. 2
  • b
    Describe rules of declaring identifiers. 2
  • c
    Differentiate between actual argument and formal argument. 2
  • d
    Predict how long the following loop runs? for (int x = 1; x = 3; x++) 2
  • e
    Write the data structure us ed in implementing recursion. 2
  • f
    There is a two-dimensional arra y of type integer. Write the statement to display the base address of the array. 2
  • g
    How is a null pointer created? 2
  • h
    On successful execution of the be low code predict the result, if address of
    variable ‘a’ is 210?
    void main( )
    {
      float a, *b
  • b
    = b+3;
      printf (“%d”, b);
    }
    i.  Explain the use of rectangle() functions. 2
    j.  Though we can write our program without File handling, what is  the need of file
    handling in C? 2
Section BAttempt any three o f t h e f o l l o w i n g :
  • a
    What is the use of a flow chart? List out the symbols used i n a flow chart. Draw
  • a
    flow chart to find whether the given year is a leap year or not. 10
  • b
    How switch stamen is different from else – if ladder? Construct a program in C to print the bellow pattern. The number of lines to print to be entered by the user
  • c
    Illustrate the concept of recursion and base condition of re cursion. Construct a recursive function to find the factorial of an input number N.. 10
  • d
    How a structure is different from an array? Write a C progra m to store employee details such as Empid, Name, Salary and Age for 50 employees and display the employee details who are getting salary more than 15000
  • e
    Develop a C program to copy th e contents of one file to anot her file. The file name must be pass through command line arguments. 10
Section CAttempt any one p a r t o f t h e f o l l o w i n g :
  • a
    Explain the different data types supported by C language? Ex plain primitive data types in terms of memory size, format specifier and range. 10
  • b
    What do you mean by operator precedence and associativity? E xplain all bit- wise AND, bit-wise OR and bit-wise XOR operators with suitable example. 10
  • a
    Write a program to check the input number is an Armstrong number or not. 10
  • b
    Identify the use of modular programming? Write a program by using user define function to check given number is prime or not. Porotype of function should be like this int is_prime(int)
  • a
    Illustrate the different ways to initialize a string during compile time as well as during run time. Write a program to count the number of words a nd number of characters in an input string
  • b
    Define a pointer. How do you declare and initialize a pointe r? Write a program to add the contents of an integer array using pointer. 10
  • a
    Define scope, visibility, and lifetime of a variable. Explai n in detail about all storage classes supported in C l anguage with reference to scope and lifetime, visibility, and default value
  • b
    How a structure is different from union? Discuss the concep t of nested structure. Write a program for your illustration. 10
  • a
    What are the drawbacks of static memory allocation? Write a program to allocate space dynamically to store N numbers. Find the sum and average of these numbers
  • b
    What is the use of initgraph() function? Write a program to display 50 concentric circles. 10

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

Appeared in: 2021-22 · 2023-24

2x

Differentiate between actual argument and formal argument. 2

Appeared in: 2021-22 · 2023-24

2x

What is the use of a flow chart? List out the symbols used i n a flow chart. Draw

Appeared in: 2021-22 · 2023-24

2x

How a structure is different from an array? Write a C progra m to store employee details such as Empid, Name, Salary and Age for 50 employees and display the employee details who are getting salary more than 15000

Appeared in: 2021-22 · 2023-24

2x

Develop a C program to copy th e contents of one file to anot her file. The file name must be pass through command line arguments. 10

Appeared in: 2021-22 · 2023-24

2x

What do you mean by operator precedence and associativity? E xplain all bit- wise AND, bit-wise OR and bit-wise XOR operators with suitable example. 10

Appeared in: 2021-22 · 2023-24

2x

Write a program to check the input number is an Armstrong number or not. 10

Appeared in: 2023-24 · 2024-25

2x

Identify the use of modular programming? Write a program by using user define function to check given number is prime or not. Porotype of function should be like this int is_prime(int)

Appeared in: 2021-22 · 2023-24

2x

Illustrate the different ways to initialize a string during compile time as well as during run time. Write a program to count the number of words a nd number of characters in an input string

Appeared in: 2021-22 · 2023-24

2x

Define a pointer. How do you declare and initialize a pointe r? Write a program to add the contents of an integer array using pointer. 10

Appeared in: 2021-22 · 2023-24

2x

Define scope, visibility, and lifetime of a variable. Explai n in detail about all storage classes supported in C l anguage with reference to scope and lifetime, visibility, and default value

Appeared in: 2021-22 · 2023-24