FPL PRELIUM PAPER 2024
FPL PRELIUM PAPER 2024
Instructions : i] is compulsory, Solve any one question out of Q. No. 1 or Q. No. 2 , Q. No. 3 0r Q. No. 4 , Q.No. 5
or Q. No. 6 , Q. No. 7 or Q. No. 8 , Q. No. 9 or Q. No. 10.
ii] Figures to the right indicate full marks.
iii] Neat diagrams must be drawn wherever necessary.iv]
OR
Q3. (a). List all the relational operators along with their names, symbols, functions, and example. [4M]
(b).Explain logical operators with their types and truth table? [5M]
(c) Write a C program for a pre-increment operation. [5M]
OR
Q4. (a). List all the assignment operators along with their names, symbols, functions, and examples. [4M]
(b). Explain conditional (ternary) operators with a suitable example. [5M]
(c) Write a C program for a post-increment operation. [5M]
Q5. (a). Explain for loop with syntax, flowchart and example. [4M]
(b).What are the different decision control statements in C? List different conditional/branching [5M]
statements in C and loop statements?
(c) Write a program to find whether a number is even or odd. [5M]
OR
Q6. (a).Explain if else statement with syntax, flowchart and example. [4M]
(b). Explain switch case with syntax, flowchart and suitable example. [5M]
(c)Write a program to find factorial of a number. [5M]
Q7. (a). Explain one dimensional array with syntax and its initialization. [4M]
(b)Define a string in C? Write syntax for declaration of an array to represent strings. [5M]
(c) Write a program for reading and writing 1 to 10 numbers using an array. [5M]
OR
Q8. (a).Explain two dimensional array with syntax and its initialization. [4M]
(b).Explain different string handling functions in C. [5M]
(c)Write a program for reading and writing strings using gets() and puts(). [5M]
Q9. (a).What is a structure? Explain structure declaration and structure initialization. [4M]
(b).Explain function declaration, function definition and function call. Give a suitable example. [5M]
(c) Write a program to find factorial of a number suing recursion. [5M]
OR
Q10. (a).What are the elements of user defined functions? Explain each briefly. [4M]
(b).What are the categories of functions. [5M]
(c)Write a program to represent 5 student data using structure. (Consider fields as roll no., name and [5M]
percentage.