GTU First Year Engineering (Semester 1)
Computer Programming & Utilization
June 2013
Total marks: --
Total time: --
INSTRUCTIONS
(1) Assume appropriate data and state your reasons
(2) Marks are given to the right of every question
(3) Draw neat diagrams wherever necessary


1 (a) Draw block diagram of computer system. Explain each part of it
5 M
1 (b) List and explain types of computer languages.
5 M
1 (c) What is flow chart? Draw the flow chart to add first 20 odd numbers
4 M

2 (a) List and explain fundamental data types of C language.
5 M
2 (b) Explain different types of operators used in C .
5 M
2 (c) What is Type conversion and Type casting? State difference between them.
4 M

3 (a) What is looping? Explain Entry control and Exit control loops with appropriate flowchart and syntax.
7 M
3 (b) Write a program to reverse the number. (e.g. 456 ? 654)
7 M

4 (a) State the syntax of Switch-case statement. Explain it with appropriate example.
7 M
4 (b) Write a C program to count ODD and EVEN numbers from given 10 numbers.
7 M

5 (a) Explain various string functions.
7 M
5 (b) Write a C program to count number of words in a given string
7 M

6 (a) Explain the difference between call by value and call by reference with suitable examples.
7 M
6 (b) What is recursive function? Explain with suitable example.
7 M

7 (a) What is pointer? Explain how pointers are declared and initialized.
4 M
Attempt any two :-
7 (b) (i) Difference between Structure and Union.
5 M
7 (b) (ii) Write a C program to print following pattern.
5 4 3 2 1
  4 3 2 1
    3 2 1
      2 1
        1
5 M
7 (b) (iii) Explain if-else-if ladder with appropriate flow chart and C syntax
5 M



More question papers from Computer Programming & Utilization
SPONSORED ADVERTISEMENTS