0% found this document useful (0 votes)
1 views2 pages

Kca102 Problem Solving Using C

The document is an examination paper for the MCA (Semester I) course on Problem Solving Using C, scheduled for 2024-25. It consists of multiple sections with questions covering various topics such as C programming concepts, flowcharts, data types, recursion, and file handling. Students are required to attempt all sections, and the paper is structured to assess both theoretical knowledge and practical programming skills.

Uploaded by

kumar1908rohit
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
1 views2 pages

Kca102 Problem Solving Using C

The document is an examination paper for the MCA (Semester I) course on Problem Solving Using C, scheduled for 2024-25. It consists of multiple sections with questions covering various topics such as C programming concepts, flowcharts, data types, recursion, and file handling. Students are required to attempt all sections, and the paper is structured to assess both theoretical knowledge and practical programming skills.

Uploaded by

kumar1908rohit
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Printed Page: 1 of 2

Subject Code: KCA102


0Roll No: 0 0 0 0 0 0 0 0 0 0 0 0 0

MCA
(SEM I) THEORY EXAMINATION 2024-25
PROBLEM SOLVING USING C
TIME: 3 HRS M.MARKS: 100
Note: Attempt all Sections. In case of any missing data; choose suitably.

SECTION A
1. Attempt all questions in brief. 2 x 10 = 20
Q no. Question CO Level
a. Define keyword and identifier. 1 K1
b. How Logical error is different from Syntax error? 1 K2
c. Write a C program to check number is an even number or odd number. 2 K2
d. Write a program in C language to print al natural numbers from 1 to 100. 2 K2
e. Define Pointer to Pointer. 3 K2
f. Why continue statement is required in C programming? Also write an 3 K2
example of continue statement.
g. How can user make an array of pointers to struct in C language. 4 K2
h. What is the size of the structure pointer in C? 4 K2
i. What are the ways in which a user interacts with a GUI? 5 K3

2
j. In which type of files are library functions stored? 5 K3

13
90

2.
SECTION B
_2

24
2. Attempt any three of the following: 10 x 3 = 30
P2

a. Define Flowchart. What are the different properties of Flowchart? Draw 1 K1

5.
a flowchart to check number is prime number or not.
5D

.5
b. Define switch case statement. Write a C program to check character is a 2 K2

17
vowel or not.
P2

c. Write a Program in C to check either the matrix is a symmetric matrix |1 3 K2


Q

or not.(assume the order of matrix as 3*3).


AM

d. Differentiate between structure and union in detail. 4 K2


e. What are the different modes of file opening? Write a C code to count 5 K2
total spaces and lines used in a text file.
9
:3

SECTION C
02

3. Attempt any one part of the following: 10 x 1 = 10


9:

a. Explain the following: 1 K1


(i) Linker & Loader
5
02

(ii) Interpreter & Assembler


(iii) Features of Operating System
-2

b. Explain different data types used in C programming language in detail. 1 K1


ar
M

4. Attempt any one part of the following: 10 x 1 = 10


7-

a. Define recursion. Write a C program to find the GCD of 2 integers using 2 K2


|0

recursive function.
b. What are the different conditional statements used in c programming 2 K2
language? Write a C program to check either the year is a leap year or
not.

1|Page
QP25DP2_290 | 07-Mar-2025 9:02:39 AM | 117.55.242.132
Printed Page: 2 of 2
Subject Code: KCA102
0Roll No: 0 0 0 0 0 0 0 0 0 0 0 0 0

MCA
(SEM I) THEORY EXAMINATION 2024-25
PROBLEM SOLVING USING C
TIME: 3 HRS M.MARKS: 100
5. Attempt any one part of the following: 10 x 1 = 10
a. Differentiate between string and character. Write a C program to check s 3 K2
A palindrome string or not.
b. What are the different parameter passing techniques? Explain each 3 K2
technique with suitable example.

6. Attempt any one part of the following: 10 x 1 = 10


a. Compare different types of storage classes with the help of suitable 4 K2
example.
b. Write a C program to store name, mobile number, age, fess deposited of 4 K3
100 students and print all the records of those students whose age is 25
or above.

7. Attempt any one part of the following: 10 x 1 = 10


a. Define the different functions used for dynamic memory allocation. 5 K2
b. How can we use .txt file as command line input in c language? also 5 K3

2
explain how to pass a file as a command line argument in C?

13
90

2.
_2

24
P2

5.
5D

.5
17
P2

|1
Q

AM
9
:3
02
9:
5
02
-2
ar
M
7-
|0

2|Page
QP25DP2_290 | 07-Mar-2025 9:02:39 AM | 117.55.242.132

You might also like