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

14 Problem Solving Techniques Using C F+R CBCS 2014 15 and Onwards

The document is an examination paper for the B.C.A. degree, focusing on Problem Solving Techniques in C programming. It consists of two sections: Section A requires answers to 10 short questions, while Section B consists of 5 longer questions that delve deeper into C programming concepts. The exam is designed to assess knowledge on algorithms, data types, memory allocation, file handling, and programming structures.

Uploaded by

Himanshu Bhayal
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)
14 views2 pages

14 Problem Solving Techniques Using C F+R CBCS 2014 15 and Onwards

The document is an examination paper for the B.C.A. degree, focusing on Problem Solving Techniques in C programming. It consists of two sections: Section A requires answers to 10 short questions, while Section B consists of 5 longer questions that delve deeper into C programming concepts. The exam is designed to assess knowledge on algorithms, data types, memory allocation, file handling, and programming structures.

Uploaded by

Himanshu Bhayal
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

Irilililililil il ilfi ililtliltilt

sN - 656
I semester B.c.A. Degr Nov./De c. 2o1T
"!t^^ination,
(cBcS) (F+R)
BcA - 103T : PROBLEM soLVlNG TEcHNteUES ustNe c
(2014-15 and Onwards)

Timer : 3 Hours Max. Marks : 70

lnstruction : Answer all Sections.

SECTION -A
L Answerany l0questions: (10x2=20)
1) What is an algorithm ? Write its features.
2) Why is'C'called a middle level language ? Justify.
3) What are the rules for declaring variabtes in ,C,?
4) Differentiate between while and do....while loops.
5) What is function prototype ? Give the syntax of a function prototype.
6) How are the elements in an array stored in the memory ?
7) what is string ? what is the length of the string computer ?
8) Define pointerwith example.
9) Differentiate call by value and call by reference.
10) How does Structure differ from an Union ?
11) Write any four file functions.
12) What is macro ? List the types of macros.

SECTION - B

ll. Answeranyfivequestions: (5x10=50)


13) a) Explain the structure of 'C'program with suitable programming example. 6
numbers.
b) Write an algorithm for largest of three 4
14) a) Explain the different data types supported by,C'. s
b) Explain formatted l/O functions in ,C,. s
P.T.O.
$N * 656
IlllililIilililttilIililttrffit

15) a) Explain the working of if and if-else statements


with example. 5
b) write a'C' program to generate a range of prime numbers
using function. 5
16) a) write a 'c' program to print product of two
matrices. 7
b) What is typedef ? Explain with an example.
3
17) a) Write a program to define a structure of an employee
with id, name and
basic pay, read the print the information.
5
b) Explain static and dynamic memory ailocation.
5
18) a) Explain function with arguments and with return
values with an example. 5
b) write a 'c' program to find length of a given string using pointers.
5
19) a) write a 'c'program to copy contents from one
file to another. 5
b) what are command line arguments ? Explain with example.
5
20) a) Explain file access methods in ,C,.
5
b) what is recursion ? Write a program to find factorial of a number
using
recursion.
5

You might also like