Programming Concepts Using C Language, Papers of C programming

Mid-Term Exam Question Paper December 2021

Typology: Papers

2020/2021

Available from 12/30/2021

Graphian_Engineer
Graphian_Engineer 🇮🇳

1 document

1 / 2

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Roll
No
.............
..
................ .
TBC-101
~-
C.
A.
_
(F1RST
SEMESTER)
MID
SEM~STER
EXAMINATION,
NOV.,
2021
PR(?GRAMMING
CONCEPTS
USING
C
LANGUAGE
Time
: 1 ½·
Hours
Maximum
Marks
:
50
Note
: (i) Answer all the questions by choosing any one
of
the sub-questions.
(ii) Each question carries
IO
marks.
1.
(a) What is the execution process
of
a
'C
'
program?
How
can we say that
'C'
is a middle level language?
(COI)
OR
{b)
What are different control statements in C programming language ?
How
is while loop different from
do--while
loop ? Explain with the
. '
help
of
an example. (CO2)
+· (a) What is the use
of
static and auto variables? Explain with
the
help
of
a
suitable example. (CO2)
OR
(b) Write a program to calculate factorial
of
a number entered by user.
,
Number should
be
less than 10,
if
it is greater than
or
equal
to
10 it
should print
in
reverse order. (CO2)
P.
T.
0.
pf2

Partial preview of the text

Download Programming Concepts Using C Language and more Papers C programming in PDF only on Docsity!

Roll No. .............. .................

TBC-

~- C. A. _(F1RST SEMESTER)

MID SEM~STER EXAMINATION, NOV., 2021

PR(?GRAMMING CONCEPTS USING C LANGUAGE

Time : 1½·Hours Maximum Marks : 50 Note : (i) Answer all the questions by choosing any one of the sub-questions. (ii) Each question carries IO marks.

  1. (a) What is the execution process of a 'C ' program? How can we say that 'C' is a middle level language? (COI) OR

{b) What are different control statements in C programming language?

How is while loop different from do--while (^) .loop '? Explain with the help of an example. (CO2)

+· (a) What is the use of static and auto variables? Explain with the help of a suitable example. (CO2) OR (b) Write a program to calculate factorial , of a number entered by user. Number should be less than 10, if it is greater than or equal to 10 it should print in reverse order. (^) (CO2)

P. T. 0.

( 2)

). (n) What do 'you understand by the terms .data trPes, keywords, variables and constants? (^) (CO2) OR

Q>) Write a program · to draw the following structure (number of rows

entered by user): (C03)

• •^ -

  • • •^ •^ •^ •
    • (^) • (^) • •
  1. (a) What are different relational operators'^ I? Write a program to differentiate : (i) && and& (ii) continue and break. ·

(C03)

OR

(b) Write a program to print sum of all even numbers between user entered two values (assuming first value is less than se~ond value). (CO2)

  1. ,(a) Write a program to print maximum of three numbers using if-else statement (CO2) OR (b) Write a menu-driven program to implement simple calcul~tor. (CO2)
TBC-101 330

~