PPS CSE 101 Assignment
PPS CSE 101 Assignment
ASSIGNMENT Q No QUESTION(UNIT 1)
1 1 write an algorithm to calculate the largest numbers in any three numbers.
1 2 what is a flow chart draw a flowchart to check a number is even or add?
1 3 write an algorithm and draw a flowchart to calculate the simple interest.
1 4 Describe the different steps to solve logical and numerical problems?
1 5 Differentiate between flow chart and algorithm ?
2 6 Write the flowchart to find out the following equation: ax 2+bx+c=0
2 7 Define the concept of exception handling.
2 8 Write down the algorithm to calculate factorial of given number.
3 9 Explain importance of c language.what is the output of given algorithm
#define PRODUCT(n)n*n
void main()
{ int j; j=64/PRODUCT(4);
printf("%d",j);}
3
3 10 Define keyword, constant and variable?
3 11 Differentiate between computer software and hardware?
3 12 What is the purpose of adding compunents in a program?
4 13 Define relational operator?
4 14 Why do we use header files?
4 15 Explain size of() with example??
4 16 Write a short note on type casting?
4 17 Write detailed notes on C data types
4 18 Explain object and executable code.
4 19 Explain storage classes.
in with example.
th one example?