This download link is referred from the post: GTU BE 2019 Summer Question Papers || Gujarat Technological University
GUJARAT TECHNOLOGICAL UNIVERSITY
BE - SEMESTER-I & II (OLD) EXAMINATION — SUMMER-2019
--- Content provided by FirstRanker.com ---
Subject Code: 110003 Date: 10/06/2019
Subject Name: Computer Programming And Utilization
Time: 10:30 AM TO 01:00 PM Total Marks: 70
Instructions:
- Attempt any five questions.
- Make suitable assumptions wherever necessary.
- Figures to the right indicate full marks.
--- Content provided by FirstRanker.com ---
-
(a) Define (i) Compiler (ii) Interpreter (iii) Assembler. Explain the types of programming languages. [07]
-
(b) Explain the structure a C program giving example. [07]
--- Content provided by FirstRanker.com ---
-
(a) Explain increment, decrement and sizeof operators in C with examples of each. [07]
-
(b) What is nested if-else statement? Draw flowchart for a program to print maximum out of three numbers. [07]
-
(a) Write a program and draw the flowchart for a program to print the following: [07]
4321
321
21--- Content provided by FirstRanker.com ---
1 -
(b) Explain switch-case statement giving example. [07]
-
(a) Write a program to reverse a number. [07]
--- Content provided by FirstRanker.com ---
-
(b) Draw flowchart and write a program to find factorial of a given number. [07]
-
(a) Define an array. Explain declaration and initialization of two dimensional array with example. [07]
-
(b) Explain the following string handling functions: [07]
(i) strlen( ) (ii) strcpy( ) (iii) strcat( ) (iv) strcmp( ) (v) puts() (vi) gets( ) (vii) putchar( )
-
(a) Explain recursive function with example. [07]
-
(b) Explain scope and lifetime of a variable in detail. [07]
-
(a) Giving example explain Structure and Unions in C. [07]
-
(b) What is a File? Explain the entire file handling functions and mode of a File. [07]
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
This download link is referred from the post: GTU BE 2019 Summer Question Papers || Gujarat Technological University
--- Content provided by FirstRanker.com ---