0% found this document useful (0 votes)
54 views4 pages

PPS CSE 101 Assignment

This document contains assignments and questions related to the C programming language organized by unit and question number. The questions cover topics such as algorithms, flowcharts, data types, operators, conditional statements, loops, arrays, strings, functions, pointers, structures, file handling and more. There are a total of 4 units and 112 questions included in this assignment document.

Uploaded by

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

PPS CSE 101 Assignment

This document contains assignments and questions related to the C programming language organized by unit and question number. The questions cover topics such as algorithms, flowcharts, data types, operators, conditional statements, loops, arrays, strings, functions, pointers, structures, file handling and more. There are a total of 4 units and 112 questions included in this assignment document.

Uploaded by

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

SUBJECT YEAR SECTIONS BRANCH

PPS 1ST ALL CSE

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.

ASSIGNMENT Q NO QUESTIONS (UNIT 2)


1 1 Explain what are conditional statements? Write a program in c language to find factorial of a number?
1 2 Differentiate between while and do while loop using example.
1 3 Explain conditional statement and branching statement with example.
1 4 write a short note on numeric data types
2 5 what is enumeration data type? Explain its use.
2 6 What is Consequent branching?
2 7 What are #include, #define directives.
3 8 Explain for loop with a c program?
3 9 write a c program to check the given numer is prime no. Or not?
3 10 Explain the list down different types of operators. Explainany one category in detail.
4 11 write the recursive programme to print febonic series of a given number.
4 12 Explaindo and while loop with suitable example?
4 13 write short notes on- a. Local and global variable b. Actual and formal argument
4 14 Explain what do you mean by preprocesses?
ASSIGNMENT Q NO QUESTIONS (UNIT 3)
1 1 Define Exit and return statement?
1 2 Explain the following keywords with their use in programme a: goto b: return c: break
1 3 Explain the significance of defalt case in switch statement.
1 4 Write a programme to print factors of c programme.
2 5 Explain static and dynamic initialization of array wih example.
2 6 write a c programme to solve array element.
3 7 Explain the concept of Row major.
3 8 Write a c programme to multiply two matrics?
3 9 Explain coloum major in two dimenssional array?
4 10 write a c program to sort the numberts in ascending orders.
11 Differentiate between call by value and call by reference.
12 Explain the concept of call by value and call by reference.
13 Explain following string functions:
(a) strlen
(b) strcut
4 14 what is recursion? Explain its type and write a c program for factorial of a given number using recursion.
4 15 write a c program for multiplication of two matrix order 3*3.
4 16 Write a programme to add two matrix.
4 17 How we declare data structure and type checking of data structure ? Explain with example.

ASSIGNMENT Q NO QUESTIONS (UNIT 4)


1 1 How to define a pointer in c program?write a program in c to swap two numbers using pointers.
1 2 Explain structure in c , how to define structure template, variable
3 What are the operations on structure explain with example.
4 write a program for an employee in list of employees.
2 3 differentiate between builting function and user defined function along with one example?
2 4 write a program to create list of students details & display them.
3 5 what are pseudocode and flow chart? Explain with example
3 6 what do you mean by format parameter and actual parameter.
3 7 Write the recursive programme to swap two numbers in c language
3 8 What is dynamic memory allocation? Explain malloc(),calloc,realloc() and free() function using c program.
4 9 What is a file what are its type and mode of a file. Write a c program to copy contentof one file to another fi
4 10 write a program to displaythe following pattern
*****
***
**
*

4 11 Explain file handling of c language


4 12 explain union in c?
o find factorial of a number?
return c: break

given number using recursion.

in with example.

mbers using pointers.

th one example?

ree() function using c program.


py contentof one file to another file.

You might also like