III TERM ECE ELECTRICAL CIRCUITS AND MACHINES III TERM ( CORE COURSE)

Similar documents
RAJIV GANDHI COLLEGE OF ENGINEERING AND TECHNOLOGY

RAJIV GANDHI COLLEGE OF ENGINEERING AND TECHNOLOGY DEPARTMENT OF ECE QUESTION BANK- EDC SEMESTER - III UNIT I : SEMICONDUCTOR DIODS PART A

SIDDHARTH GROUP OF INSTITUTIONS :: PUTTUR (AUTONOMOUS) Siddharth Nagar, Narayanavanam Road QUESTION BANK (DESCRIPTIVE) UNIT I

B.Sc. (Computer Science) (Part 1) EXAMINATION, 2009 COMPUTER PROGRAMMING FUNDAMENTAL

SEMESTER-2 (SYLLABUS)

S.V.UNIVERSITY, TIRUPATI B.Sc- ELECTRONICS-SYLLABUS SEMESTER: II W.E.F PAPER 2 ELECTRONIC DEVICES&CIRCUITS

Electronic Devices. Special Purpose Diodes. Chapter Three. Dr. Hisham Alrawashdeh

ELECTRICAL CIRCUITS AND INSTRUMENTATION

Electronic line FUNDAMENTALS OF ELECTRICITY & ELECTRONICS

SRM ARTS AND SCIENCE COLLEGE SRM NAGAR, KATTANKULATHUR

SPECIAL-PURPOSE DIODES. Dr. Paulraj M P, Associate Professor, Blok A, School of Mechatronic Engineering

NOTIFICATION (Advt No. 1/2018) Syllabus (Paper III)

UNIT II SPECIAL SEMICONDUCTOR DEVICES

Periodic Functions, Euler s formula, Even and Odd function with illustrated examples.

GARDEN CITY UNIVERSITY. Bachelor of Computer Applications SEMESTER- I. Course: CONCEPTS OF PROGRAMMING USING C LANGUAGE CODE: 05ABCAR17111 CREDITS: 04

RCTI, SOLA, AHMEDABAD INFORMATION TECHNOLOGY DEPARTMENT. SUBJECT :- Advanced Computer Programming ( )

Syllabus for Bachelor of Technology. Computer Engineering. Subject Code: 01CE1303. B.Tech. Year - II

Object Oriented Programming

ELECTRONICS LABORATORY TRADERS 89. CRO Battery Eliminator Digital IC Trainer. Transister Characteristic Apparatus Power Supply Function Generator

B.Sc II Year Computer Science (Optional)

B.Sc. Final B.SC. PART-III PAPER I COMPUTER ORGANIZATION II

What is Locktronics? Science and technology. Electronics. Engineering. Automotive. Aviation maintenance. Simplifying Electricity & Electronics

CUSTOMIZED TEACHER ASSESSMENT BLUEPRINT. Test Code: 5936 Version: 01

PROGRAM : COMPUTER ASSEMBLING & MAINTAINCE OF PERIPHERALS

DEPARTMENT OF COMPUTER APPLICATIONS B.C.A. - FIRST YEAR ( REGULATION) SECOND SEMESTER LESSON PLAN SRM INSTITUTE OF SCIENCE AND TECHNOLOGY

Analog and Telecommunication Electronics

CHOICE BASED CREDIT SYSTEM (With effect from )

I BCS-031 BACHELOR OF COMPUTER APPLICATIONS (BCA) (Revised) Term-End Examination. June, 2015 BCS-031 : PROGRAMMING IN C ++

Analog and Telecommunication Electronics

Fall 2018 Updates. Materials and Energy Balances. Fundamental Programming Concepts. Data Structure Essentials (Available now) Circuits (Algebra)

S Y B Voc Software Development Syllabus

LESSON PLAN B.C.A. - FIRST YEAR ( REGULATION) SECOND SEMESTER

External Library. Features. General Description 1.0. The library provides documentation for external components

Lesson Plan. Subject: OBJECT ORIENTED PROGRAMMING USING C++ :15 weeks (From January, 2018 to April,2018)

Analog and Telecommunication Electronics

GLOBAL ACADEMY OF TECHNOLOGY DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING LABORATORY INFRASTRUCTURE DETAILS

Cambridge TECHNICALS CAMBRIDGE TECHNICALS IN ENGINEERING LEVEL 3 UNIT 5 ELECTRICAL AND ELECTRONIC DESIGN. RESOURCES LINK April 2015

W.E.F. SESSION Course: B. Sc. 3 rd Year Electronics Scheme of Examination for Semester 5 & 6

UNIVERSITY POLYTECHNIC B.I.T., MESRA, RANCHI. COURSE STRUCTURE (W.E.F Batch Students) (Total Unit 7.5) Sessional Unit Code. Theory Unit Course

Department of Computer Science and Engineering Khulna University of Engineering & Technology Khulna , Bangladesh. Course Plan/Profile

Electrical Technology

CHAPTER 5. Voltage Regulator

Quantity required (R) Quantity available (A) Deficiency (R - A) Sl. No. Description of Equipment. 1. BC 107, BC 148,2N2646,BFW10 (each) 25

ANNA UNIVERSITY QB ( )

SAURASHTRA UNIVERSITY

UNIVERSITY OF NORTH CAROLINA AT CHARLOTTE Department of Electrical and Computer Engineering

Introduction to Programming Using Java (98-388)

OBJECT ORIENTED PROGRAMMING USING C++ CSCI Object Oriented Analysis and Design By Manali Torpe

Preface... (vii) CHAPTER 1 INTRODUCTION TO COMPUTERS

Basics of Industrial Electricity and Troubleshooting Electrical Control Circuits

Object Oriented Programming. Assistant Lecture Omar Al Khayat 2 nd Year

PROGRAMMING IN C AND C++:

Absolute C++ Walter Savitch

Electrical Technology (ELT)

EC/EE-201 TRANSFORMATION TECHNIQUES L T P C 3 1-3

Programming for Problem Solving 105A L T P Credit Major Minor Total Time

FIRST SEMESTER BCA Syllabus Copy BCA103T : PROBLEM SOLVING TECHNIQUES USING C

Syllabus of C++ Software for Hands-on Learning: This course offers the following modules: Module 1: Getting Started with C++ Programming

Lecture 5 Special-Purpose Diodes - Zener Diode - LED

Understanding Solid-state relays

Preface to the Second Edition Preface to the First Edition Brief Contents Introduction to C++ p. 1 A Review of Structures p.

ADIKAVI NANNAYA UNIVERSITY:: RAJAMAHENDRAVARAM UNIVERSITY COLLEGE OF ENGINEERING COURSE STRUCTURE & SYLLABUS II B.TECH I SEMESTER ECE

BG2D Solderless Connection Gate Drive Prototype Board

Swami Ramanand Teerth Marathwada University, Nanded

KLiC C++ Programming. (KLiC Certificate in C++ Programming)

Academic Programme: B.Sc. I Year. Computer Science (Optional) Hours. Fundamentals of Computer Hours.

Multi-function Tester (TC-V2.12k)

RAJIV GANDHI COLLEGE OF ENGINEERING AND TECHNOLOGY DEPARTMENT OF INFORMATION TECHNOLOGY OBJECT ORIENTED PROGRAMMING QUESTION BANK UNIT I 2 MARKS

BG2E Universal Gate Drive Prototype Board

CS 6456 OBJCET ORIENTED PROGRAMMING IV SEMESTER/EEE

Power IC 용 ESD 보호기술. 구용서 ( Yong-Seo Koo ) Electronic Engineering Dankook University, Korea

BG1B Universal Gate Drive Prototype Board

Digital Fundamentals. Integrated Circuit Technologies

C++ (Non for C Programmer) (BT307) 40 Hours

ESD 충북대학교 전자정보대학 김영석

Electromagnetic Compatibility ( EMC )

New Solutions. for AC Motor Starters

B.C.A 2017 OBJECT ORIENTED PROGRAMMING USING C++ BCA303T MODULE SPECIFICATION SHEET

GOPALAN COLLEGE OF ENGINEERING AND MANAGEMENT Department of Mechanical Engineering COURSE PLAN

Endüstriyel Proje Tasarım Ar-Ge Ltd. Şti. Industrial Project Design R&D Co. Ltd. FADOS7F1 (10V3) FAULT DETECTOR AND PC OSCILLOSCOPE USER MANUAL

MaanavaN.Com CS1203 OBJECT ORIENTED PROGRAMMING DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING

Latch-Up. Parasitic Bipolar Transistors

ELECTRONIC SYSTEMS. Politecnico di Torino - ICT school. Goup B - goals. System block diagram Sensors and actuators Analog and digital signals

Short Notes of CS201

Get Unique study materials from

CS201 - Introduction to Programming Glossary By

Syllabus of Diploma Engineering. Computer Engineering. Semester: II. Subject Name: Computer Programming. Subject Code: 09CE1104

CS201 Some Important Definitions

ECET 211 Electric Machines & Controls Lecture 6 Contactors and Motor Starters (1 of 2) Lecture 6 Contactors and Motor Starters

Model INSTRUCTION MANUAL DIGITAL MULTIMETER

7 FUNCTIONS: 1. Dual channel fault detection by V-I tester 2. Equivalent Circuit Diagram ***

Analog and Telecommunication Electronics

Babaria Institute of Technology Computer Science and Engineering Department Practical List of Object Oriented Programming with C

B.Sc. Computer Science (Ancillary)

GUJARAT TECHNOLOGICAL UNIVERSITY, AHMEDABAD, GUJARAT. COURSE CURRICULUM COURSE TITLE: OBJECT ORIENTED PROGRAMMING (Code: )

DU MSc Electronics. Topic:- DU_J18_MSC_ELEC. Correct Answer :- C only [Option ID = 89628] Correct Answer : kw [Option ID = 89858]

Object Oriented Programming 2012

LDD M SERIES INSTRUCTION MANUAL LDD M SERIES

END TERM EXAMINATION

DTMF BASED HOME AUTOMATION

Transcription:

III TERM ECE 4201 - ELECTRICAL CIRCUITS AND MACHINES III TERM ( CORE COURSE) MAJOR DIVISIONS UNIT TOPIC I DC CIRCUITS AND DC NETWORK THEOREMS II ELECTROMAGNETIC INDUCTION, CAPACITANCE AND AC FUNDAMENTALS III AC CIRCUITS AND RESONANCE IV DC MACHINES AND TRANSFORMERS V AC MACHINES UNIT I ( 15 Hrs ) DC CIRCUITS AND DC NETWORK THEOREMS Concept of electrical quantities Voltage Current resistance Ohm s law Kirchoff s laws Series parallel and series parallel circuits Mesh current and Nodal Voltage methods electrical power and energy (Simple problems) Super position, Thevenin, Norton, Millmann and Maximum power transfer Theorem (Statements and explanation only Proof not necessary) Simple problems. UNIT II ( 13 Hrs ) ELECTROMAGNETIC INDUCTION, CAPACITANCE AND AC FUNDAMENTALS Magnetic circuits flux flux density permeability - mmf field intensity reluctance ohms law of magnetic circuit Faraday s laws of electromagnetic induction Lenz s law dynamically induced emf statically induced emf self induced emf mutually induced emf self inductance mutual inductance Co-efficient of self inductance and mutual inductance Co-efficient of coupling comparison of electric circuit and magnetic circuit energy stored in an inductor. Capacitance permittivity of a dielectric medium parallel plate capacitor capacitors in series and parallel energy stored in a capacitor. AC waveform sinusoidal and non sinusoidal period frequency cycle amplitude- phase peak value average value RMS (effective) value form factor crest factor- phasors rectangular and polar forms. UNIT - III ( 15 Hrs ) AC CIRCUITS AND RESONANCE Voltage and current relationship in resistance, inductance, and capacitance Concept of reactance Susceptance Conductance impedance and admittance -RL, RC and RLC Series and parallel circuits- power in ac circuits power factor Concept of three phase supply line and phase voltage and current in star and delta connected circuits simple problems. Resonance - series and parallel resonance Condition for resonance resonance curve effect of resistance on resonance curve selectivity of resonant circuits Q factor and band width applications of resonance. UNIT - IV DC MACHINES AND TRANSFORMERS ( 15 Hrs ) Transformer ideal Transformer principle of working Constructional details emf equation- turns ratio Core Loss Copper Loss Efficiency regulation OC and SC tests on transformer Application. DC Machines Types Constructional details of Yoke, pole,core, pole shoe Field winding armature Core Commutators armature winding (Types only) DC Generator Principle of working Types emf equation Losses and efficiency characteristics of shunt, series and compound Generators Applications. DC Motor Motor action Back emf Torque speed speed Regulation Characteristics of shunt, series and compound motor Starting of motors using 3 and 4 point starters Speed control of dc motor Applications. UNIT V ( 14 Hrs ) AC MACHINES Alternator principle of working of alternator Constructional details Speed and frequency emf equation (no derivation is required)- Induction Motor -Construction details types principle of operation Rotating magnetic fields Slip Speed torque characteristics Methods of starting 3 ph. Inductor motor (Qualitative treatment only). Single phase induction

motor Constructional details principle of operation Types split phase, shaded pole Capacitor start and Repulsion Motors Stepper Motor uses (Qualitative treatment only) REFERENCE BOOKS: - 1. B.L. Theraja, A.K.Theraja, A Text Book of Electrical Techology, S.Chand & Company Ltd, 23 Revised Edition. 2. S.K.Bhattachary, Electrical Machines, Tata MCGraw - Hill Publishing Company Ltd, 2nd Edition. 3. Joseph Edminister & Mahmood Mahvi, Electric Circuits Schaums Series, Tata MCGraw - Hill, 3rd Edition. 4. Umesh Sinha, Circuit Theory, Sathya Prakashan (Publisher), 4th Edition. 4202- ELECTRONIC DEVICES AND COMPONENTS III TERM ( CORE COURSE ) MAJOR DIVISIONS UNIT TOPIC I COMPONENTS, SWITCHES, FUSES & DIODES II TRANSISTORS III THYRISTORS AND UNI. - JUNCTION TRANSISTOR IV SPECIAL DIODES & OPTO ELECTRONIC DEVICES V MICROWAVE DEVICES UNIT 1 COMPONENTS, SWITCHES, FUSES & DIODES [15 Hrs] Components Electronic Components - passive and active components Resistors - fixed and variable (types only)- wire wound colour coding comparison with respect to size, power rating, accuracy and temperature- uses of resistors - Thermistors Capacitors fixed and variable (types only) - uses of capacitors. Inductors - fixed tapped and variable (types only) - factors affecting the inductance- applications Switches Switch function - Types - on/off - push button - push to on - push to off - two way switch SPST - SPDT (symbol only) electromagnetic switches - principle of operation - relaysymbol types - rating. Fuses Types of fuses - Rating of fuses - use Diodes Atomic theory - atomic structure of silicon, germanium energy band diagram of conductors semiconductors insulators - electron hole pair generation & recombination - intrinsic & extrinsic semiconductor drift and diffusion current (qualitative treatment only) - PN junction under open circuit, forward bias, and reverse bias conditions - characteristics of silicon, germanium diode cut in and break - down voltages. UNIT II TRANSISTORS [15 Hrs] BIPOLAR JUNCTION TRANSISTORS: Transistor action: PNP and NPN transistor - CB, CE, CC configuration characteristics - comparison between three configuration (qualitative treatment only) - typical values of cut off, cut -in, conduction and saturation voltages - reverse saturation current - transistor current gain - typical values 11 FIELD EFFECT TRANSISTORS: Construction, characteristics and operation of junction FET, MOSFET and dual gate MOSFET IGFET, pinch off voltage parameters rd, gm and mu - types of packages application - comparison of JFET, MOSFET UNIT III- THYRISTORS AND UNI - JUNCTION TRANSISTOR [12 Hrs] SCR: Constructional details principle of operation terminal identification characteristics and ratings turn on, turn off mechanism silicon controlled switch applications of S.C.R. construction and working of DIAC and TRIAC characteristics - applications. UJT: Construction- operation- characteristics and applications

UNIT IV SPECIAL DIODES & OPTO ELECTRONIC DEVICES [15 Hrs] Zener diode construction & working principle characteristic Zener breakdown Avalanche breakdown applications Tunnel diode Varactor diode construction operation characteristics Symbol Opto electronic devices: Construction principle of operation, characteristic, application and symbols of photodiode, phototransistor, solar Cell, LDR, LED, LCD, photo conductive cells laser diode principle - characteristic of laser applications. UNIT V MICROWAVE DEVICES [15 Hrs] UHF and microwave transistors construction and application (qualitative treatment only) PIN, Schottky, step recovery diode. Klystron reflex Klystron operation and application. Magnetron and travelling wave tube construction of cavity magnetron mechanism of oscillation in magnetron Travelling wave tube operation - applications. REFERENCE BOOKS: 1. Allen Mottershed, Electronic Devices and Circuits, Prenlice Hall, 2nd Edition. 2. Jacob Miltman & Christors C.Hallcias, Electronic Devicesand Circuits, Tata MCGraw - Hill, Edition 1991. 3. Thomas L.Floal, Electronic Devices, Pearson Education (Publisher), 6th Edition. 4203 - C++ PROGRAMMING ( III TERM CORE COURSE ) 5 Hrs / Week Total Hrs : 60 MAJOR DIVISIONS UNIT TOPIC I INTRODUCTION TO OBJECT ORIENTED PROGRAMMING AND C++ PROGRAMMING II FUNCTIONS, CLASSES AND OBJECTS III CONSTRUCTORS, DESTRUCTORS AND OPERATOR OVERLOADING IV INHERITANCE, POINTERS AND VIRTUAL FUNCTIONS V CONSOLE I/O AND FILE MANAGEMENT UNIT: I INTRODUCTION TO OBJECT ORIENTED PROGRAMMING AND C++ PROGRAMMING (12 Hrs ) Problems in software development - software evolution - procedure oriented programming - object oriented programming paradigm - basic concepts of object oriented programming - benefits of OOP - object oriented languages - applications of OOP. Features and applications of C++ - structure of C++ programs cin and cout objects creating the source file compiling and linking. Keywords - identifiers - basic data types - user defined data types - derived data types- symbolic constants - type compatibility - declaration of variables - dynamic initialization of variables - reference variables - operators in C++ - scope resolution operator - member dereferencing operators - memory management operators manipulators - type cast operator - expressions and implicit conversions - operator overloading - operator precedence. goto statement - if and if else statement - while and do while statements - switch statement - for statement. UNIT: II FUNCTIONS, CLASSES AND OBJECTS (15 Hrs ) The main () function - functions prototype - call by reference, return by reference, inline function; default arguments - const arguments - functions overloading. Structures and classes; classes specifying a class - defining member functions - nesting of member functions - private member functions - arrays within a class - memory allocation for objects -static data member - static member functions. Arrays of objects - objects as function arguments - friendly functions - returning objects - constant member functions - pointers to the members. UNIT: III CONSTRUCTORS, DESTRUCTORS AND OPERATOR OVERLOADING (12 Hrs ) Constructors without parameters - constructors with parameters - multiple constructors - constructors with default arguments - dynamic initialization of objects - copy constructors - dynamic constructors - destructors.

Operator loading - overloading unary operators - overloading binary operators with friends - manipulation of strings using operators; rules for overload ing operators. Conversion of basic data types to class and class to basic data types - conversion of one class to another class. UNIT: IV INHERITANCE, POINTERS AND VIRTUAL FUNCTIONS (12 Hrs ) Inheritance - Defining derived classes - single inheritance - making a private member inheritable - multi-level inheritance - multiple inheritance - hierarchy inheritance -hybrid inheritance - virtual base classes - abstract classes - constructors in derived classes - member classes - nesting of classes polymorphism. Pointers to objects - pointers to derived classes -Virtual functions - Rules for virtual functions - pure virtual functions. UNIT: V CONSOLE I/O AND FILE MANAGEMENT ( 9 Hrs ) I/O operations - streams - stream classes - unformatted I/O - formatted console I/O output with manipulators. Classes for file stream operations - opening and closing a file - detecting end of files - file modes - file pointers and their manipulators - sequential input and output operations - updating a file - error handling. Reference Books : 1. John.R.Hubbard, Ph.D, Schaum s Outlines Programming withc++, Tata McGraw - Hill, 2nd Edition, 2002. 2. Herbert Schilde, C++: The Comlete Reference, Tata McGraw - Hill, 4th Edition. 3. E.Balagurusamy, Object Oriented Programming with C++, Tata McGraw - Hill, 2nd Edition,1998. 4. D.Ravichandran, Programming with C++, Tata McGraw - Hill, 1st Edition, 1999. 5. Ashwant Kanetkar, Let us C++, BPB Publications, New Delhi, 1st Edition. 4204 - ELECTRICAL CIRCUITS AND MACHINES LAB. III TERM ( CORE COURSE) 1. Device an experiment to verify the ohm s law (use standard resistance, ammeter and voltmeter) 2. Device an experiment to verify Kirchoff s laws (use standard resistance, ammeter and voltmeter) 3. Device an experiment to find the reactance and impedance of the given passive element for different frequencies (element inductor and capacitor) 4. Device an experiment to verify superposition Theorem (DC only) 5. Device an experiment to verify Norton s and Thevenin s Theorems (DC only) 6. Device an experiment to verify the maximum power transfer theorem (DC only) 7. Device an experiment to verify Millman s theorem (DC only) 8. Construct a series and parallel resonant circuit and plot the resonance characteristics. Obtain the frequency resonance curve 9. Study the parameters of a sinusoidal signal 10. Obtain the magnetization Characteristics of a DC Shunt Generator 11. Obtain the Load Characteristics of a DC Shunt Generator 12. Find the power input to a DC Motor under no Load and at different loads. 13. Obtain Speed Control of DC Shunt Motor 14. Find the power input to a 3 phase induction Motor using two wattmeter method at no load and any other load.. 15. Find the iron Losses, Copper Losses, and efficiency of a single phase transformer by conducting OC and SC tests. 16. Find the efficiency of single phase transformer by conducting a Load test. 17. Study the Construction of Stepper Motor, Servomotor and tachogenerator. 18. Obtain the Load Characteristic of an alternator. SCHEME OF EXAMINATION 1. Experiments 70 2. Viva Voce 05 Total 75

4205 - ELECTRONIC DEVICES AND COMPONENTS LAB. III TERM ( CORE COURSE ) 1. ISI symbols, specifications and packages diodes (all types) Transistors (PNP, NPN) - Op. Amp.- UJT, SCR, JFET, MOSFET, DIAC, TRIAC Resistors: fixed Variable Resistors, Potentiometers Inductor air core, Ion core adjustable, Variable Capacitor air ganged variable Ammeter Volt meter Wattmeter Neon lamp Pilot lamp Resistor, Capacitor, color coding. Switches fuses 2. V-I characteristics of germanium and silicon signal diode under forward and reverse bias conditions. Determination of cut in voltage, reverse saturation current and dynamic forward resistance. 3. V-I Characteristics of silicon power diode under forward and reverse bias conditions. Determine the cut-in voltage, reverse saturation current and dynamic forward resistance. 4. Input,output, mutual characteristics under Common Emitter configuration. Determination of cut-in voltage, input resistance, current gain and output Admittance. 5. Construct a series connection for a lamp with ON/OFF switch use (fuse, indicator lamp) 6. Input, output, mutual characteristics under Common Base Configuration. Determination of cut-in voltage, input resistance, current gain and output admittance. 7. Plotting of the drain characteristics of FET. Determination of pinch off voltage (Enhancement mode). 8. Plotting of the drain characteristics of MOSFET. Determination of pinch off voltage (Enhancement mode). 9. Plotting of the drain characteristics of MOSFET. Determination of pinch off voltage. (Depletion mode) 10. Plotting the V.I. Characteristic of UJT. Determination of Vp, Vv & Iv. (forward & reverse). 11. Plotting the V.I characteristic of given Zener diode.determination of the forward cut in voltage and forward dynamic resistance. Determination of the reverse breakdown voltage, minimum Zener current and reverse dynamic resistance. 12. Plotting the V-I characteristics of given LED 13. Plotting the V-I characteristics of DIAC. 14. Plotting the V-I characteristic of TRIAC. 15. Plotting the V-I characteristics of SCR for different gate current. 16. Conducting the cold check using Multimeter on the following devices and checking for their conditions such as (1) open or shorted junctions. (2) Identification of anode and cathode of diode. (3) Identification of base, collector and emitter of transistor. (4) Identification of emitter, base 1 and base 2 of UJT and (5) Identification of gate, drain and source of a FET(6)Identification of Anode,Cathode and Gate of SCR. 17. Plotting the V I characteristic of Photodiode. 18. Plotting the V I characteristic of LDR Scheme of Examination 1. Experiments 70 2. Viva Voce 05 Total 75.4206- C++ PROGRAMMING LAB III TERM ( CORE COURSE) 1. Program to calculate simple & compound interest. 2. Program to find the variance and standard deviation of n numbers 3. Program to generate fibonacci series 4. Program to calculate factorial of given number N. 5. Program to add two 2 * 2 matrices and display the resultant matrix 6. Program to find the largest value in an array. 7. Write a function called add to add two integers. Write another function with the same name add to add two floating point values.write a main( ) function to call both these function one by one, giving suitable values for the arguments and print the values returned by the functions 8. Write a function max( ) to find the bigger of the two integers given and return the answer to main() by reference. The max( ) function is to supply two integer values to the main( ) and call it by reference. 9. Write a function power( ) to raise a number m to a power n. the function takes a double for m and int value for n, and returns the result correctly. Use a default value of 2 for n to make the function to calculate squares when this argument is omitted. Write a main that gets the

values of m and n from the user to test the function. 10. create a class item to contain two class data 1)item code (an integer) and 2) item price(an float) write two constructor functions, a no argument constructor to initialise class data with zero values and a constructor with two arguments. To assign values for class data. Write a member function get_data ( ) to read values for class data from the keyboard. Write another member function disp_data( ) to display class data. 11. Write a main( ) function to create two objects in a class. Create the first obiect with the no argument constructor and initialise the data items in it with zeros. Create and initialise the second object with the two arguments constructor. call get_data( ) to read values for object1.call show_data( ) and display the data items in both the objects. 12. Create a class string to contain a class data str(an array of characters). Write two constructor functions, one to initialise str with null string and another to assign str, the given string. Write also member functions concat( ) for concatenating two strings (overloading the + operator) and disp( ) for displaying a string. 13. Write a main( ) function that creates three string objects of the above class. Invoke the member function concat( ) passing two strlings and store the result in the third object. Display all the stings with disp( ) member function. 14. Create a class distance to contain two class data 1) feet (an integer) and 2) inches (a float).write two constructor functions, one to contain only one argument of type float and another to contain two arguments of type int and float. The first construtor function is to convert the given inches into feet and inches. The second constructor function is to assign values for feet and inches. Write also a member function float( ) to convert the given feet and inches into inches and another member function to display the converted value. Write a main( ) function to create two objects of the above class. Invoke the first constructor function to convert the inches in object1 to feet and inches in object2. Convert the feet and inches in object2 into inches using the conversion function float( ). 15. Create a class called stack. The class data are 1) number (an array of integers) and 2) top (an integer). Write a member function push( ) to store the given integer in the array number using top as an index. Write another member function pop( ) to return the last integer in the array number using top as an index and 2) decrement top. Create another class stack2 with two number functions push( ) and pop( ). The push( ) function is to check whether the array is full (or) not. If it is not full, it should call the pop ( ) function of the stack class. Write a main( ) function to create an object of class stack2 and push and pop the integers into the array number. 16. Create a manipulator form to a. display floating point b. replace blank spaces with * and c. display two decimal digits. 17. Create a class student to contain two class data 1)name and 2) rollnumber. Write a member function to store and display the class data. Write a main( ) function to create a class student,dat. Create objects of the above class and store them in the file student.dat and close the file. Open the file again and read back the data items in objects and display them 18. Create a class called employees with class data name (an array of characters) and age (an integer). Write member functions to store and display the class data. Write a main( ) function to create an array of objects and display them using the member functions. SCHEME OF EXAMINATION 1. Programs 70 2. Viva Voce 05 Total 75