|
UStudy aims to provide Educational Content for Polytechnic College students based on the latest K Scheme syllabus of Tamil Nadu. |
Model Question Paper-I
Part A
Part C
16.(a) Explain the use of printf() and scanf() function with example
(or)
(b) Write a program in “c” to solve a quadratic equation.
17.(a) Write down the syntax of while and do… while statement and explain. Write example.
(or)
(b)With suitable examples explain how one dimensional and two dimensional arrays declared and initialized.
18.(a) What are the different ways of passing arguments to a function? Explain with suitable examples.
(or)
(b) With the help of a suitable example explain structure within a structure.
19.(a) Write a function named swap to interchange the values stored in two locations.
(or)
(b) Explain how an array of storage is handled using pointers.
20.(a) Explain the characteristics of object oriented programming.
(or)
(b) Explain input/output operations on files.