S.B. Roll
No……
Computer Programming
and Applications
3rd
Exam/ECE/0264/Des’09
Duration 3
Hrs.
Note Attempt
all questions.
Section –A
1.
Do as
directed:
a.
The main drawback of C is that it has poor error
detection (T/F)
b.
C program must have a main ( ) function (T/F)
c.
In signifies ______
d.
The assignment operator is the equal sign
_______
e.
The ___________ operator only works with integer
operands.
f.
The first argument of the print f function is
called the _____
g.
The for flop is C’s form of an unconditional
loop (T/F)
h.
The _________ statement allows branching
depending upon a condition.
i.
If-else statement is used to decide between two
course of actions (T/F)
Section
–B
Note:
Attempt any five questions
2.
Explain main sue of structure in C with example.
3.
All C programs must include a function with name
‘main’. Explain with example
4.
Main ()
{
Print f(‘hallo , world /n’)
}
Explain error in above program
5.
Write a C program that reads in two numbers,
stores them and prints out the sum.
6.
Explain function of scanf() with example.
7.
Explain rules for evaluating expression
involving the logical operators.
Section –C
Note : attempt any two questions
8.
Explain features of 20 sim. What is new in the
latest version of 20 sim.
9.
Explain the term ‘MATLAB- The language of
technical computing.
10. Explain storage classes which can be used in a C program.
0 comments:
Post a Comment
North India Campus