0% found this document useful (0 votes)
4 views1 page

Assignment Questions

The document outlines an assignment consisting of two sections. Section 1 includes programming tasks in C, such as creating a simple calculator, checking for Armstrong numbers, and sorting arrays. Section 2 covers theoretical concepts related to C programming, including program structure, iteration statements, data types, operators, execution phases, searching and sorting techniques, parameter passing, and number systems.

Uploaded by

kroopareddy639
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)
4 views1 page

Assignment Questions

The document outlines an assignment consisting of two sections. Section 1 includes programming tasks in C, such as creating a simple calculator, checking for Armstrong numbers, and sorting arrays. Section 2 covers theoretical concepts related to C programming, including program structure, iteration statements, data types, operators, execution phases, searching and sorting techniques, parameter passing, and number systems.

Uploaded by

kroopareddy639
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

ASSIGNMENT QUESTIONS

SECTION - 1
1. Write an algorithm, flowchart and C Program to Make a Simple Calculator with
opeartions(+,-,*,/,%)
2. what is an armstrong number and write a C Program to check given number is Armstrong
number or not
3. Write an algorithm, flowchart and C Program to print 1 to N number of Prime Numbers
4. Write an algorithm, flowchart and C Program to Check Whether a Number is a Palindrome
or Not
5. Write an algorithm, flowchart and C Program to Find the Maximum and Minimum element
in an Array
6. Write an algorithm, flowchart and C Program to Sort the Elements of an Array in
Descending Order
7. Write an algorithm, flowchart and C Program to Sort the Elements of an Array in Ascending
Order
8. Write C Program to Check Whether Two Matrices of 3x3 Are Equal or Not
9. Write an algorithm, flowchart and C Program to Swap Two Numbers
10. Write an algorithm, flowchart and C Program to print your name using array.

SECTION - 2
1. Explain in detail the structure and execution phases of a C program.
2. Explain the different types of iteration statements in C with syntax and examples.
3. Explain the different Data types in C with syntax and examples.
4. Explain the different Operators in C with syntax and examples.
5. Write about Execution phases in C (Compiler, interpreter, Linker, loader), syntax and
semantics in compilation
6. Explain in detail step by step procedure of Searching Techniques - Linear Search and Binary
search with C example program
7. Explain in detail step by step procedure of Sorting algorithms-Bubble sort and selection
sort with example C program
8. Explain in detail step by step procedure of parameter passing techniques- call by value and
call by reference in functions.
9. Explain in detail for Number system: Decimal, binary, octal, hexa decimal systems with
examples.
10. Difference between while, do-while and for Iteration statements (min 5 differences)

You might also like