#1
June 16th, 2014, 04:24 PM
| |||
| |||
Gujarat Technological University Aeronautical Engineering (Semester-I Computer Progra
Can you please give me the Gujarat Technological University Aeronautical Engineering (Semester-I Computer Programming & Utilization) previous years question papers? As you want to get the Gujarat Technological University Aeronautical Engineering (Semester-I Computer Programming & Utilization) previous years question papers so here is the information of the same for you: Q.1 (a) Draw the Block Diagram of Computer Architecture and explain each block with its functions. 07 (b) Give comparison of 1. C and C++ Programming language. 2. Flow charts and Algorithms 07 Q.2 (a) Write a C++ Program to demonstrate the operators’ hierarchy 07 (b) Define Function with different parameters: Write a Program to demonstrate the Recursive Function. 07 OR (b) Write a Program to demonstrate the “call by value” and “call by reference” concept in C 07 Q.3 (a) Define Object and Class and Give comparison of Object Oriented Language and Procedural Language. 07 (b) What is the use of Constructor and Destructor in C++? Write a C++ program to demonstrate the use of Constructor and Destructor. 07 OR Q.3 (a) What is a User Defined Data type? What is the scope and life time of variable? Explain using C++ program 07 (b) Describe the features of OOP Language 07 Q.4 (a) Write a C program to find out Armstrong Numbers between 0 and 999. Example : 153 is an Armstrong number because 13+53+33=153 07 (b) Give examples of various string operation functions demonstrate them using an example program. 07 OR Q.4 (a) What is Friend function? Write a C++ Program to show usage of Friend Function. 07 (b) What is Pointer? How to initialize the pointer and how it is different from Array? 07 Q.5 (a) Give comparison of Static Memory Allocation and Dynamic Memory Allocation with a code snippet. 07 (b) Write C++ program to explain the concept of 1. Polymorphism 2. Inheritance 07 OR Q.5 (a) Describe various types of Inheritance 07 (b) Explain branching and looping in with example code 07 Q-1 Attempt following programs in C/C++ language. (a) Write a program to read two matrix from the user and store the multiplication of two matrix in the resultant matrix. i.e. C=A * B 05 (b) Write a program to generate Fibonacci series of n given numbers using function named fibbo. i.e. 1 1 2 3…. 05 (c) Write a c++ program which is having class named student. It has two functions named readdata() and writedata() It has member elements called studID, studname, studphno, studpercentage. assume suitable data type for variable. And read the data element from the user and print the same on the screen using member functions. 04 Q-2 (a) Do as directed. 07 i) Find out the output of following C code. Assume all the libraries has been included and code is syntactically correct. Void main() { Char cAddress[30]=”Gtu Examination”; Int iX=67584; Float fZ=95.7658; Printf(“%.6s\n”,cAddress); Printf(“%7s\n”,cAddress); Printf(“%010d\n”,iX); Printf(“%10d\n”,-iX); Printf(“%*.*f\n”,7,2,fZ); Printf(“%e\n”,fZ); Printf(“%12.4e\n”,-fZ); } ii) Find out the error if any in the following code and correct it and give the output. Void main() { Int iNo[3] = {10,20,30,40}; Char cName[] = “exam”; Char cMidd[]= “university”; Strcpy(cName,cMidd); Printf(“%d”,iNo[0]); Printf (“%s”,cName); } (b) Attempt any two. 07 i) What is structure? How do we declare and access structure variables? ii) What do you mean by recursive function? Explain with small example. iii) Explain conditional operator with small example. Q-3 Do as directed. i) Draw a flow chart to find the maximum number out of three given numbers. 05 ii) What is program? Explain break and continue with example. 04 iii) Explain following string manipulation functions. Strncmp(),strlen(),strcat(),strstr(),strchr(); 05 OR Q-3 Do as directed. i) Draw a flow chart to do the sum of 10 elements read from the user. 05 ii) List out operators used in C language and explain any four with example. 05 iii) What do you mean by constants in C language? Explain types of constants in detail. 04 Q-4 Do as directed. i) What is pointer? Write a program to do swapping of two elements using pointers. 05 ii) List out the categories of functions. Explain any one category with example. 05 iii) State the difference between Structure and Union. 04 OR Q-4 Do as directed. i) Write a program to find out sum of 6 elements of array using pointer. 05 ii) What is scope, visibility and life time of variables? Explain Static variables with example. 05 iii) State the difference between entry control loop and exit control loop. 04 Q-5 Do as directed. i) Explain the concept of Class, Object, Polymorphism and Inheritance. 04 ii) Explain structure of class with example. 05 iii) What is inline function? Explain with example. 05 OR Q-5 Do as directed. i) Give the difference between object oriented language and procedure oriented language. 04 ii) Explain friend function with example. 05 iii) What are the characteristics of constructor? Explain how to initialize the variable using constructor. 05 __ Q.1 14 (a) Describe various types of computer languages and mention its advantages and disadvantages (b) What is Algorithm and flowchart? Explain both with some suitable example Q.2 Define any fourteen from the following 14 (a) (1) Token (2) Identifier (3) Constant (4) Type casting (5) Destructor (6) Storage class (7) Inline function (8) Friend function (9) Call by value (10) Call by reference (11) Pointer (12) Scope and life time of variable (13) Turnery operator (14) Object (15) ‘void’ – data type (16) Dynamic memory allocation Q.3 14 (a) What is an Array? Explain multidimensional array with suitable sample program in ‘C’ (b) Define syntax of Functions in ‘C’, Write a sample program in to and demonstrate usage of “Function with arguments and return values or Q.3 14 (a) How to initialize Pointer? Explain arrays of pointer using suitable sample program (b) Describe various string handling operation using sample ‘C’ codes Q.4 14 (a) Describe nested Structures and demonstrate using ‘C’ program (b) Explain difference between unions and structures or Q. 4 14 (a) Explain features of object oriented programming language (b) Write a C++ program to demonstrate memory allocation for objects Q.5 14 (a) Explain the usage of constructor and destructor in C++ (b) Write a C++ program to demonstrate copy constructor or Q.5 14 (a) Write short note on Polymorphism (b) Draw block diagram of computer and explain each block Contact Details: Gujarat Technological University Sabarmati, Koba Highway, Near VISAT Three Road, Nr. Vishwakarma Government Engineering College, Chandkheda, Ahmedabad, Gujarat 382424 079 2630 0499 India Map Location: Last edited by Neelurk; May 25th, 2020 at 04:33 PM. |
|