Computer Programming(Assignment - 1 & 2)
Assignment
– 1
|
1.
|
Design a flowchart for editing & executing C
Programs.
|
CO1
|
|
2.
|
Define an algorithm? Write an algorithm for
preparing various types tea & coffee.
|
CO1
|
|
3.
|
List out all operators. Describe the precedence
of operators.
|
CO1
|
|
4.
|
What is meant by a data type? Explain about various data types in detail.
|
CO1
|
|
5.
|
Write a program that covers all selection
statements.
|
CO1
|
|
6.
|
Distinguish between while, do-while and for loops
in C with suitable examples.
|
CO1
|
|
7.
|
Explain all the importance of break, continue
& goto statements.
|
CO1
|
Assignment
– 2
|
1.
|
How an array is characterized? How are they declared in C?
|
CO2
|
|
2.
|
List out some important operations performed on
arrays.
|
CO2
|
|
3.
|
Write applications of arrays.
|
CO2
|
|
4.
|
Write a C program to perform the addition,
subtraction & multiplication of two matrices using two &
multi-dimensional arrays with necessary conditions.
|
CO2
|
|
5.
|
Write a C program to read a string and convert
uppercase to lowercase & vice-versa.
|
CO2
|
No comments:
Post a Comment