1.
Write a program to draw a using DDA line drawing algorithm.
Write a C++ program to perform following operations on the strings.
= = Equality B) = String copy C) << Display a string
Design a base class with name, date of birth, blood group and another base class consisting of the data members such as height and weight. Design one more base class consisting of the insurance policy number and contact address. The derived class contains the data member’s telephone numbers and driving license number.Write a menu driven program to carry out the following things:
Build a master table B) Display C) Modify
2.
Write a program to draw a using Bresenham’s line drawing.
Write a C++ program to perform following operations on the strings.
+ Concatenation B) << Display a string C) >> Reverse String
Design a base class with name, date of birth, blood group and another base class consisting of the data members such as height and weight. Design one more base class consisting of the insurance policy number and contact address. The derived class contains the data member’s telephone numbers and driving license number.
Write a menu driven program to carry out the following things:
Build a master table B) Display C) Delete entry
3.
Write a program to implement algorithm for Bresenham’s Circle drawing.
Write a C++ program to perform following operations on the strings.
A) >> Reverse String B) << Display a String C) Palindrome
Design a base class with name, date of birth, blood group and another base class consisting of the data members such as height and weight. Design one more base class consisting of the insurance policy number and contact address. The derived class contains the data member’s telephone numbers and driving license number.
Write a menu driven program to carry out the following things:
A) Build a master table B) Display C) Search for a record
4.
Write a program to implement following 2D transformation:-Translation.
Write a C++ program to perform following operations on the strings.
A) = Equality B) Substring C) << Display a String
Design a base class with name, date of birth, blood group and another base class consisting of the data members such as height and weight. Design one more base class consisting of the insurance policy number and contact address. The derived class contains the data member’s telephone numbers and driving license number.
Write a menu driven program to carry out the following things:
A) Build a master table B) Display C) Modify
5.
Write a program to implement following 2D transformation:-Scaling.
Create a class named weather report that holds a daily weather report with data members day_of_month, hightemp, lowtemp, amount_rain and amount_snow. The constructor initializes the fields with default values: 99 for day_of_month, 999 for hightemp, -999 for low temp and 0 for amount_rain and amount_snow. Include a function that prompts the user and sets values for each field so that you can override the default values. Write a program that creates a monthly report.
A) Add B) Display C) Delete
Design a base class with name, date of birth, blood group and another base class consisting of the data members such as height and weight. Design one more base class consisting of the insurance policy number and contact address. The derived class contains the data member’s telephone numbers and driving license number.
Write a menu driven program to carry out the following things:
Build a master table B) Display C) Delete entry
6.
Write a program to implement following 2D transformation:-Rotation about origin for clockwise as well as anticlockwise
Create a class named weather report that holds a daily weather report with data member’s day_of_month, hightemp, lowtemp, amount_rain and amount_snow. The constructor initializes the fields with default values: 99 for day_of_month, 999 for hightemp, -999 for low temp and 0 for amount_rain and amount_snow. Include a function that prompts the user and sets values for each field so that you can override the default values. Write a program that creates a monthly report.
Add B) Display C) Search
Design a base class with name, date of birth, blood group and another base class consisting of the data members such as height and weight. Design one more base class consisting of the insurance policy number and contact address. The derived class contains the data member’s telephone numbers and driving license number.
Write a menu driven program to carry out the following things:
A) Build a master table B) Display C) Search for a record
7.
Write a program to implement following 2D transformation:-Rotation about an arbitrary point for clockwise as well as anticlockwise
Design a Class ‘Complex ‘with data members for real and imaginary part. Provide default and parameterized constructors. Write a program to perform arithmetic operations of two complex numbers using operator overloading (using either member functions or friend functions).
Develop an object oriented program in C++ to create a database of the personnel information system containing the following information: Name, Date of Birth, Blood group ,Height, Weight, Insurance Policy number, Contact address ,telephone number, driving license no. etc Construct the database with suitable member functions for initializing and destroying the data viz constructor, default constructor ,copy constructor, destructor, static member functions, friend class, this pointer, inline code and dynamic memory allocation operators-new and delete. A) Add B) Display C) Delete
8.
Write a program to implement following 2D transformation:-Shearing X-shear as well as Y-shear
Write a C++ program to perform following operations on the strings.
A) == Equality B) = String Copy C) << Display a String
Develop an object oriented program in C++ to create a database of the personnel information system containing the following information: Name, Date of Birth, Blood group ,Height, Weight, Insurance Policy number, Contact address ,telephone number, driving license no. etc Construct the database with suitable member functions for initializing and destroying the data viz constructor, default constructor ,copy constructor, destructor, static member functions, friend class, this pointer, inline code and dynamic memory allocation operators-new and delete. A) Add B) Modify C) Display
9.
Write a program to implement following 2D transformation:-Reflection about X- axis and Y-axis
Write a C++ program to perform following operations on the strings.
+ Concatenation B) << Display a String C) >> Reverse String
Develop an object oriented program in C++ to create a database of the personnel information system containing the following information: Name, Date of Birth, Blood group ,Height, Weight, Insurance Policy number, Contact address ,telephone number, driving license no. etc Construct the database with suitable member functions for initializing and destroying the data viz constructor, default constructor ,copy constructor, destructor, static member functions, friend class, this pointer, inline code and dynamic memory allocation operators-new and delete. A) Add B) Display C) Search
10.
Write a program to implement following 2D transformation:-Reflection about Origin and Y=X axis
Write a C++ program to perform following operations on the strings.
A) << Display a String B) >> Reverse String C) Palindrome
Create a class named weather report that holds a daily weather report with data members day_of_month, hightemp, lowtemp, amount_rain and amount_snow. The constructor initializes the fields with default values: 99 for day_of_month, 999 for hightemp, -999 for low temp and 0 for amount_rain and amount_snow. Include a function that prompts the user and sets values for each field so that you can override the default values. Write a program that creates a monthly report.
A) Add B) Display C) Delete
11.
Write a program to fill a polygon using Scan line Polygon filling Algorithm..
Write a C++ program to perform following operations on the strings.
A) = Equality B) << Display a String C) Substring
Design a Class ‘Complex ‘with data members for real and imaginary part. Provide default and parameterized constructors. Write a program to perform arithmetic operations of two complex numbers using operator overloading (using either member functions or friend functions).