08.03.2015 Views

Paper - COMPUTERSCIENCE 1MCA2 : computer ... - Surana college

Paper - COMPUTERSCIENCE 1MCA2 : computer ... - Surana college

Paper - COMPUTERSCIENCE 1MCA2 : computer ... - Surana college

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

PG - 481<br />

I il|ililtilil lilrllilllllrilr illl<br />

6. a) Explain the need for arrays. Write a C-program to search for a value in a list<br />

of values.<br />

I<br />

b) Explain the procedure of sorting atable of,values.rswwise implement it in C. 8<br />

7 , t) Explain'the concept of array of sf+retr*res- Give"an example pregram to<br />

illusffateit. 8<br />

b) Justify that array of pointers to strings optimizes memory space usage.Write<br />

a C-program to sort a list of strings using array of pointers to strings. 8<br />

8. Write short notes on : (4x4=16)<br />

a) Bitwise operators<br />

b) Storage classes<br />

c) Command line arguments<br />

, d) TextfileV/sbinaryfile.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!