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

Similar documents
SRM ARTS AND SCIENCE COLLEGE SRM NAGAR, KATTANKULATHUR

CS 6456 OBJCET ORIENTED PROGRAMMING IV SEMESTER/EEE

Object Oriented Programming with c++ Question Bank

Get Unique study materials from

Jayaram college of Engineering and Technology, Pagalavadi. CS2203 Object Oriented Programming Question Bank Prepared By: S.Gopalakrishnan, Lecturer/IT

JAYARAM COLLEGE OF ENGINEERING AND TECHNOLOGY Pagalavadi, Tiruchirappalli (An approved by AICTE and Affiliated to Anna University)

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

VALLIAMMAI ENGINEERING COLLEGE

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

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

M.C.A DEGREE EXAMINATION,NOVEMBER/DECEMBER 2010 Second Semester MC 9222-OBJECT ORIENTED PROGRAMMING (Regulation 2009)

PROGRAMMING IN C AND C++:

Absolute C++ Walter Savitch

Time : 3 hours. Full Marks : 75. Own words as far as practicable. The questions are of equal value. Answer any five questions.

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

END TERM EXAMINATION

CS 162, Lecture 25: Exam II Review. 30 May 2018

Introduction to Computers and C++ Programming p. 1 Computer Systems p. 2 Hardware p. 2 Software p. 7 High-Level Languages p. 8 Compilers p.

CMSC 202 Section 010x Spring Justin Martineau, Tuesday 11:30am

An Object Oriented Programming with C

Introduction to Programming Using Java (98-388)

Object Oriented Programming

OBJECT ORIENTED PROGRAMMING. Ms. Ajeta Nandal C.R.Polytechnic,Rohtak

Object-Oriented Programming (OOP) Fundamental Principles of OOP

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

Problem Solving with C++

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

Short Notes of CS201

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

OOPS Viva Questions. Object is termed as an instance of a class, and it has its own state, behavior and identity.

CS201 - Introduction to Programming Glossary By

CHOICE BASED CREDIT SYSTEM (With effect from )

SAURASHTRA UNIVERSITY

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

BCA (Part II) EXAMINATION, 2009 C++ PROGRAMMING Time allowed: Three Hours Maximum Marks: 50 Attempt any five questions

Polymorphism. Zimmer CSCI 330

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


For Teacher's Use Only Q No Total Q No Q No

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

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

Paytm Programming Sample paper: 1) A copy constructor is called. a. when an object is returned by value

CGS 2405 Advanced Programming with C++ Course Justification

BEng (Hons) Electronic Engineering. BEng (Hons) Telecommunications. Examinations for / Semester 2

Object Oriented Programming 2012

XII- COMPUTER SCIENCE VOL-II MODEL TEST I

STRUCTURING OF PROGRAM

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

Interview Questions of C++

VALLIAMMAI ENGNIEERING COLLEGE SRM Nagar, Kattankulathur DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING QUESTION BANK

Object Oriented Programming. Solved MCQs - Part 2

Inheritance, and Polymorphism.

BACHELOR OF COMPUTER APPLICATIONS (BCA) (Revised Syllabus)

B.Sc. (Hons.) Computer Science I B.Sc. (Hons.) Electronics. (i) Runtime polymorphism and compile time polymorphism

Cpt S 122 Data Structures. Course Review Midterm Exam # 2

POST GRADUATE DIPLOMA IN LIBRARY AUTOMATION AND NETWORKING (PGDLAN)


PROGRAMMING IN C++ (Regulation 2008) Answer ALL questions PART A (10 2 = 20 Marks) PART B (5 16 = 80 Marks) function? (8)

DHANALAKSHMI COLLEGE OF ENGINEERING, CHENNAI DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING CS6456 OBJECT ORIENTED PROGRAMMING

C++ Important Questions with Answers

Instantiation of Template class

BACHELOR OF COMPUTER APPLICATIONS (BCA)

Advanced C++ Programming Workshop (With C++11, C++14, C++17) & Design Patterns

STUDY NOTES UNIT 1 - INTRODUCTION TO OBJECT ORIENTED PROGRAMMING

Come and join us at WebLyceum

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

Government Polytechnic, Muzaffarpur. Name of the Lab: OBJECT ORIENTED PROGRAMMING

S.No Question Blooms Level Course Outcome UNIT I. Programming Language Syntax and semantics

I BSc(IT) [ Batch] Semester II Core: Object Oriented Programming With C plus plus - 212A Multiple Choice Questions.

Module 1. C++ Classes Exercises

22316 Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs.

CS201 Latest Solved MCQs

Data type of a pointer must be same as the data type of the variable to which the pointer variable is pointing. Here are a few examples:

Chapter 15 - C++ As A "Better C"

CS304 Object Oriented Programming Final Term

More C++ : Vectors, Classes, Inheritance, Templates

Object Orientated Analysis and Design. Benjamin Kenwright

Sri Vidya College of Engineering & Technology

CPSC 427: Object-Oriented Programming

Page. No. 1/15 CS201 Introduction to Programmming Solved Subjective Questions From spring 2010 Final Term Papers By vuzs Team

CS304 Object Oriented Programming

Course Text. Course Description. Course Objectives. StraighterLine Introduction to Programming in C++

5. Give any three parts of the structure of business letter.

CHAPTER 1 Introduction to Computers and Programming CHAPTER 2 Introduction to C++ ( Hexadecimal 0xF4 and Octal literals 031) cout Object

Cpt S 122 Data Structures. Introduction to C++ Part II

More C++ : Vectors, Classes, Inheritance, Templates. with content from cplusplus.com, codeguru.com

CS201 Some Important Definitions

Programming in C# with Microsoft Visual Studio 2010

DEPARTMENT OF INFORMATION TECHNOLOGY

1Z0-808 oracle. Number: 1Z0-808 Passing Score: 800 Time Limit: 120 min.

Ch02. True/False Indicate whether the statement is true or false.

AC55/AT55 OBJECT ORIENTED PROGRAMMING WITH C++ DEC 2013

What are the characteristics of Object Oriented programming language?

MAHALAKSHMI ENGINEERING COLLEGE B TIRUCHIRAPALLI

Quiz Start Time: 09:34 PM Time Left 82 sec(s)

AN OVERVIEW OF C++ 1

(5-1) Object-Oriented Programming (OOP) and C++ Instructor - Andrew S. O Fallon CptS 122 (February 4, 2019) Washington State University

3.Constructors and Destructors. Develop cpp program to implement constructor and destructor.

DEPT : ECE SUB CODE : EC6301

COMP322 - Introduction to C++

Transcription:

No. of Printed Pages : 3 I BCS-031 BACHELOR OF COMPUTER APPLICATIONS (BCA) (Revised) Term-End Examination 05723. June, 2015 BCS-031 : PROGRAMMING IN C ++ Time : 3 hours Maximum Marks : 100 (Weightage 75%) Note : Question no. 1 is compulsory and carries 40 marks. Attempt any three questions from the rest. 1. (a) Explain object oriented concepts. How is object oriented language different from structured programming language? 8 What is inheritance? Explain different types of inheritance supported by C++. 6 (c) Differentiate between default constructor and parameterized constructor with the help of an example. (d) What is an abstract class? How do you create an abstract class? What is the purpose of creating an abstract class in object oriented programming paradigm? Explain with the help of an example. 8 (e) Write a C++ program to add two complex numbers. In this program you need to create complex class and define proper constructor for object initialization. 10 BCS-031 1 P.T.O.

2. (a) What do you understand by friend function? Write a C++ program to find out the sum of n given numbers using friend function. 10 Explain the difference between private, protected and public access specifier with respect to class and its object. Write a program in this support. 10 3. (a) What do you mean by operator-overloading? List the operators which cannot be overloaded. Write a C++ program for unary minus (-) operator overloading. 10 Explain the concept of virtual function with its important characteristics. Write a C++ program to illustrate the importance of pure virtual function. 10 4. (a) What do you mean by this pointer? Explain the use of this pointer with the help of an example. 5 (c) Write a C++ program to display the price-list of five vegetables. Use precision( ) function to set precision 2 for display price. 5 What is function template? Write a function template to swap two given numbers. 10 BCS-031 2

5. (a) What is containership? Write the important containers available in C++ with their importance. 10 What do you mean by exception handling? Write the syntax of try, throw and catch expressions. Write a program to catch all the exceptions in C++ programs. 10 BCS-031 3 6,500

No. of Printed Pages : 3 I BCS-031(S) I BACHELOR OF COMPUTER APPLICATIONS (BCA) (Revised) i u Term-End Examination December, 2016 BCS-031(S) : PROGRAMMING IN C++ Time : 3 hours Maximum Marks : 100 (Weightage : 75%) Note : Question number 1 is compulsory and carries 40 marks. Attempt any three questions from the rest. 1. (a) What is object oriented programming? Explain its advantages over structured programming. 6 Write a C++ program to create a class "Number" with a constructor to initialize the object of "Number" class with one integer value. Define member functions to find the square of a number and for displaying it. 10 (c) What is a constructor? Explain how constructors are overloaded in C++, with the help of an example. 6 BCS-031(S) 1 P.T.O.

(d) (e) (f) Explain any four different data types available in C++. 8 What is a stream manipulator? Explain the use of setw( ) and setprecision( ) as a stream manipulator. 5 Write a C++ program to check whether a given number is an even number or an odd number. 2. (a) Write a C++ program to overload `+' operator to find the sum of two complex, numbers. 12 What is the concept of reusability? Explain how a class is derived from a given class in C++, with the help of an example. 8 3. (a) What is an abstract class? Explain its advantages. How is polymorphism implemented using an abstract class? Give an example. 10 What is an exception? How is it handled M. C++? Write a program demonstrating exception handling in C++. 10 4. (a) What is function overloading? Explain how it is implemented in C++. 10 What is a template class? Explain its advantages. Create a template class for a LinkedList data structure. 10 BCS-031(S ) 2 P.T.O.

5. (a) What is an access specifier? Explain different types of access specifiers available in C++. 5 (c) What is dynamic binding? Explain with the help of an example. 5 Write a C++ program to define a class "Account". Derive a "Saving_Account" class from the Account class. Define appropriate constructors for both the classes. Also define a method to display the account balance. Make necessary assumptions, if required. 10 BCS-031(S) 3 500

No. of Printed Pages : 3 BCS-031 7E; BACHELOR OF COMPUTER APPLICATIONS (BCA) (Revised) Term-End Examination June, 2016. BCS-031 : PROGRAMMING IN C++ Time : 3 hours Maximum Marks : 100 (Weightage : 75%) Note : Question no. 1 is compulsory and carries 40 marks. Attempt any three questions from the rest. 1. (a) What is Software Re-usability? Explain in the context of C++ with an example. 5 (c) (d) Define visibility of a class member. Why are different types of visibility modes needed in derivation of a derived class? Explain C++ streams and stream classes with an example. List the C++ operators that cannot be overloaded. Give reasons for any two of these explaining why they cannot be overloaded. 5 BCS-031 1 P.T.O.

(e) (f) (g) Explain file pointers and operations. Write a C++ program which demonstrates the use of put( ) get( ) and read( ) write( ). 10 Differentiate between information hiding and encapsulation. 5 What do you mean by global variable and local variable in C++? Distinguish with an example. 2. (a) Write a C++ program to demonstrate break and continue statement. 10 Write a C++ program which explains user-defined stream manipulators. 10 3. (a) Distinguish between class templates and function templates, through an example. 10 Write an interactive C++ program which reads two integer numbers x and y, and an operator. It then performs the following operations : (i) (ii) x + y x y (iii) x * y (iv) x / y If any other operator is entered, the program prints out an error message. 10 BCS-031 2

4. (a) What are base and derived classes? Create a base class called Stack and a derived class called Mystack. Write an interactive C++ program to show the operations of a stack. 10 Define Polymorphism. Explain various types of polymorphism with examples. 10 5. (a) Write a C++ program which explains the usage of Try, Throw and Catch. 10 Write a C++ program for finding the difference between two times that are given in 24 hour format. So "19:00:00" "3:30:00" = 15:30:00, while "09:00:00" "13:30:00" = "19:30:00". 10 BCS-031 5,500

No. of Printed Pages : 3 CI 1Es I BCS-031 BACHELOR OF COMPUTER APPLICATIONS (BCA) (Revised) Term-End Examination December, 2015 BCS-031 : PROGRAMMING IN C ++ Time : 3 hours Maximum Marks : 100 (Weightage : 75%) Note : Question no. 1 is compulsory and carries 40 marks. Attempt any three questions from the rest. 1. (a) What is structured programming? Write the disadvantages of structured programming. 5 How do you input non-graphic characters in the C++ programming language? What do these escape sequences represent? 5 (i) \n (ii) a (iii) \v (c) Write a C++ program to demonstrate the use of switch statement. 5 (d) Write the appropriate statements to create a function template printarray that can display the values contained in array passed as parameter to the function. The function must be able to accept integer, float and character arrays as arguments. 10 BCS-031 1 P.T.O.

(e) (f) (g) Describe the concept of classes and objects through examples. 5 What are Container Classes? List the different types of containers and give three examples of each. List any five common examples of exceptions. 2. (a) Consider an example of declaring the examination result of BCA students of IGNOU. Design three classes : Student, Exam and Result. The Student class has data members such as those representing roll no., name, etc. Create the class Exam by inheriting Student class. The Exam class adds fields representing the marks scored in 6 subjects. Derive the Result from the Exam class, and it has its own fields such as total marks. Write an interactive program to model this relationship by showing the three classes. Also, show how you can print out the values of each member of these classes. 10+5=15 Define member function. Explain the purpose of member function. 5 BCS-031 2

3. (a) Define friend function. Discuss memory requirements for classes, objects, data members and member functions with an example. 10 Write a C++ program to print Student details : Student Name, Father's Name, Mother's Name, Student Address, Zip code, Student Roll No. using constructor and destructor. 10 4. (a) Explain briefly the importance of pure virtual function in the software development paradigm. Write a C++ program with abstract class having pure virtual function. 10 Explain exceptions in C++ program through an example. 10 5. (a) Explain Inheritance and Multi-Inheritance with an example. Write a C++ program which has Inheritance and Multi-Inheritance. 10 Define Operator Overloading. Write the general rules for Operator Overloading. 10 BCS-031 3 11,000

No. of Printed Pages : 3 I BCS-0311 BACHELOR OF COMPUTER APPLICATIONS (BCA) (Revised) Term-End Examination De December, 2016 BCS-031 : PROGRAMMING IN C++ Time : 3 hours Maximum Marks : 100 (Weightage : 75%) Note : Question no. 1 is compulsory and carries 40 marks. Attempt any three questions from the rest. 1. (a) Explain the basic features of an object-oriented language. Why did people change over from structured programming to object-oriented programming? (c) Abstract class provides a base upon which other classes may be built. Justify the above statement with the help of an example. 5 What do you mean by inheritance? Explain the advantages of using multiple inheritance in C++ with the help of an example. 7 BCS-031 1 P.T.O.

(d) (e) (f) Explain the importance of a constructor in object-oriented programming. Differentiate between copy constructor and default constructor in C++ with the help of an example. 7 What is function overloading? Give its advantages in a C++ program. Also write a C++ program to show function overloading. How does a virtual function differ from a pure virtual function? Also give an example of a pure virtual function. 6 2. (a) What is exception handling? What is the sequence of events when an exception occurs? Write a C++ program that uses exception handling to handle the errors caused, when a number is divided by zero. 10 Differentiate among private, public and protected access modifiers. Also explain their meaning when a derived class inherits from a base class using public, protected or private keywords, with the help of an example. 10 3. (a) Write a program to add two complex numbers by using binary operator overloading. Write comments in the program wherever it is required, to give more clarity to the program. 10 BCS-031 2

(c) Write a program in C++ to calculate the factorial of a given number. 5 Explain the association of dynamic binding and run-time polymorphism, with example. 5 4. (a) How is unformatted I/O different from formatted I/0? Explain. 5 (c) Write a C++ program to create a Book class. Define constructor and destructor for this class. Also define the methods to show the title and price of the books. Explain the use of the following operators in C++ : (i) &?: (iv) && Write short notes on the following : 4 x5=20 (a) (c) (d) New and Delete Operator Parameterized Constructor Class Template Pure Virtual Function BCS-031 3 9,000

No. of Printed Pages : 3 I BC S-031 I BACHELOR OF COMPUTER APPLICATIONS (BCA) (Revised) Term-End Examination June, 2017 BCS-031 : PROGRAMMING IN C++ Time : 3 hours Maximum Marks : 100 (Weightctge : 75%) Note : Question no. 1 is compulsory and carries 40 marks. Attempt any three questions from the rest. 1. (a) Why are object oriented programming languages more popular than structured programming languages? Differentiate between structured and object oriented programming languages. (c) Explain ambiguity resolution in multiple inheritance. What happens if we don't use a virtual function in the inheritance? Write a C++ program to create a matrix class. Define constructor and destructor for this class. Also define a method to find the sum of two matrices. 10 BCS-031 1 P.T.O.

(d) (e) (f) Define the Standard Template Library. How is the class template different from the function template? Explain. 6 Differentiate between private, protected and public access modifiers with the help of an example for each. 6 How is constructor different from the `constructor with argument'? Explain by using an example. 6 2. (a) Write a program to demonstrate the catching of all exceptions. What happens when a raised exception is not caught by catch-block (in the absence of catching all exception blocks)? 10 Write a program to implement the overloading of «operator. 10 3. (a) How do we declare static class data? Explain the syntax and rules to define static class data. 5 Write a short program to implement the concept of passing object as argument. 5 BCS-031 2

(c) Write the general form of the user-defined manipulators. Design a single manipulator format to provide the following output specifications for printing float values : 10 (i) (ii) 10 column width Right Justified (iii) Two-digit precision (iv) Filling of unused places with * (v) Trailing zeroes shown 4. (a) What is the importance of Abstract Class? Write a program to implement the concept of abstract class in C++. Also explain why an abstract class cannot be instantiated. 10 Write a program to calculate the factorial of a given number by using copy constructor. Also write comments in your program wherever required. 10 5. Write short notes on the following : 4 x 5=20 (a) (c) (d) Destructor Pure Virtual Function Friend Function Multiple Inheritance BCS-031 3 3,500

No. of Printed Pages : 4 I BCS-031 BACHELOR OF COMPUTER APPLICATIONS (BCA) (Revised) Term-End Examination 1:316-7 44O December, 2017 BCS-031 : PROGRAMMING IN C++ Time : 3 hours Maximum Marks : 100 (Weightage : 75%) Note : Question no. 1 is compulsory and carries 40 marks. Attempt any three questions from the rest. 1. (a) What do you mean by Abstraction and Encapsulation? How are the two terms interrelated? 4 (c) What is a Reference Variable? What is its usage? Identify the errors in the following code segment : 4 int main( ) cout «"Enter two numbers"; cin» num» auto; float area = length * breadth; BCS-031 1 P.T.O.

(d) Why will the function given in the following code fragment not work? What should be done to make it work? int main( ) float sum (float, float); void calc(void) float x, y, s; cin» x» y s = sum (x, y); (e) (f) (g) What is a Friend Function? What is the significance of friend functions? 4 What do you mean by Static Data Members of a class? Explain the characteristics of static data members. 4 What do you understand by a Default Constructor? How is a default constructor equivalent to a constructor with default arguments? 4 BCS-031 2

(h) (i) (j) What is Function Overloading? Compare default arguments with function overloading. When should one derive a class publicly or privately? Give a suitable example in support of your answer. What are Iterators? List the five types of iterators supported by STL in C++. 4 2. (a) How does the functioning of a function differ when (i) an object is passed by value? (ii) an object is passed by reference? 7 (c) What is Operator Overloading? List the operators which cannot be overloaded. Give reasons behind it. 7 What is 'this' Pointer? Explain the significance of 'this' pointer with the help of an example. 6 3. (a) What is the difference between call-by-value and call-by-reference in a user defined function in C++? Give an example to illustrate the difference. 10 What is Message Passing? Explain how message passing is used in C++ programming with example. 10 BCS-031 3 P.T.O.

4. (a) What is the difference between overloading and overriding concepts in C++? Explain the usage of these concepts with suitable example code in C++. 10 What is an Exception in C++? Explain how exception handling is done in C++ with the help of a program. What will happen if exception is thrown outside of a try block? Give reasons for such a happening. 10 5. (a) Write a program in C++ to create a class Employee with basic data members such as name, address, age. Create a class Part_time employee which inherits from the Employee class. Part_time class should have a function to display the name, address and payment of the part-time employee. 10 Write a program in C++ to simulate the environment of a simple calculator. 10 BCS-031 4 15,000

No. of Printed Pages : 4 BCS-031(S) BACHELOR OF COMPUTER APPLICATIONS (BCA) (Revised) 0 02 5 4 Term-End Examination December, 2017 BCS -031(S) : PROGRAMMING IN C++ Time : 3 hours Maximum Marks : 100 (Weightage : 75%) Note : Question number 1 is compulsory and carries 40 marks. Attempt any three questions from the rest. 1. (a) What is the difference between a keyword and an identifier? Write a simple program in C++ to show these two concepts. 4 What are data modifiers? How do they affect the base data type? Give suitable example. 4 (c) Given the following code fragment : int ch = 20; cout «++ch «"\ n" «ch «"\n"; (i) (ii) What output does the above code fragment produce? What is the effect of replacing ++ch with ch + 1? 4 BCS-031(S) 1 P.T.O.

(d) Identify the problem with the following code. Suggest the way to correct the problem. 4 void large (int &a, int &b); int main( ) { large (5, 7); } void large (int &a, int &b) { if (a > b) else a = 1; b = 1; } (e) What are inline functions? Give the advantages and disadvantages of an inline function. 4 (0 How is the working of a member function different from a friend function and a non-member function? 4 (g) (h) (i) (j) What is a Copy Constructor? Discuss the situations when a copy constructor is automatically invoked. 4 Explain any four benefits of object oriented programming. 4 What is an Object? Explain with an example, how an object is instantiated. 4 Can a derived class get access privilege for a private member of the base class? If yes, how? BCS-031(S) 2 P.T.O.

2. (a) What is Abstract Class? Explain the use of abstract class in C++, with the help of an example program. 10 What is an Exception? Explain briefly about the exception handling process while executing constructors and destructors. Also explain with an example, how exception types are specified in a C++ program. 10 3. (a) Differentiate between any two of the following : 5 (i) (ii) ios : : ate and ios : : app Binary file and Text file (iii) get( ) and getline( ) (c) What is a Pure Virtual Function? Explain the characteristics of a pure virtual function with the help of an example. 8 What is a stream in C++? Name the streams generally used for file 1/0. Give their utility in a C++ program. 4. (a) What is a Template Class? Give the advantages of a template class. Create a template class for linked-list data structure. 10 How are function calls matched with overloaded functions in C++? Explain with the help of a program in C++. 10 BCS-031(S) 3 P.T.O.

5. (a) Write a program in C++ to open an existing file and insert the text "File program in C++" at the end of it. Your program should have suitable comments for each line of code. 10 Write a program in C++ to multiply two complex numbers. In this program you need to create a complex class and define a proper constructor for object initialization. 10 BCS-031(S) 4 500