You are on page 1of 1

P.K.N.

ARTS & SCIENCE COLLEGE


TIRUMANGALAM

INTERNAL EXAMINATIONS – October 2021

Class : II Maths Marks: 25 marks


Subject : Programming with C Time : 1 hour 15 minutes
Sub. Code : Session: Date :

PART A – ( 5 X 1 = 5 MARKS)
Answer ALL questions

1. The _ function is used to display a string on the output screen.


a) puts() b) getch()
c) gets() d) All

2. The moves a cursor to new line.


a) \t b) \v
c) \n d) \a
3. The is used to terminate the block of statements.
a) goto b) break
c) continue d) stop

4. Ternary operator is
a) :? b) ?:
c) :: d) *?

5. Array elements can be accessed by .


a) index b) name
c) size d) data type

PART B – ( 3 X 5 = 15 MARKS)
Answer ALL questions
6. Short notes on jumping statements in C .
7. Explain about various input and output functions in C.
PART C – ( 1 X 10 = 10 MARKS)
Answer ALL questions
8. Define an array and explain about the declaration and initialization of 2D arrays.

Prepared by : Mrs.M.GENGA
No. of Copies Required : 5 Verified by / H.O.D

You might also like