Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Answer Question No. 1 and any four from the rest. 2. a) What is structure ? How does a structure
differ from an array ? How is an array of
1. Answer any five questions : 2 5 = 10 structures initialized ?
a) What are the rules for naming a b) How is a pointer variable declared ? What is
C variable ? the purpose of the data type included in the
declaration ?
b) What do you mean by local and global
variables ? c) Write a short note on 'if' statement used
in C ? 4+3+3
c) Explain the 'comma' operator used in for
loop. 3. a) Write an algorithm to evaluate a positive
expression.
d) What is meant by 'the address of a memory
cell' ? How are addresses usually b) Write a program to arrange the names of n
numbered ? people in alphabetic order. 5+5
4. a) Write a program to fit a straight line for the 7. a) Write a program to find the value of a
given data points (xi , yi ), i = 1,2,...,n by least polynomial by Horner's method.
square method.
b) What is the purpose of the indirection
operator ? To what type of operand must
b) Write an algorithm to create a single non-
the indirection operator be applied ? 5+5
circular linked list containing n elements
x1, x 2 ,..., xn and find the maximum among
them. 5+5
1. Date of Publication : 13/02/2017
5. a) What is macro ? Summarize the similarities 2. Last date of submission of
answer script by the student to
and dissimilarities between macros and the study centre : 19/03/2017
3. Last date of submission of
functions. marks by the examiner to the
study centre : 16/04/2017
4. Last date of submission of
b) Describe the use of arguments within a
marks by the study centre to
macro. How is multiline macro defined ? the Department of C.O.E. on or
before : 21/04/2017
5. Date of evaluated answer script
(2+3)+(2+3) distribution by the study centre
to the student : 30/04/2017