S.B. Roll
No……
Computer Programming
and Applications
3rd
Exam/ECE/0264/May’09
Duration 3
Hrs.
Section –A
1.
a.
‘C’ language ahs been developed by ________
b.
If ‘a’ is an integer variable, then a=5/2 will
return value _____
c.
________ data items are real data items that
provide greater precision than is normally provided by the float real data
items.
d.
The ________ statement causes the loop to be
terminated.
e.
The continue statement is used to transfer the
control to the _____ of the loop
State true or false
f.
Like decimal number system, octal and
hexadecimal system can also be used in ‘c’ language
g.
An identifier/ variable name can begin with
_________ (underscore )
h.
A break statement cannot be used to exit from a
statement block in a switch statement.
i.
The loop in a do ….. while structure is executed
at least once.
j.
In C, an array of characters is called string.
Section
–B
Note :
Attempt any five questions
2.
a.
Draw the flowchart to find the smallest of given
three numbers.
b.
What is library function? Mention its sues.
c.
Explain scanf() and printf () function in C
d.
Explain the various if structures available in
‘C’ language.
e.
What happens if the condition in a while loop is
initially false? Explain with example
f.
Differentiate between call by value and call by
reference.
‘Section
–C
Note :
Attempt any three questions
3. Differentiate between the following with
suitable examples. structure
and union structure
and arrays
4.
Write a program in ‘C’ language to multiply two
matrices.
5. What do you mean by precedence and associatively
of operators ? explain the arithmetic and logical operators with their
precedence and associatively.
7.
Explain the uses of the following software
packages
a.
Electronic workbench
b.
Circuit maker
0 comments:
Post a Comment
North India Campus