Exam Details
Subject | programming in c++ | |
Paper | ||
Exam / Course | diploma engineering | |
Department | ||
Organization | Gujarat Technological University | |
Position | ||
Exam Date | May, 2017 | |
City, State | gujarat, ahmedabad |
Question Paper
1/3
Seat No.: Enrolment
GUJARAT TECHNOLOGICAL UNIVERSITY
DIPLOMA ENGINEERING SEMESTER -III• EXAMINATION SUMMER 2017
Subject Code: 330702 Date: 03 05 2017
Subject Name: PROGRAMMING IN
Time: 02:30 PM TO 05:00 PM Total Marks: 70
Instructions:
1. Attempt all questions.
2. Make Suitable assumptions wherever necessary.
3. Figures to the right indicate full marks.
4. Use of programmable Communication aids are strictly prohibited.
5. Use of only simple calculator is permitted in Mathematics.
6. English version is authentic.
Q.1
Answer any seven out of ten.
14
1.
List any Two differences between C and
C C difference
2.
Define Class.
Class.
3.
List any two Advantages of Constructor.
Constructor
4.
List any two Applications of
C Application
5.
Define Inheritance.
Inheritance
6.
Define Operator Overloading.
Operator Overloading.
7.
Define call by Value.
Call by Value.
8.
List any Two Basic Data Types used in
C Basic
9.
List any two Stream Classes used in
C Stream Classes
10.
Define Variable.
Variable.
Q.2
Explain any two operators used in
03
C Operator
OR
Explain structure of Program.
03
C Structure
Write a Program to Swap two Numbers without using Third Variable.
03
variable Program
2/3
OR
Explain Bitwise operator.
03
Bitwise
Explain Friend function with example.
04
Friend Function
OR
Define Constructor. List type of Constructor. Explain any one Constructor?
04
Constructor. Constructor Operator
Explain Data hiding with Example.
04
Data Hiding
OR
Explain Class with Example.
04
Class
Q.3
Define Copy Constructor. List Advantages of Copy Constructor.
03
3
Copy Constructor. Copy constructor
OR
Explain Difference between structure and Class with Example.
03
Structure Class
Explain Data Encapsulation.
03
Data Encapsulation
OR
Explain single Inheritance with example.
03
Single Inheritance
Explain Abstract Class with Example.
04
Abstract Class
OR
Explain Static Data Members.
04
Static Data Members
Explain Constructor overloading with example.
04
Constructor Overloading
OR
Explain Inline function with Example.
04
Inline Function
Q.4
Explain pointer to object with example.
03
Pointer to Object
OR
List Access Specifiers.Explain any one Access Specifier.
03
Access Specifiers Access Specifiers
Explain Virtual Class with example.
04
3/3
Virtual Class
OR
List features of C++.Explain any one feature with diagram.
04
Define Function. Explain Function overloading with example.
07
Function. Function Overloading
Q.5
Explain Polymorphism.
04
Polymorphism
Explain stream classes with diagram.
04
Stream classes
Explain any two manipulators.
03
manipulators
List basic concepts of object oriented programming. Explain any one concept of object oriented programming
03
Object oriented Programming Basic Concepts Concept
Seat No.: Enrolment
GUJARAT TECHNOLOGICAL UNIVERSITY
DIPLOMA ENGINEERING SEMESTER -III• EXAMINATION SUMMER 2017
Subject Code: 330702 Date: 03 05 2017
Subject Name: PROGRAMMING IN
Time: 02:30 PM TO 05:00 PM Total Marks: 70
Instructions:
1. Attempt all questions.
2. Make Suitable assumptions wherever necessary.
3. Figures to the right indicate full marks.
4. Use of programmable Communication aids are strictly prohibited.
5. Use of only simple calculator is permitted in Mathematics.
6. English version is authentic.
Q.1
Answer any seven out of ten.
14
1.
List any Two differences between C and
C C difference
2.
Define Class.
Class.
3.
List any two Advantages of Constructor.
Constructor
4.
List any two Applications of
C Application
5.
Define Inheritance.
Inheritance
6.
Define Operator Overloading.
Operator Overloading.
7.
Define call by Value.
Call by Value.
8.
List any Two Basic Data Types used in
C Basic
9.
List any two Stream Classes used in
C Stream Classes
10.
Define Variable.
Variable.
Q.2
Explain any two operators used in
03
C Operator
OR
Explain structure of Program.
03
C Structure
Write a Program to Swap two Numbers without using Third Variable.
03
variable Program
2/3
OR
Explain Bitwise operator.
03
Bitwise
Explain Friend function with example.
04
Friend Function
OR
Define Constructor. List type of Constructor. Explain any one Constructor?
04
Constructor. Constructor Operator
Explain Data hiding with Example.
04
Data Hiding
OR
Explain Class with Example.
04
Class
Q.3
Define Copy Constructor. List Advantages of Copy Constructor.
03
3
Copy Constructor. Copy constructor
OR
Explain Difference between structure and Class with Example.
03
Structure Class
Explain Data Encapsulation.
03
Data Encapsulation
OR
Explain single Inheritance with example.
03
Single Inheritance
Explain Abstract Class with Example.
04
Abstract Class
OR
Explain Static Data Members.
04
Static Data Members
Explain Constructor overloading with example.
04
Constructor Overloading
OR
Explain Inline function with Example.
04
Inline Function
Q.4
Explain pointer to object with example.
03
Pointer to Object
OR
List Access Specifiers.Explain any one Access Specifier.
03
Access Specifiers Access Specifiers
Explain Virtual Class with example.
04
3/3
Virtual Class
OR
List features of C++.Explain any one feature with diagram.
04
Define Function. Explain Function overloading with example.
07
Function. Function Overloading
Q.5
Explain Polymorphism.
04
Polymorphism
Explain stream classes with diagram.
04
Stream classes
Explain any two manipulators.
03
manipulators
List basic concepts of object oriented programming. Explain any one concept of object oriented programming
03
Object oriented Programming Basic Concepts Concept
Other Question Papers
Subjects
- a. c. distribution & utilization
- a.c. distribution & utilization
- advance manufacturing system
- advanced building materials
- advanced computer programming
- advanced mathematics (group-1)
- advanced mathematics(group-2)
- aircraft maintenance-ii
- aircraft navigation and radio system
- aircraft performance & stability
- applied electronics and instrumentation
- applied science-i (physics)
- applied science-ii(chemistry)
- architectural drawing-ii
- automation in fabrication technology
- automobile electrical system
- automobile engines
- automobile transmission & mechanism
- basic automobile design
- basic avionics
- basic chemistry ( group-4)
- basic control system
- basic design
- basic electronic circuits
- basic electronics
- basic of electrical and electronics engineering
- basic of electrical engineering
- building material
- chemical engineering plant economics
- chemical process equipment design
- chemical process technology - i
- chemical process technology - ii
- chemical process technology –i
- civil engineering drawing
- cnc machines
- communication engineering- i
- communication engineering-ii
- communication skill
- communication skill-ii (aa)
- communication skills
- computer aided modelling & design
- computer application in wet processing
- computer graphics
- computer maintenance
- computer organization and architecture
- construction technology
- construction works management
- control system components
- costing estimation & management
- d.c.circuits
- data & computer communication
- data structure management
- database management system
- database programming with vb.net
- design fundamental-i
- design fundamental-ii
- design visualization
- digital electronics
- drying and firing
- dyes and pharmaceuticals
- ecology & environmental pollution
- electical machine-1
- electrical installation & maintenance
- electrical instrumentation
- electrical machine-ii
- electronic materials & components
- electronic materials and component
- electronic networks
- electronics devices and circuits-i
- electronics devices and circuits-ii
- electronics instrument & measurements
- electronics networks & lines
- elements of civil engineering
- elements of mechanical engineering
- engineering drawing
- engineering mechanics
- english communication and architecture vocabulary
- entrepreneurship development
- environmental monitoring
- essentials of environment & seismic engineering
- estimating & costing
- estimating and costing - i
- extrusion die design
- fabric structure - ii
- fabrication technology
- fabrication technology - ii
- fiber optic communication
- finishing technology for textile
- fluid flow operation
- fluid mechanics & hydraulic machines
- fundamental of chemical engineering reactions & thermo dynamics
- fundamental of electronics circuits
- fundamental of mechanical engineering
- generation and transmission of electrical power
- glass-ii
- high performance & green plastics
- history of architecture - ii
- history of architecture -i
- history of architecture(indian)
- human resource management
- hydraulic and pneumatic
- hydraulic and pneumatic devices
- hydraulics
- industrial management
- industrial stoichiometry
- irrigation engineering
- manufacturing engineering-1
- manufacturing engineering-i
- manufacturing engineering-ii
- manufacturing process & material technology
- mass transfer - i
- mass transfer-i
- material science and metallurgy
- material technology
- mathematics - i
- mechanical drafting
- mechanical operation (ceo- i)
- mechanical operation (ceo-i)
- mechanics of structure-ii
- mechanics of structures - i
- metrology & instrumentation
- microcontroller
- microprocessor & assembly language programming
- mine surveying-ii
- non conventional energy sources
- operating system
- organic chemistry
- petroleum refining & petro chemical technology
- physical analytical & inorganic chemistry
- plant maintenance & safety
- polymer chemistry - 1
- polymer chemistry - ii
- principles of chemical engineering
- process equipment design
- process heat transfer
- process technology
- processing of thermoset
- programmable logic controller
- programming in c
- programming in c++
- pulp and paper technology
- quantity survey & costing
- refractory
- relational database management system
- robotics & automated material handling
- ship building & ship recycling
- software engineering
- soil engineering
- strength of materials
- structure - i
- structure-i
- surveying
- surveying - i
- surveying-ii
- system analysis design
- technical drawing- i
- technology of technical textiles
- television engineering
- theory of machine
- thermodynamics
- thermodynamics & hydraulics
- transportation engineering
- under ground mining of coal
- utilities and instrumentation in chemical plant
- vehicle dynamics
- visual basic
- water resources management
- white ware
- yarn manufacturing technology-iii