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

13 Problem Solving Techniques Using C - April May 2021 (F+ R CBCS Y2K14)

The document is a question paper for a BCA exam on problem solving techniques using C programming language. It contains two sections - Section A with 10 multiple choice questions and Section B with 5 long answer questions. The questions cover basic concepts of C programming like data types, operators, functions, arrays, structures, pointers, files handling and more.

Uploaded by

yashkrish722
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)
94 views2 pages

13 Problem Solving Techniques Using C - April May 2021 (F+ R CBCS Y2K14)

The document is a question paper for a BCA exam on problem solving techniques using C programming language. It contains two sections - Section A with 10 multiple choice questions and Section B with 5 long answer questions. The questions cover basic concepts of C programming like data types, operators, functions, arrays, structures, pointers, files handling and more.

Uploaded by

yashkrish722
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

ililflil]ililil]illlililtilt Qp _ 450

t3
I Semester B.C.A. Examination, April/tVlay 2021
(CBCS) (Y2K14 Scheme) (F + R)
COMPUTER SCIENCE
BCA 103T : Problem Solving Techniques Using C
Time : 3 Hours Max. Marks:70
lnstruetions : 1) Answer all Sections.
2) Section -* A : Answer any ten questions.
3) Section B : Answer any five questions.

SECTION _ A
Answer any ten questions : (10x2=20)
1. "c programming is a middle level language". Justify the statement.
2. what do you mean by Reserved words in c ? Give a few exampres.
3. What is identifier ? Give example.
4. What will be the output of following code :

# include <stdio.h>
void main( )
{
int a='10, b=20, c=30;
(a>b && c++) ? a++ : c ;
printf("%d o/"dohd", a, b, c);

5. What is recursion ? lvlention disadvantages of using recursive functions.

6. Write the syntax of strcat( ) and strcmp ( ).

7. What is an array ? How one dimensional array can be declared and initialized ?

8. Why is the returntype of malloc( ) a void. ?

9. What is reference variable and how it can be created ?

10. Define macro with an example.

11. What is the difference between text and binary files ?

12. Differentiate between actual and formal parameters.


P.T.O.
QP - 450 I tililil1 ililt ilt ilil il|il l]t till

srciroN - a

Answer any five questions :

13. a) Discuss the differences between system software and application


software. Give example. 5
b) Explain how C Programming has evolved dnd its features. 5

14. a) Explain relational operators, with suitable example. 5


b) Write an algorithm to find largest number among three different numbers. 5

15. a) Write a C program to find Fibonacci series of n terms using recursion. 5


b) How is a switch statement being used and what are the limitations of using
a switch statement ?

16. a) Discuss about getchar( ), getch( ) and getche( ). Which among these three
you would prefer to use while taking password as input and why ? 7
b) Explain the use of break statement in a C program. 3

17" a) Explain different storage classes in C. 5


b) Write a C program to reverse a string without using any string handling
f unctions. 5

18. a) What is dynamic' memory allocation and how is it different from static
memory allocation ? 4
b) Explain the differences between call by value and call by reference. Give
exarnple to justify the differences. 6

19. a) Discussthe use of fopen( ). Explain different modes of opening afile. 5


b) Write a C program to copy the contents of one file to another file in
uppercase.

20. a) How are array of structure created and initialized ? lllustrate with an
example.
b) Explain with a suitable example the use of argv and argc as arguments to
main function.

You might also like