Professional Documents
Culture Documents
Computer Programming and Applications
Computer Programming and Applications
o m
SECTION B
.r c
Q 2. Attempt any FIVE questions: 5x6=30
I. Explain different data types used in C with examples.
m
II. Write a program to calculate power of a number using C language.
III.
flow chart.
pe
Define flow chart. Explain different types of shapes used in flow chart .Also give an example of a
o
.r c
IV. Explain if–else statement with the help of an example.
V.
VI.
p a
Explain different storage classes used in C.
Explain the concept of compiler and interpreter.
VII.
VIII.
r
Define Array and Pointer. How do they initialize in C.
b p e
Explain the role of MATLAB and PSIM in electrical engineering.
a
SECTION C
rp
Q 3. Attempt any THREE questions: 3x10=30
a) Define Operator. Explain all types of operators in detail with suitable examples.
b
b) Explain the following string functions with examples:
1. strlen ( )
2. strcmp ( )
3. strcat ( )
4. strcpy ( )
c) Write a program to find Sum of two matrices using C language.
d) Explain various types of loops available in C.
e) Differentiate between high level language and machine language.