0% found this document useful (0 votes)
6 views

BCSCE0101

Uploaded by

Manav Sehgal
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)
6 views

BCSCE0101

Uploaded by

Manav Sehgal
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/ 1

Total No.

of Printed Pages: [1|


Roll No...
Total No. of Questions: (09|
1/2")
B.Tech. (Allbranches) (Semester -SOLVING
PROGRAMMING FOR PROBLEM
Subject Code: BCSCEO101
Paper ID: |19110017|
Maximum Marks: 60
Time: 03 Hours
Instruction for candidates:
1. Section A is compulsory. It consists of 10 parts of two marks each.
2. Section B consist of 5 questions of 5 marks cach. The student has to attempt any 4
questions out of it.
3 Section C consist of 3 questions of 10 marks cach. The student has to attempt any 2
questions.
Section-A (2 marks each)
Q1. Attempt the following:
a
What is the purpose of scanf( )and printf() statement ?
b. What is preprocessor directive?
C.
Draw the flowchart and write a C-program to compute compound interest.
d. What is type conversion?
e. Explain switch statement with syntax and example?
f, What are 2D and 3D array?
g. List out two string manipulation function.
h. Explain function call.
1. Write a C-program syntax for creating a structure and its variable.
j. Write aC-program using functions to generate the Fibonacci series.

Section B (5 marks each)


92. What is Computer? Describe the various types of computers.
Q3. Define Algorithm. Write an algorithm to find thearea and perimeter of a circle.
94. Write a C program to find the largest of three numbers using ternary
05. Explain how pointers and arrays are related with example. operator.
06. Explain recursion. and Write a Cprogramn to compute
recursion. polynomial co-efficient "C, using
Section-C (10 marks each)
07. List all conditional control
statements used in C. Explain any two with syntax and
Cxample?
Q8. Write a Cprogram to read N
integers into an
() sum of odd numbers, (i) average of allarray and to find the
B
numbers. Output the results computed with
appropriate headings.
99. What is function? Explain
different
parameter passing and return type withclassification
examples.
of user defined functions based on

You might also like