You are on page 1of 11

NOVEMBER/DECEMBER 2017

UMA64/ESMA65 PROGRAMMING IN C
LANGUAGE
Time Three hours Maximum: 75marks

SECTIONA-(10 x 2 = 20 marks)

Answer ALL the questions.


1. Define Constant and give an example.

LDmblablmu amgugsGI 6T0$FIa%TLO GlsmO.


2. Write any two uses of Header files.

5606U Gsnúysfl coT G5u UUTS606T

6TLPEI5.

3 What are bitwise operators?


96n61ov Glaualsar 6Tr60TDmd 6T60160?

What is the command for readinga character?

5. What is the use of Goto statement?

Goto pplo LJwG0T JTEI?


6 Write the syntax of do statement.

Do nlc0T as560T 5 65 6T LPZIB.


1374
7. Write any two advantages of user defined
function.
UWTlLLLTOTT 160TuuBGLD ETTLSl60T

5T6MLDB6IT 6T(L9GI5.

8. What is the advantage of a Structure?

P5 5LMLDÚU60T LU60T Uung?

9. Write the uses of pointer in arithmetic operations.


GT 60T &5 60fls dsualsotla sL6l50tl LuI506T 6T(LP5I5.

10. How do you declare and initialize the pointer?


LQs6maT 6TOUITo dauflúuOigiuru LoDb

SECTIONB-(5 x 5 = 25 marks)

Answer ALL the questions.

11. (a) What are C tokens? Explain.


C tokens 6T6pTa) 6T60160T? oilosg%.
Or
(b) How do you assign values to variables?
Explain.
LDTDls55G TÁJOumg LogÜs06T GsTGÚuTLI?
olauil.

2 1374
12. (a) Explain increment and decrement
with an example.
operator

LDDgILD olauls6M61T
GTO%GIB8TGL60M olail
Or
(b) Write the precedence of arithmetic operators.
6T60T 65 60t1s dsualgaflc0T (LpngilmomL GT(19515.
13. (a) Explain if... else statement.
if..else a)np oilaut.
Or
(b) Explain switch statement.
Switch sa.p6»p aflaufl.
14. (a) Explain union with example.
Union g GTs5166TLQLI ola.
Or
Write short notes on return values and their
(b)
types.
LDgÚL66mOT U5gjLD

Write to print the address of a


15. (a) a programme

variable along with its value.


RLOTpluilsor (Lp85utlmuiuú I501 oumuyo
6514.LULUBDG PG $LLÓ aJmJs.
Or

(b) Explain the uses of structure pointer.


olaufl.
51LGDLILI GLlq.60T LJLI618,60OT

3 1374
SECTIONC-(3 x 10 30 marks)

Answer any THREE questions

16. Describe the four basic data types.


BTe Il4ÚUML5Jaj a16M5606T aloufl

17. Explain formatted input statement.


aJl4.66 LD`SUULL26T6i EDgÉsmoT aauf.

18 Write a program to explain the one dimensional


array.

PutloIOT GUilms6mu olcT665 6P LLO aJ6mJs.

19. Explain the flow of control in the multi-function


program.
6LQuuTLO pLLn5
aaufl
20
20. Write a program using pointer to compute the sum
of all elements stored in an array.
P auflns u9c) Gsióls5ouLGdrar GT0T6-afla engna

4 1374
APRILMAY 2020

UMA64 PROGRAMMING IN C
LANGUAGE

Time Three hours Maximum: 75 marks

SECTIONA- (10 x2 = 20 marks)

Answer ALL questions.

1 Write the types of integer constants in C.

2 List the data types available in C.

3. Give line arithmetic operators.

Write the format of conditional operator.

5. Define array.

6 Write the format of if-else statement

What are the four types of functions?

What is the use of return statement?

9 Define a pointer variable.

10. What are pointer operators?

283
SECTION B- (5 x 5 25 marks)

Answer ALL the questions.

11. (a) Explain how do you declare a variable.

Or

(6) How do you assign values of available?


Explain.
12
12. (a) Explain increment and increment operators.
Or
b) Convert to C expression

) a +b+27
mx +ny
i) a+b

13. (a) Explain for loop.


Or
(b) Write a program which finds
square of
of
numbers from 1 to 10.

14 (a) Explain functions in C.


Or
(b) Write a
program to find factorial of an
integer n using functions.

283
How do you declare and give values to a
15. (a)
pointer variable? Explain.

Or
(b) Write a program to add two variables using
pointers.

SECTION C- (3x 10 30 marks)

Answer any THREE questions.

16. Explain the various constants in C.

17. Explain the operators in detail.

18. Explain do-while statement.

and
difference between structures and
19. Explain the
unionS.

20. Explain the relation between pointers and arrays.

3 283
APRIL/MAY 2022
BMA64 PROGRAMMING IN
C LANGUAGE

Time: Three hours Maximum: 75 marks


SECTIONA-(10 x 2 20 marks)

Answer ALL questions.

1. Define string constant.


ovlaflrss 5T6T6VLG0TL U6DJuugi.
What is a variable?

3. What are assignment operators?

4. Name the three logical operators


eypengi awrassd guGyLLtsgóG Auuf05.
5. Define while loop.

6. Write down additional features of for loop.


umit grU96T 6a6l56) JDEKIG0aT 6T(1PEIB.
7. Define multidimensional arrays.
LI luor tlseT AU6Juugi.

4747
8. Define initialising two-dimensional array. 13. (a) F
UflomT aulmauils6 0tlu'slsbr 5IJÉB`M5
6 TuiD
9 Define structure.
6LLMoÚMU 6MJuIgI.

10. What is the difference between structure and


(b)
union?
6LLLDÚY wDNb Gsrúy mGu 26T6T Gamu6
6T 6T60T 2

SECTION B-(5 x5= 25 marks) 14. (a)


Answer ALL questions.
11. (a) Elaborate on data types with example.
25T60TEIL60T GLLLT 6L_ÚM olafls64qD.
Or
(b) What are trigraph characters? Explain (b)
them.
L lmo . 6r(LO`SIÉET 6T 6OTDmd 6T60T 60T ?

12. (a) Write a C program to add '10' numbers given 15. (a)
by user as input.
LLEi L D 10 6T6Ö0T6566T 2oTTG GlLIbI 6 0 u

Or
b) Discuss the different types of input and
output statements used in file with example. (b
GsTUyahl UusTU6ILb 26TafL6 LobgIb
GlactlusLQs nbpIsT uDp 6T$5is%TLGL60T
alaui.

2 4747
13. (a) Explain the different types of operators used
in C.
C-d UuGTUGLb uGa ol5Lomø
GlgwdGplsdr Libðl ailautil.

Or
b) What is else of ladder? Give an example.
6T6d6U GaLT GT6TDT T601601?25TJ60TLD

14. (a) Write a brief note on Arrays and its types


(a)
with example.
tl5T LDDgb 605556T upplu
(5851LD TT Dlumu TO155I`STLGs05LL6T
6T(L955.
Or
(b) Explain briefly about two-dimensional
arrays.
UrflLomo auflmss udpl G55LoT
lT55.

15. (a) With example explain user-defined


functions.
2-5TT60TEFIL6T LET-l4.60 LIGðoT(O) GlzudUTGBmnT
oilaTsesaLÒ.
Or
(b)
(b) Write elaborate note on structure with
example.
25TT60T$GIL6T LLMLDLIMLIÚ upplu
aflauraT (5Dunu 6T(LPEI5.
3 4747
SECTIONC-(3x 10 =30 marks)
Answer any THREE questions.

16. Discuss in detail about Declaration of varibles.


Gaulwya ADloiluy uoW olflats dilaunslsza|b.

17. Write short note on formatted input and output.


lqULO`BIULL 2refG LoppLb dauaflui uppl

18. Explain different looping statements with syntax


in C.
C- UuTL6SsUuGo GlauáGaug
60 LDLUQL6T
oflaT 6T(95
19. Give a brief note on initialisation of one-
19
dimensional array with example.
5DILiLu 25TJ0T55IL60T ol5TGlE556jLÒ.

20 Discuss about a multi-function program with


examples.
u GlsuduTLO Jmau uppl 5T680`GIL6T
adlaumsb8ajt).

4747

You might also like