Monday, September 24, 2018


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


Computer Programming(Tutorials from 1 to 4)

Tutorial – 1

1.
Define a flow chart. Summarize different symbols used in a flow chart.
CO1
2.
Illustrate the necessity of precedence rules in evaluation of expressions.
CO1
3.
Explain primitive data types and its sizes.
CO1


Tutorial – 2

1.
Write a C program to prepare electricity bill by assuming appropriate conditions.
CO1
2.
Design an algorithm to check the given number is Armstrong number or not.
CO1
3.
Design an algorithm to check whether the given number is a Prime number or not using break. Draw the flow chart and Write a C program.
CO1


Tutorial – 3

1.
Define Array? List out the limitations of an array.
CO2
2.
How are the elements read and written while using arrays?
CO2
3.
Construct a C program to sort the elements of an integer array.
CO2


Tutorial – 4

1.
Define a string. List out six string handling functions with examples.
CO2
2.
Describe arithmetic operations on characters with suitable examples.
CO2
3.
Write a C program to concatenate the given two strings.
CO2