Gujarat Technological University
Gujarat Technological University
: ________
Enrolment No.___________
Date: 12-06-2014
Total Marks: 70
Instructions:
1. Attempt all questions.
2. Make suitable assumptions wherever necessary.
3. Figures to the right indicate full marks.
Q.1
Q.2
Q.3
Q.3
Q.4
07
(a) What is an array? What does an array name signify? Explain 1-D and 2-D
arrays with suitable example program.
07
07
05
02
07
OR
(a) Explain Bitfield with suitable example.
(b) Differentiate between compiler and interpreter.
(c) What is conditional branching statement? Explain if, if-else, if-else-if ladder.
05
02
07
(a) Write an algorithm and draw a flow chart to find the maximum number out of
three given numbers.
(b) Discuss dynamic memory allocation in detail. Differentiate between static
memory allocation and dynamic memory allocation.
07
07
07
07
OR
Q.4
Q.5
Q.5
(a) What is type conversion? Explain implicit and explicit type conversion with
example.
(b) What is a macro? Differentiate between macro and function.
(c) What is preprocessor directive? Explain any two preprocessors with their usage.
07
03
04
07
04
03
05
04
05
*************
1