II Internal Nov 2023
II Internal Nov 2023
1 All output operations are carried out through function called such 1 All output operations are carried out through function called such
as _______ as _______
(a) printf (b) scanf (c) stdio.h (d) getchar (a) printf (b) scanf (c) stdio.h (d) getchar
(a) { } (b) [ ] (c) ( ) (d) < > (a) { } (b) [ ] (c) ( ) (d) < >
3. Array is a ____________ type variable collection. 3. Array is a ____________ type variable collection.
(a) similar (b) multi (c) two (d) none (a) similar (b) multi (c) two (d) none
4. A ______ is a symbol that tells the computer to perform certain 4. A ______ is a symbol that tells the computer to perform certain
mathematical or logical manipulations. mathematical or logical manipulations.
(a) operator (b) expression (c) constant (d) precedence (a) operator (b) expression (c) constant (d) precedence
5. Four dimensional array requires —————— 5. Four dimensional array requires ——————
square brackets. square brackets.
(a) 1 (b) 2 (c) 3 (d) 4 (a) 1 (b) 2 (c) 3 (d) 4
6. No. of elements in a two dimensional array of size 6. No. of elements in a two dimensional array of size
mn is ——————. mn is ——————.
(a) m n (b) mn (c) m n (d) (mn)2 (a) m n (b) mn (c) m n (d) (mn)2
10. Explain Sca f sand printf statement.. 10. Explain Scan f and printf statement..
( OR ) ( OR )
Explain the concept of precedence of operation. Explain the concept of precedence of operation.
. .
11. Write a program using arrays to find the maximum value. 11. Write a program using arrays to find the maximum value.
( OR ) ( OR )
Explain two dimensional arrays.. Explain two dimensional arrays..
12. Explain Pointer and Arrays are used in structures. 12. Explain Pointer and Arrays are used in structures.
( OR ) ( OR )
How do you access structure member Explain. How do you access structure member Explain.
III Answer all the questions Part – C 10x2=20 III Answer all the questions Part – C 10x2=20
13. Write a program to print numbers from 1 to 10 using do-while 13. Write a program to print numbers from 1 to 10 using do-while
loop.. loop..
15. Explain in detail about structure with example. 15. Explain in detail about structure with example.