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

FPL Assignments

Uploaded by

sarthakkusundal
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)
28 views2 pages

FPL Assignments

Uploaded by

sarthakkusundal
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

Assignments

Assignment No: 1
Q1. Write History and importance C language
Q2 . What are Tokens, Keywords and Identifiers, Constants, Variables, Data types in C
programming ? write with examples of each
Q3. state and write syntax for declaration of variables
Q4. Define Symbolic Constants, declaring a Variable as Constant
Q5. write with example for declaring a Variable as Volatile

Assignment No: 2
Q1. What are Operators and Expressions?
Q2 . write the difference between Arithmetic Operators and Relational Operators with
program code.
Q3. write difference betweenLogical Operators and Assignment Operators with program
code.
Q4. write difference between Increment and Decrement Operators with program code.
Q5. write difference between Conditional Operators, Bitwise Operators with program code.

Assignment No: 3
Q1. How to write a Simple If Statement and If-Else statement? explain with program code.
Q2. How to write a If-Else and Else-If statement? explain with program code.
Q3. write difference between Switch Statement and Goto Statement
Q4. What is a Decision Making and Looping statement? List out with syntax
Q5. Write a Simple program to define While Statement, Do-While, For Statement, Break and
Continue, write separate program code for each.

Assignment No: 4
Q1. What is Arrays: explain with program code.
Q2. Write a simple Program to calculate the result of any five subjects using an array.
Q3. Write any 4 Characteristics of Arrays and Strings
Q4. Explain with Syntax of Declaration and Initialization String Variables, Reading Strings
from Terminal, Writing Strings to Screen, Putting Strings Together, Comparison of Two
Strings.
Q5. write difference between One Dimensional Arrays and Two –dimensional Arrays
Assignment No: 5
Q1. Whats is User Defined Functions: write in brief about Definition of Functions, Return
Values and their Types, Function Calls, Function Declaration,
Q2. Write a short note on Category of Functions:
1. No Arguments and no Return Values
2. Arguments but No Return Values
[Link] with Return values
[Link] Arguments but Returns a Value
[Link] that Return Multiple Values
[Link] of Functions
7. Recursion
Q4. What is a Structure? Structure Type Declarations, Structure Declarations, Referencing
Structure Members
Q5. Write a notes on Referencing Whole Structures, Initialization of Structures.

You might also like