0% found this document useful (0 votes)
65 views3 pages

C Programming Algorithms & Concepts

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

C Programming Algorithms & Concepts

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

Unit – I

***1) Define an algorithm. Write an algorithm for finding the


roots of the quadratic equation.
***2) What is a flowchart? Draw a flow chart for the given
number is prime or not.
***3) What is a datatype. Explain briefly data types in C
Language?
***4) Explain any one or two conditional control statements
(simple if, if else, nested if, ladder if) with syntax, flowchart and
example program.
***5) Explain any one or two loop control statements (while, do
while, for) with syntax, flowchart and example program.
***6) Explain case control statements (switch) with syntax,
flowchart and example program.
7) Explain briefly storage classes with examples.
8) Explain briefly command line arguments with an example
program.
***9.Explain different types of operators

Unit – II
***1) Define an array. Explain how single/two dimensional
arrays are declared & initialized with syntax and how the array
elements are accessed with an example program.
2) Define a string. Write the string declaration and initialization
with an example.
***3) Explain briefly explain string handling functions with
syntax.
4) Explain how the structures are declared, initialized and
accessing the elements of the structures with syntax and
example.
5)*** Explain briefly arrays addition?
6***Explain about matrix multiplication using arrays?
unit – III
1) ***What is a file. Explain the operations of the files.
2) **Explain the File I/O Functions with syntax and example.
3) Explain the File status Functions with syntax and example.
4) Write a C Program to display the file contents using
command line arguments.
5) Write a C Program to merge the two files data into third file.
6*** Explain about preprocessor directives?

Unit- IV
1) What is a function. Explain the any one of the functions with
suitable example.
2) ***What is recursive function. Write a C Program to find the
Factorial value of a given number.
3) ***What is recursive function. Write a C Program to find the
GCD of two given numbers.
4) ***Explain briefly parameter passing techniques (call by
value and call by reference) with example programs.
5) ***What is Dynamic Memory Allocation. Explain briefly
Dynamic Memory Allocation functions with an example.
6)*** Explain about recursive function with example fiboacci
series?
Unit – V
1)*** Define searching. Explain the process of Linear/Binary
Searching.
2)Write a C Program to find the key element in given list using
Linear/Binary Search Technique.
3) *** Define sorting. Explain the process of Bubble Sort?
4) ***Write a C Program to arrange the array elements in
ascending order using Selection Sort Technique.
5.***Explain the insertion sort with example?

You might also like