cs218
cs218
ilfiiltfltllllllililililrililil] 11228
Section - A
t AnsweranyTENofthg following: (10x2-20)
l. What is algorithm?
4. "
What is loop? Listthetypes ofloop?
g 1- Dimensional u.rray?
.
7 What is the significance ofNULL character?
8. What is structure? Give an example.
10. Whatispointer?Giveanexample
P.T.O
rrililffilriltil]tliltililil]
(2\ 11228
Section - B
IL AnsweranySlXofthefollowing: (6x5:30)
13. Explain the differenttypes ofprogramming languages?
Section - C
21. Ctassify the operators in 'C' explain terrrary operaior witir an exarnpie.
22. Explain on conditional control statements with their syntax and example.
23. Write aC program to find factorial of a given positive number using function.
24. Explain on string handling functions with their syntax and exampie.
25. What is structure? How do we declare a structure? Give its syntax with an example.