You are on page 1of 12

PART A (10*2=20MARKS)

1.What are the features provided by object based and object oriented languages?

2.What type of abstraction is employed in (a) procedure (b) Object Oriented Programming?

3.Model a mobile phone as a class.

4.Write a function to swap two integer values using reference variables.

5.What are the operators of C++ that cannot be overloaded?

6.Indicate how different types of members of base class are visible in (a) Public and (b) Private
derivation.

7.Describe the following function's declaration

virtual void service (int n) = 0;

8.Can you have a class named main in C++? If yes, how do you call its constructor?

9.What is the main purpose of a template in C++? Give an example.

10.Which of the following statements are correct?

int const *pi = & x;

(a) x=10;
(b) *pi=10;
(c) pi ++;
(d) ++*pi;

PART B-(5*16=80 MARKS)

11. (i) Model a delta network (with resistors) as a class.Equip the class with required data and
function members. Write a program to test the class and to display te equivalent delta network.(8
marks)

(ii) Simulate a simple electrical system using C++ program. Describe identification of classes and
objects. Write a test program to illustrate the design. (8 marks)

12. (a) Explain the following characteristics of object oriented programming with examples.

(i) Data Encapsulation


(ii) Polymorphism
(iii) Genericity
(iv)Inheritance. (4*4=16 marks)
OR
(b) (i) Is there a difference between List x and List x ()? Explain. (6 marks)
(ii) How do member functions, friend functions and non member functions differ? Give a
programming example to support your answer. (10 marks)

13 (a) (i) What are the different ways of writing default constructors? Give examples. (8 marks)
(ii) What is a dangling pointer? Give an example. (8 marks)
OR
(b) (i) What are the default arguments? Give an example to illustrate programming syntax. (8
marks)
(ii) Write a C++ program to print the following triangle of numbers.Keep your program as short as
possible.Read n as input. (8 marks)

1
22
333
4444

14 (a) Assume the following is allowed


Complex c1 (5,4), c2 (-5,4);

c1++; ++c2;
c2=c1 + c2;
c1 +=c2;
c1= -c1;
cout<< c1;
Write a C++ program to perform these operations. (16 marks)
OR
(b) Give an application that fits the following inheritance hierarchy and write the program for the
same. Each class should have atleast two data members and two function members.
(16 marks)

15. (a) (i) Explain the need for a virtual destructor? (8 marks)
(ii) Describe dynamic binding and how is it implemented in C++? (8 marks)
OR
(b) (i) Consider the following program segment:

class A {
public :
A (void) {cout << "How";}
~A (void) {cout << "What";}
};
class B : A {
public :
B (void) {cout << "Why";}
~B (void) {cout << "Hello";}
};

What does the declaration B x print? If the main function has the following two statements, what
will be the output?

B x; cout << "Done" (6 marks)

(ii) Give the syntax of function template. Write a template function for sorting. Write a test program
to illustrate its use. (10 marks)

PART - A (10 x 2 = 20 Marks)

1. How are data and functions organised in an object oriented


programming?

2. Compare function overloading and default arguments.


3. What are the uses of references in functions?

4. What is dynamic binding?

5. Compare private and public access specifiers in a class.

6. Distinguish between overloaded functions and function templates.

7. What is this pointer? How is it available to member functions of a


class?

8. Can the parameter of a copy constructor be passed by value?


Justify your answer.

9. Compare constructor conversion and operator conversion.

10. What is the difference between system . out . print and system .
out . println in Java?

PART - B (5 x 16 = 80 Marks)

11.

Explain in detail the following principles of object oriented


programming

(i) Data encapsulation and data hiding

(ii) Inheritance and polymorphism

(iii) Generic programming.

12.a) Create a class complex to represent complex number with


overloaded addition and multiplication operators. Use them in a main
program.

(OR)

12.b) Define a class string with appropriate constructors, destructor


and overloaded +, =, and = = operators use them in a main driver
program.

13.a)What are the different forms of inheritance? Give example for


them.

(OR)

13.b)Create an abstract base class shape with two members base and
height, a member function for initialization and a pure virtual function
to compute area ( ). Derive two specific classes Triangle and Rectangle
which override the function area ( ). Use these classes in a main
function and display the area of a triangle and a rectangle.

14.a)Write a C++ program containing a possible exception. Use a try


block to throw it and a catch block to handle it properly.

(OR)

14.b)Create a data class using Java with the following capabilities.

Out the date in multiple format such as

(i) dd - mm - yy

(ii) June 14, 2002.

15.a)Write a Java class point to represent a two dimensional point (x,


y). Extend it to a class circle with its centre as the point and an
additional radius member and extend further to a class cylinder with
additional height member.

(OR)

15.b)Explain the concept of nested classes in Java with a suitable


example.

PART - A (10 x 2 = 20 Marks)

1. How is data hiding implemented in C++?

2. Compare overloading and overriding of functions.

3. What are the functions of new and delete operators?

4. What is the need for friend functions?


5. Why do we need virtual functions?

6. How do you overload a postfix and a prefix increment operator?

7. When do we declare a coust member function?

8. What are the properties of a static class member?

9. What does system out represent in Java? How is it used?

10. What is an abstract method in Java?

PART - B (5 x 16 = 80 Marks)

11. What are the basic principles of Object Oriented Programming? Explain with
examples, how they are implemented in C++?

12.a)
Create a class vector to represent an one dimensional vector
with addition operator + to represent and a
scalar product operator * to represent . Use them
in a main program.

(OR)

12.b) Can the insertion operator << and the extraction operator >> be members of a
class? Give examples to justify your answer.

13.a) What are the different kinds of inheritance? Explain them with suitable examples.

(OR)

13.b) Define a class Cartesian to represent a point in Cartesian co-ordinates (x, y) and
class polar to represent it in polar co-ordinates (r, 0) . Use constructor conversion
and operator conversion functions in class Cartesian to convert object of one type
into another. Use them in a main program.

14.a) Write a Java program to illustrate the difference between an instance variable and
a class variable.

(OR)

14.b) Write a Java program that creates a Date class and use it with appropriate
members and methods.

15.a) Write a Java applet that asks the user to enter two floating point numbers, obtain
the two numbers from the user and draws the sum and product of the two
numbers.

(OR)

15.b) Define a Java method to find the greatest among three numbers. Write a Java
applet that obtains three numbers from the user and displays the largest using the
method.

. Define Data abstraction with respect to C++.


2. How a class is declared?
3. Name the input and output statements in C++.
4. What is a scope resolution operator and how it can be used for global variable?
5. What are the two types of the members of the class and how are they declared?
6. What is meant by binding?
7. Can array become private member of class? How?
8. What is meant by anonymous union?
9. What is a static data member?
10.
What is meant by polymorphism?
PART B — (5 . 16 = 80 marks)
11. Describe the principal features of object–oriented programming. (16)
12. (a) (i) Illustrate the reserved word inline with two examples. (8)
(ii)
Explain the constructors and destructors. (8)
Or

(b)
Write a C++ program to implement Stack and its operations PUSH and
POP. (16)
13.
(a) (i) Define Friend class and specify its importance. Explain with
suitable example. (8)
(ii)
Explain the operators used for dynamic memory allocation with
examples. (8)
Or

(b)
Explain operator overloading with the implementation of Complex
numbers and its numeric operations addition, subtraction, multiplication
and division. (16)
14.
(a) (i) Describe functional overloading with example. (8)
(ii)
Write short notes on connection and derived classes. (8)
Or
(b)
Explain virtual function in C++. Describe any two applications in which
virtual functions may use. For each of these applications, specify the
parent classes and derived classes. (16)
15.
(a) Write a C++ program to convert Delta network (.) to star (Y) network.
(16)
Or
(b)
Partition a software development problem of your choice into classes,
sub classes, objects and methods at the highest level of design. (16)
2

1. In Triacs which of the modes the sensitivity of gate is high.


2.Define the term pinch off voltage of MOSFET.
3.Under what conditions a single phase fully controlled converter gets operated
as an Inverter.
4.State the principle of phase control in AC-DC converters.
5.Define the term duty cycle in DC-DC converters.
6.What is a DC chopper?
7.Define the term Inverter gain.
8.Differentiate between VSI and CSI.
9.Mention the different types of HVDC link.
10.List the parameters for controlling power in a transmission line.

PART B — (5 x 16 = 80 marks)
11. (a) Discuss the transfer, output and switching characteristics of power MOSFET.
Or

(b) Explain the switching performance of BJT with relevant waveforms indicating clearly
the turn-on, turn-off times and their components. Also define the term SOA.

12.(a) A two pulse single phase bridge converter is connected to RLE load.
Source voltage is 230 V, 50 Hz. Average load current of 10 Amps is continuous over the
working range. For R = 0.4 Q and L = 2 mH compute. (i) Firing angle delay for E = 120 V.
(ii) Firing angle delay for E = -120 V. Indicate which source is delivering power to load in
parts (i) and (ii).
Or
(b) For a 1 phase AC voltage controller feeding a resistive load draw the waveforms of
source voltage gating signals, output voltage, source and output current. Describe its
working with reference to waveforms drawn.

13.(a)A step up chopper has input voltage of 220 V and output voltage of 660 V.
If the nonconducting time of thyristor chopper is 100 micro sec compute the pulse width
of output voltage. In case the pulse width is halved for constant frequency operation find
the new output voltage.
(Or)
(b) Classify the basic topologies of switching regulators and explain the operation of buck
regulators with continuous load current using suitable waveforms.

14.(a) Describe the working of a 1 phase full bridge inverter supplying R, R.L. loads with
relevant circuit and waveforms. (16)
(or)

(b) What is the need for controlling the output voltage of inverters? Classify the various
techniques adopted to vary the inverter gain and brief on sinusoidal PWM. (16)

15. (a) Describe the principle of operation of no break static ups configuration with a neat
block diagram and list out its applications. (16)
(Or)
(b)Explain the principle of operation of unified power controller as compensator with a
neat circuit arrangement. (16)

2.
3.
4.
5.
6.
7. What are the differences between Transistor & SCR?
2. Explain latching current and holding current of thyristor.
3. What is natural or line commutation?
4. Why is power factor of semiconverter better than full converter?
5. What are the differences between free wheeling diode and feedback diode?
6. What are the main differences between voltage source inverter and current source
inverter?
7. What are the advantages and disadvantages of AC voltage controllers?
8. Explain time ratio control of choppers.
9. Draw the load voltage waveform for a = 150o.
10. Explain the principle of operation of step up chopper.
PART - B (5 x 16 = 80 Marks)
11. A dc battery is charged through a resistor R as shown in fig.1. Derive an expression
for the average value of charging current in terms of Vm, E, R on the assumption
that SCR is fired continuously.
a. For an ac source voltage of 230V, 50Hz find the value of average charging
current for R = 8O and E = 150V
b. Find the power supplied to battery and dissipated in the resistor.
c. Calculate supply PF.
Fig. 1
12.a) For three phase thyristor controlled half wave rectifier feeding load R as shown in
fig. 2. Show that the average output voltages are given by
Vo = (3v3 Vm Cos a) / 2p for 0 = a = p/6
Vo = (3/2p) Vm [1+cos (a + p/6)] for p/6 = a = 5p/6
Where Vm is the maximum value of phase voltage and a is the firing angle delay.
Fig. 2
(OR)
12.b) A half controlled 3 phase bridge rectifier is supplied at 220v from a source of
reactance 0.24O/phase. Neglecting resistance and device volt drops determine
mean load voltage for level load current of 40A at a firing delay angle of 45º and
90º.
13.a) Explain the operation of single phase modified MC Murray half bridge inverter
(OR)
13.b)i) Explain the operation of modified series inverter with neat diagram. Derive an
expression for the output frequency of the inverter.
ii) What is the difference between series and parallel inverter?
14.a) Explain the operation of voltage commutated chopper with neat diagram and
waveforms. Derive expressions for commutating capacitor (C) and commutating
inductor (L).
(OR)
14.b) For a current commutated chopper peak commutating current is twice the
maximum
possible load current. The source voltage is 230V dc and main SCR turn of time is
30µsec. The circuit turn off time is twice device turn off time. For maximum load
current of 200A calculate.
(i) Values of the commutating inductor and capacitor
(ii) Maximum capacitor voltage
(iii) Peak commutating current
15.a) Explain the operation of multistage sequence control of ac voltage controllers with
neat diagram.
(OR)
15.b) Explain the operation of single phase to single phase step down cyclo converter
with voltage and current waveforms for
(i) Continuous load current
(ii) Discontinuous load current

Give the difference between a triac and IGBT.

2. Compute the peak inverse voltage of thyristor connected in the three phase six pulse bridge
circuit having input voltage of 415V. Voltage safety factor is 2.1.

3. Define string efficiency.

4. What are the basic requirements for triggering the SCR?

5. What are the effects of adding a free wheeling diode to a single phase fully controlled converter
feeding R-L load?

6. Mention the advantage and disadvantage of circulating current scheme in a dual converter.

7. How will you choose the value of L & C in a series inverter?

8. What is the control strategies employed in DC choppers?

9. Why the DC drives systems unsuitable for energy saving applications of pumps or fans?

10. List down the basic circuit configurations of SMPS?

PART – B (5 x 16 = 80 Marks)

11.i) With the help of two transistor analogy, explain how an SCR turns ‘ON’ once a gate pulse is
applied.

ii) Discuss the construction of an IGBT. With the help of its V-I characteristics, describe its
working.

12.a) Describe in detail any three forced commutation methods.

OR

12.b) Explain the principles of resistance firing circuit and resistance capacitance firing circuit.

13.a) A single-phase fully controlled bridge converter supplies an inductive load. Assuming that
the output current is virtually constant and is equal to Id. Determine the following performance
measures if the supply voltage is 230V and if the firing angle is maintained at p/6 radians. (i)
Average output voltage (ii) Supply RMS current (iii) Supply fundamental RMS current (iv)
fundamental power factor (v) supply power factor (vi) supply harmonic factor (vii) voltage ripple
factor.
OR

13.b) Explain the basic principle of operation of a cyclo converter with a neat equivalent circuit
diagram. Also draw and discuss the wave forms illustrating the operation of the idealized cyclo
converter circuit with loads of various displacements angle.

14.a) Single phase full bridge inverter has a resistive load of R = 3 ohm the DC input voltage Edc
= 50V. Compute (i) The RMS voltage at the fundamental frequency (ii) the output power (iii) the
average and peak current of each thyristor (iv) the peak reverse blocking voltage of thyristor.

OR

14.b) Describe the working of step-up chopper with suitable waveform. Also derive an expression
for its average output voltage.

15.a) Describe the need and function of single phase AC voltage regulator.

OR

15.b) Explain in detail closed loop control of DC motor drives.


1. What are the differences between Transistor & SCR?
2. Explain latching current and holding current of thyristor.
3. What is natural or line commutation?
4. Why is power factor of semiconverter better than full converter?
5. What are the differences between free wheeling diode and feedback diode?
6. What are the main differences between voltage source inverter and current source
inverter?
7. What are the advantages and disadvantages of AC voltage controllers?
8. Explain time ratio control of choppers.
9. Draw the load voltage waveform for a = 150o.
10. Explain the principle of operation of step up chopper.
PART - B (5 x 16 = 80 Marks)
11. A dc battery is charged through a resistor R as shown in fig.1. Derive an expression
for the average value of charging current in terms of Vm, E, R on the assumption
that SCR is fired continuously.
a. For an ac source voltage of 230V, 50Hz find the value of average charging
current for R = 8O and E = 150V
b. Find the power supplied to battery and dissipated in the resistor.
c. Calculate supply PF.
Fig. 1
12.a) For three phase thyristor controlled half wave rectifier feeding load R as shown in
fig. 2. Show that the average output voltages are given by
Vo = (3v3 Vm Cos a) / 2p for 0 = a = p/6
Vo = (3/2p) Vm [1+cos (a + p/6)] for p/6 = a = 5p/6
Where Vm is the maximum value of phase voltage and a is the firing angle delay.
Fig. 2
(OR)
12.b) A half controlled 3 phase bridge rectifier is supplied at 220v from a source of
reactance 0.24O/phase. Neglecting resistance and device volt drops determine
mean load voltage for level load current of 40A at a firing delay angle of 45º and
90º.
13.a) Explain the operation of single phase modified MC Murray half bridge inverter
(OR)
13.b)i) Explain the operation of modified series inverter with neat diagram. Derive an
expression for the output frequency of the inverter.
ii) What is the difference between series and parallel inverter?
14.a) Explain the operation of voltage commutated chopper with neat diagram and
waveforms. Derive expressions for commutating capacitor (C) and commutating
inductor (L).
(OR)
14.b) For a current commutated chopper peak commutating current is twice the maximum
possible load current. The source voltage is 230V dc and main SCR turn of time is
30µsec. The circuit turn off time is twice device turn off time. For maximum load
current of 200A calculate.
(i) Values of the commutating inductor and capacitor
(ii) Maximum capacitor voltage
(iii) Peak commutating current
15.a) Explain the operation of multistage sequence control of ac voltage controllers with
neat diagram.
(OR)
15.b) Explain the operation of single phase to single phase step down cyclo converter
with voltage and current waveforms for
(i) Continuous load current
(ii) Discontinuous load current

You might also like