0% found this document useful (0 votes)
542 views2 pages

FPL PRELIUM PAPER 2024

Uploaded by

chhayankvaidya11
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
542 views2 pages

FPL PRELIUM PAPER 2024

Uploaded by

chhayankvaidya11
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

TSSM’s

Bhivarabai Sawant College of Engineering and Research, Narhe, Pune-41

Department of Engineering Science


F.E. (First Semester) PRELIMINARY END-SEM EXAMINATION, DEC 2024
FUNDAMENTALS OF PROGRAMING LANGUAGE (2024 PATTERN)
(2024 PATTERN)
Time : 2½ Hours Maximum Marks : 70
Date: 14/12/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]

Q1. (a) Define Flowchart with suitable example of flowchart? [3M]


(b)Define an identifier in C. Explain rules of naming an identifier? [3M]
(c)Explain data types in C with suitable example? [4M]
(d)Explain different storage classes in C? [4M]

OR

Q2. (a) Define Algorithm with suitable example of algorithm? [3M]


(b)What do you mean by C keywords? Enlist a few keywords of C languages? [3M]
(c)Define a constant in C. What are the different types of constants in C? [4M]
(d)Write an algorithm and draw flowchart for Simple interest calculation? [4M]

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.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy